-
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
ES Lint not setup correctly on new project #28971
Comments
I've been struggling against this error, but have just found this issue. There seems to be an incompatibility / breaking change in eslint 9.15. typescript-eslint/typescript-eslint#10338 remove the ^ from the eslint entry in package.json to pin the version and it seems to work fine. |
@bonejon - Thanks for the advice. My current version was |
After upgrading to
After downgrading to Based on the following configuration
UPDATE It is working after updating
|
Yes this is fixed in the canary of typescript-eslint. I believe fix will land later today. |
Current Behavior
When creating a new workspace ES Lint gives me errors. This occurs not only in Webstorm but also on the command line. I've tried this with a React project as well as a NestJS project. I'm not sure what is going on here. The following are steps to reproduce.
NX Version:
v20.1.2
Error
Expected Behavior
I would expect ES lint to work out of the box without further configuration
GitHub Repo
No response
Steps to Reproduce
Create Workspace:
npx create-nx-workspace --pm pnpm
Follow the wizard:
Go into workspace directory
cd nx-sandbox
Ensure dependencies are installed
pnpm install
Try to run the lint command
nx lint my-app
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: