Skip to content

Commit

Permalink
Merge pull request #4 from stgogm/master
Browse files Browse the repository at this point in the history
Added Node Security Plugin
  • Loading branch information
tomcastro authored Feb 5, 2021
2 parents 985d188 + be44219 commit d786526
Show file tree
Hide file tree
Showing 4 changed files with 690 additions and 168 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Copy the following config to your `.eslintrc` file, changing the settings as you
"extends": [
"rokket-labs",
"plugin:@typescript-eslint/recommended",
"plugin:security-node/recommended",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
plugins: ['import', 'simple-import-sort'],
plugins: ['import', 'simple-import-sort', 'security-node'],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
"prettier-eslint": "^12.0.0"
},
"dependencies": {
"eslint": "^7.12.1",
"eslint": "^7.19.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.10.0",
"eslint-plugin-security-node": "^1.0.14",
"eslint-plugin-simple-import-sort": "^6.0.1",
"prettier": "^2.1.2",
"prettier-eslint": "^12.0.0"
Expand Down
Loading

0 comments on commit d786526

Please sign in to comment.