Replies: 10 comments
-
personal configuration has been deprecated since eslint v7: https://eslint.org/docs/user-guide/configuring/configuration-files#personal-configuration-files-deprecated please use the --config CLI option instead. |
Beta Was this translation helpful? Give feedback.
-
It's the same problem using
|
Beta Was this translation helpful? Give feedback.
-
maybe need to install |
Beta Was this translation helpful? Give feedback.
-
Isn't that what that does? If not, how do I do that? |
Beta Was this translation helpful? Give feedback.
-
try |
Beta Was this translation helpful? Give feedback.
-
My home directory has to be an npm package in order for it to work? That doesn't seem like a good solution. |
Beta Was this translation helpful? Give feedback.
-
just a workaround, and I agreed it's not ideal. In the early eslint, global-install usage was supported, but it's not well-designed and problematic. another way is to use the option --resolve-plugins-relative-to. |
Beta Was this translation helpful? Give feedback.
-
I run yarn list v1.22.19
├─ @typescript-eslint/eslint-plugin@6.6.0
├─ @typescript-eslint/parser@6.6.0
└─ eslint-config-react-app@7.0.1
├─ @typescript-eslint/eslint-plugin@5.62.0
└─ @typescript-eslint/parser@5.62.0 |
Beta Was this translation helpful? Give feedback.
-
For anyone reading this in the future: I fixed this by installing/upgrading/migrating to eslint v9, using the migrate script to convert to a new config. Wasn't flawless but worked ok. |
Beta Was this translation helpful? Give feedback.
-
Totally frustrating, I can't find a solution for this. I just disabled LintLens for now. |
Beta Was this translation helpful? Give feedback.
-
Environment
Node version: 16.14.2
npm version: 8.5.0
Local ESLint version: 8.13.0
Global ESLint version: 8.13.0
Operating System: Ubuntu 20.04
What parser are you using?
@typescript-eslint/parser
What did you do?
What did you expect to happen?
no error
What actually happened?
Participation
Additional comments
I'm trying to use the .eslintrc.json in my user home folder.
I install the requested package (both with and without
-g
) and it still keeps giving the same error.Beta Was this translation helpful? Give feedback.
All reactions