Skip to content

Commit

Permalink
Merge pull request #1519 from standard/eslint7
Browse files Browse the repository at this point in the history
Upgrade to ESLint 7
  • Loading branch information
feross committed Oct 21, 2020
2 parents 33216fb + c547261 commit 523f004
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,8 +1,8 @@
language: node_js
node_js:
- 8.10.0
- 8
- 10.12.0
- 10
- 12
- 14
cache:
npm: false
4 changes: 2 additions & 2 deletions bin/cmd.js
Expand Up @@ -4,8 +4,8 @@ var match = process.version.match(/v(\d+)\.(\d+)/)
var major = parseInt(match[1], 10)
var minor = parseInt(match[2], 10)

if (major >= 9 || (major === 8 && minor >= 10)) {
if (major >= 12 || (major === 10 && minor >= 12)) {
require('standard-engine').cli(require('../options'))
} else {
console.error('standard: Node 8.10.0 or greater is required. `standard` did not run.')
console.error('standard: Node 10.12.0 or greater is required. `standard` did not run.')
}
18 changes: 9 additions & 9 deletions package.json
Expand Up @@ -12,29 +12,29 @@
"url": "https://github.com/standard/standard/issues"
},
"dependencies": {
"eslint": "~6.8.0",
"eslint": "~7.0.0",
"eslint-config-standard": "14.1.1",
"eslint-config-standard-jsx": "8.1.0",
"eslint-plugin-import": "~2.18.0",
"eslint-plugin-node": "~10.0.0",
"eslint-plugin-import": "~2.20.2",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-react": "~7.14.2",
"eslint-plugin-react": "~7.19.0",
"eslint-plugin-standard": "~4.0.0",
"standard-engine": "^12.0.0"
"standard-engine": "^12.0.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"cross-spawn": "^7.0.0",
"cross-spawn": "^7.0.2",
"eslint-index": "^1.3.0",
"hallmark": "^2.0.0",
"minimist": "^1.2.2",
"mkdirp": "^1.0.3",
"mkdirp": "^1.0.4",
"run-parallel-limit": "^1.0.3",
"standard-packages": "^3.6.1",
"tape": "^4.6.0"
"tape": "^5.0.0"
},
"engines": {
"node": ">=8.10.0"
"node": "^10.12.0 || >=12.0.0"
},
"homepage": "https://standardjs.com",
"keywords": [
Expand Down

0 comments on commit 523f004

Please sign in to comment.