You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ nx run-many -t lint
✔ nx run my-plugin:lint [existing outputs match the cache, left as is]
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
✖ nx run my-plugin-e2e:lint
Linting "my-plugin-e2e"...
/Users/gperdomor/Downloads/nx-tools-v7/plugins/my-plugin-e2e/project.json
1:1 error Expected an assignment or functioncall and instead saw an expression @typescript-eslint/no-unused-expressions
/Users/gperdomor/Downloads/nx-tools-v7/plugins/my-plugin-e2e/tsconfig.json
1:1 error Expected an assignment or functioncall and instead saw an expression @typescript-eslint/no-unused-expressions
/Users/gperdomor/Downloads/nx-tools-v7/plugins/my-plugin-e2e/tsconfig.spec.json
1:1 error Expected an assignment or functioncall and instead saw an expression @typescript-eslint/no-unused-expressions
✖ 3 problems (3 errors, 0 warnings)
✖ 3 problems (3 errors, 0 warnings)
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target lint for 2 projects (2s)
✔ 1/2 succeeded [1 read from cache]
✖ 1/2 targets failed, including the following:
- nx run my-plugin-e2e:lint
View structured, searchable error logs at https://nx.app/runs/zUZJzouWU1
/Users/s.yadav/react-india/libs/my-awesome-lib/package.json
1:1 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
Current Behavior
I encountered the following ESLint error when running the nx run-many -t lint command for a newly created workspace with plugin
Expected an assignment or function call and instead saw an expression. eslint@typescript-eslint/no-unused-expressions
Expected Behavior
The linting step should not fail with the @typescript-eslint/no-unused-expressions error
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Related to #28069
The text was updated successfully, but these errors were encountered: