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
Hello! 🙂 I'm trying to get the ts/no-unnecessary-condition rule working in our Turborepo, but I'm struggling with it. I keep running into the following issue:
Oops! Something went wrong! :(
ESLint: 9.15.0
Error: Error while loading rule 'ts/no-unnecessary-condition': You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.
Parser: (unknown)
Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.
Highlighted what I think the issue is...
[Error - 1:35:54 PM] An unexpected error occurred:
[Error - 1:35:54 PM] Error: Error while loading rule 'ts/naming-convention': You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information. Parser: jsonc-eslint-parser
Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser. Occurred while linting C:\Users\Jeremy\label-maker\package.json
Hello! 🙂 I'm trying to get the ts/no-unnecessary-condition rule working in our Turborepo, but I'm struggling with it. I keep running into the following issue:
The text was updated successfully, but these errors were encountered: