I get the following error when trying to use the nx lint exector:
Error: You have attempted to use the lint rule "@typescript-eslint/restrict-template-expressions" which requires the full TypeScript type-checker to be available, but you do not have "parserOptions.project" configured to point at your project tsconfig.json files in the relevant TypeScript file "overrides" block of your ESLint config "<path to eslint config>/.eslintrc.cjs"
Occurred while linting <path to file in directory>
Please see https://nx.dev/recipes/tips-n-tricks/eslint for full guidance on how to resolve this issue.
Expected Behavior
I expect projectService option (what is supposed to replace project in eslint config) to work as expected and not throw an error about project not existing
Error: You have attempted to use the lint rule "@typescript-eslint/restrict-template-expressions" which requires the full TypeScript type-checker to be available, but you do not have "parserOptions.project" configured to point at your project tsconfig.json files in the relevant TypeScript file "overrides" block of your ESLint config "<path to eslint config>/.eslintrc.cjs"
Occurred while linting <path to file in directory>
Current Behavior
Hi all. I am trying to migrate to typescript-eslint v8 and leverage the new projectService configuration. However when I update my .eslintrc.cjs with the following syntax:
And a typescript-eslint rule in my global eslint config file such as
I get the following error when trying to use the nx lint exector:
Expected Behavior
I expect projectService option (what is supposed to replace project in eslint config) to work as expected and not throw an error about project not existing
GitHub Repo
No response
Steps to Reproduce
See description of of current behavior
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response