Skip to content

Commit

Permalink
chore: require at least node 8 (#16)
Browse files Browse the repository at this point in the history
* chore: support node 12 and requires at least node 8

* chore: ignore nyc logs and package-lock

* feat: support ES2018

* Revert "feat: support ES2018"

This reverts commit 0ea47cc.

* fix: don't specify ecmaversion

* eslint-plugin-node@9 adds ecmaversion 2019 by default
* https://github.com/mysticatea/eslint-plugin-node/tree/v9.0.0#-configs
  • Loading branch information
curbengh authored and tomap committed Jul 10, 2019
1 parent e12fbcb commit d350b33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules/
tmp/
*.log
.idea/
coverage/
.nyc_output/
package-lock.json
3 changes: 0 additions & 3 deletions eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,5 @@ module.exports = {
env: {
node: true,
es6: true
},
parserOptions: {
ecmaVersion: 6
}
};
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
],
"license": "MIT",
"peerDependencies": {
"eslint": ">= 3.1.0"
"eslint": ">= 5.0.0"
},
"dependencies": {
"eslint-plugin-node": "^5.2.1"
"eslint-plugin-node": "^9.1.0"
},
"engines": {
"node": ">=8.6.0"
}
}

0 comments on commit d350b33

Please sign in to comment.