AlloyTeam / eslint-config-alloy

Progressive ESLint config for your React/Vue/TypeScript projects
https://alloyteam.github.io/eslint-config-alloy/
2.65k stars 317 forks source link

@typescript-eslint/parser 更新到 6.5.0 以上版本后报错 Error while loading rule '@typescript-eslint/consistent-type-assertions' #251

Open aidenchen8 opened 12 months ago

aidenchen8 commented 12 months ago

@typescript-eslint/parser 及 @typescript-eslint/eslint-plugin 更新到 6.5.0 及以上版本时,lint 校验报错。

Error: Error while loading rule '@typescript-eslint/consistent-type-assertions': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.