Skip to content

Commit

Permalink
Add eslint-plugin-node for 'node/no-deprecated-api' rule
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Mar 2, 2017
1 parent 5071ba1 commit 62fd746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

"plugins": [
"import",
"node",
"promise",
"standard"
],
Expand Down Expand Up @@ -179,6 +180,8 @@
"import/no-duplicates": "error",
"import/no-webpack-loader-syntax": "error",

"node/no-deprecated-api": "error",

"promise/param-names": "error",

"standard/array-bracket-even-spacing": ["error", "either"],
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"devDependencies": {
"eslint": "^3.8.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.1.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^2.0.1",
"tape": "^4.6.0"
Expand Down Expand Up @@ -49,6 +50,7 @@
"peerDependencies": {
"eslint": ">=3.8.1",
"eslint-plugin-import": ">=2.2.0",
"eslint-plugin-node": ">=4.1.0",
"eslint-plugin-promise": ">=3.5.0",
"eslint-plugin-standard": ">=2.0.1"
},
Expand Down

0 comments on commit 62fd746

Please sign in to comment.