Skip to content

Commit

Permalink
fix: move security plugin recommended rules into config
Browse files Browse the repository at this point in the history
  • Loading branch information
kbshl committed Dec 21, 2018
1 parent 810cfaa commit 3d9751f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ module.exports = {
},
extends: [
'airbnb-base',
'plugin:security/recommended',
'plugin:promise/recommended',
'./import/index.js',
'./security/index.js',
'./import/index.js',
// Disable ESLint rules that conflicting with Prettier
'prettier',
],
Expand Down
1 change: 1 addition & 0 deletions security/no-rules-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
extends: ['plugin:security/recommended'],
env: {
es6: true,
},
Expand Down

0 comments on commit 3d9751f

Please sign in to comment.