-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: --inspect-config should always download the latest @eslint/config-inspector? #18481
Comments
like @eslint/create-config (eslint#18369), it may use an outdated version, this commit forces to use latest version. fixes eslint#18481
like @eslint/create-config (eslint#18369), it may use an outdated version, this commit forces to use the latest version. fixes eslint#18481
For future reference, should "ESLint Config Inspector" issues be posted to Previously: |
Usually to the |
* fix: use `@eslint/config-inspector@latest` like @eslint/create-config (#18369), it may use an outdated version, this commit forces to use the latest version. fixes #18481 * Update docs/src/use/command-line-interface.md Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> --------- Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Strange. We've now changed |
related: eslint/eslint#18481 fixes #44
Yeah, I was also really surprised… anyway, thanks for picking this up so quickly! |
@silvenon can you please try again with ESLint v9.4.0? |
Environment
Node version: v20.13.1
npm version: v10.5.2
Local ESLint version: v9.2.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 23.5.0
What parser are you using?
Default (Espree)
What did you do?
Configuration
I wanted to see my configuration, so I ran:
which I suppose runs
npx @eslint/config-inspector
.What did you expect to happen?
I expected to see my configuration open in the browser.
What actually happened?
I got an error that my config wasn't found and that ESLint itself wasn't found. Running
npx @eslint/config-inspector
didn't help either.However, what did fix the problem was running:
I first thought that this was because it installed a newer version of
@eslint/config-inspector
, but both versions of the inspector were v0.4.8.So I'm not sure why this fixes my problem.
Link to Minimal Reproducible Example
https://github.com/silvenon/repro/tree/eslint-v9-inspect-config
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: