Skip to content

Commit

Permalink
chore: eslint-plugin-redos
Browse files Browse the repository at this point in the history
  • Loading branch information
tomo-kn committed Dec 4, 2023
1 parent 38fac35 commit 54772da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:redos/recommended",
"prettier",
],
rules: {
Expand Down Expand Up @@ -67,4 +68,12 @@ module.exports = {
},
],
},
overrides: [
{
files: ["**/*.test.ts"],
rules: {
"redos/no-vulnerable": "off",
},
},
],
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
"babel-jest": "^29.5.0",
"benchmark": "^2.1.4",
"dependency-cruiser": "^9.19.0",
"eslint": "^8.11.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-redos": "^4.4.5",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^7.0.4",
Expand Down

0 comments on commit 54772da

Please sign in to comment.