Closed cthacker-udel closed 11 months ago
Duplicate of #131
I updated eslint-plugin-security to the most recent version, and changed my extends to have the value "plugin:security/recommended-legacy"
in it's array, such as:
extends: ["plugin:security/recommended-legacy"]
and now I get the error: Failed to load config "plugin:security/recommended-legacy" to extend from.
, any idea why?
What version of eslint-plugin-security are you using?
2.0.0 and 2.1.0
ESLint Environment
Node version: 20.9.0 npm version: 10.1.0 Local ESLint version: 8.56.0 Global ESLint version: 8.56.0 Operating System: Windows
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
NextJS application, running `npm run lint` command which runs `next lint`. Next version 14.0.4npm run lint
next lint
Raw Eslint Log:
I had to downgrade eslint-plugin-security down to version 1.7.0 in order to fix bug.
What did you expect to happen?
Successfully lint files with known errors, and display those errors in the console.
What actually happened?
Eslint crashed due to this circular bug listed above.
Participation
Additional comments
No response