Skip to content

Commit

Permalink
Merge pull request #2092 from timbeadle/build/remove-eslint-plugins
Browse files Browse the repository at this point in the history
build: Remove eslint plugins
  • Loading branch information
timbeadle authored Aug 5, 2024
2 parents 7ca67c6 + 310ebe7 commit 4e4912c
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 553 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ env:
es6: true
extends:
- xo
- plugin:import/recommended
parserOptions:
ecmaVersion: 2021
sourceType: module
plugins:
- import
- redos
rules:
arrow-parens: 0
object-curly-spacing: 0
import/no-unresolved: [2]
redos/no-vulnerable: error
overrides:
- files:
- "**/*.spec.js"
rules:
redos/no-vulnerable: 'off'
1 change: 0 additions & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ export const checkFile = (filePath) => {

// Checks include '$path'; (inside <cfscript>)
// @TODO fix vulnerable RegExp
// eslint-disable-next-line redos/no-vulnerable
const includeMatches = matchAll(line, /\binclude\s['"](?<path>.*\.cfm)['"]/g);

for (const includeMatch of [...cfIncludeMatches, ...includeMatches]) {
Expand Down
Loading

0 comments on commit 4e4912c

Please sign in to comment.