-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Key "plugins": Cannot redefine plugin "@typescript-eslint" #97
Comments
you can remove tseslint - it has been included in |
Hi @aladdin-add, yarn eslint src
yarn run v1.22.22
$ /Users/danielezurico/Documents/Projects/dcx-react-library/node_modules/.bin/eslint src
Oops! Something went wrong! :(
ESLint: 8.57.0
You are linting "src", but all of the files matching the glob pattern "src" are ignored.
If you don't want to lint these files, remove the pattern "src" from the list of arguments passed to ESLint.
If you do want to lint these files, try the following solutions:
* Check your .eslintignore file, or the eslintIgnore property in package.json, to ensure that the files are not configured to be ignored.
* Explicitly list the files from this glob that you'd like to lint on the command-line, rather than providing a glob as an argument.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. I don't have a |
note it has been deprecated, and we may remove it from the list later. |
I think I'll really wait before doing any upgrade ... it looks quite broken at the moment and packages deprecated that will be removed |
Environment
Node version: v20.11.1
npm version: 10.2.4
Local ESLint version: 8.57.0
Global ESLint version: -
Operating System: OS 14.4.1
What parser are you using?
Default (Espree)
What did you do?
I followed the getting started configuration: https://eslint.org/docs/latest/use/getting-started and after it finishes the packages of my library are:
What did you expect to happen?
to does the lint
What actually happened?
but it's throwing an error:
Link to Minimal Reproducible Example
https://github.com/Capgemini/dcx-react-library/tree/feat/eslint-2
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: