-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unable to run grunt-eslint with version 25.0.0 - "Could not find config file. Use --force to continue." #176
Comments
No, that is not correct. Your problem is probably this:
|
Thanks for the tip. Has that changed since 24.3.0? Everything was working
fine for us at the previous version.
Sindre Sorhus ***@***.***> schrieb am Di., 7. Mai 2024, 19:17:
… No, that is not correct.
------------------------------
Your problem is probably this:
If you want to use non-flat config, you need to pass the
ESLINT_USE_FLAT_CONFIG environment variable
<https://eslint.org/blog/2024/04/eslint-v9.0.0-released/#flat-config-is-now-the-default-and-has-some-changes>
—
Reply to this email directly, view it on GitHub
<#176 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEK5XWWTSJTEVIYNVPZ3TZBEEBPAVCNFSM6AAAAABHK4QCJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYHEZTOMRXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I created a skeleton project that reproduces the issue: https://github.com/codders/grunt-eslint-176/ From what I can see, setting the |
I had the same issue and fixed it by migrating my old config to the new flat config format. They now provide a command that can pretty much do it for you:
|
Hi there,
I've just upgraded from v24.3.0 to v25.0.0 with
npm i [email protected]
. This pulls in the tgz from registry.npmjs.org (with hashsha512-JIV5IPgOuacorFLmYtUTq0n+0qGIL9FSQJ4KVnNfCg/8Fm+K1t6OWrzXXI8TxWTwq2K9E3parFVXCpn1sGLbKQ==
), but that archive is only 2.5k zipped and contains just 4 files.The file for download from the Github releases package is 50k zipped with a
sha512sum
of591c37fccae5365d8e82d9738de855ce7ce2a60928802cdff46225b28727faca227245fdfb5fdc66ce9bf2189d309d582ab0eb7cdf984af7fb68a665aa092bef
.Because
conf/eslint.js
is missing from the npm archive,eslint
cannot find the config file and an error occurs.Can you re-upload the package or bump the version?
The text was updated successfully, but these errors were encountered: