Skip to content

Commit

Permalink
feat: add eslint-plugin-security (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
capitnflam committed Mar 16, 2024
1 parent 5bca4e1 commit e7f8c2e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 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
Expand Up @@ -23,6 +23,7 @@
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-security": "2.1.1",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-xss": "0.1.12"
Expand Down
1 change: 1 addition & 0 deletions src/configs/recommended.ts
Expand Up @@ -10,6 +10,7 @@ export const recommended: ESLintConfig = {
'plugin:import/typescript',
'plugin:unicorn/recommended',
'plugin:sonarjs/recommended',
'plugin:security/recommended-legacy',
'prettier',
],
parser: '@typescript-eslint/parser',
Expand Down

0 comments on commit e7f8c2e

Please sign in to comment.