-
Notifications
You must be signed in to change notification settings - Fork 2.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
@nx/eslint Unknown options: reportUnusedDisableDirectives after upgrading to eslint 8.56.0 #20943
Comments
Seeing this issue as well. Seems to be happening due to the option here - https://github.com/nrwl/nx/blob/master/packages/eslint/src/executors/lint/utility/eslint-utils.ts#L52-L53 |
Until this issue has been resolved, does anyone know of a workaround? Is there a way to remove this option in our ESLint configuration files or something? |
Downgrade ESLint to |
If you want to be on the latest eslint 8.56.0 version till there's a Nx fix for this, I was able to get it to work by using
|
This would be the proper workaround to do it outside of "lint": {
"command": "eslint .", // lint everything at the current working directory
"options": {
"cwd": "{projectRoot}", // this tells the above command to run in your project's folder
}
} |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Expected Behavior
@nx/eslint 17.2.8 and eslint 8.56.0 work same after upgrading.
GitHub Repo
No response
Steps to Reproduce
have on a private repo right now, will look into a public one
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
only happens after upgrading to eslint 8.56.0 using flag config
The text was updated successfully, but these errors were encountered: