Skip to content

Commit

Permalink
Merge pull request #102 from tjenkinson/redos-plugin
Browse files Browse the repository at this point in the history
Add eslint-plugin-redos-detector plugin
  • Loading branch information
tjenkinson authored Feb 4, 2022
2 parents 0fb0831 + d02e97d commit 74dc64f
Show file tree
Hide file tree
Showing 4 changed files with 1,018 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"plugins": ["redos-detector"],
"rules": {
"redos-detector/no-unsafe-regex": "error"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: ['10', '12', '15']
node-version: ['14', '16']

steps:
- uses: actions/checkout@v2
Expand Down
Loading

0 comments on commit 74dc64f

Please sign in to comment.