Skip to content

Commit

Permalink
Add ESLint eslint-plugin-node plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwb committed Oct 26, 2017
1 parent bb7a50d commit da5f6df
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 29 deletions.
6 changes: 5 additions & 1 deletion eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"parserOptions": {
"ecmaVersion": 6
},
Expand All @@ -9,6 +12,7 @@
"node": true
},
"plugins": [
"node",
"sort-requires"
],
"rules": {
Expand Down
76 changes: 48 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"watch": "jest --watch"
},
"dependencies": {
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-sort-requires": "^2.1.0"
}
}

0 comments on commit da5f6df

Please sign in to comment.