📜  解析错误:已为 @typescript-eslint 解析器设置了“parserOptions.project”. - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:18.686000             🧑  作者: Mango

代码示例1
// DO NOT SET createDefaultProgram to true to prevent future breakage.

Create a new tsconfig.eslint.json
Add .eslintrc in .eslintignore
Ensure that ONLY the files you want to be linted are the ones only included.
4Make sure that in the package.json you only lint the files you want to be linted and are included in the config.