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
{{ message }}
Repository navigation
使用ESlint时总是报Error: ESLint was configured to run on <tsconfigRootDir>/src/components/table-common/type.ts using parserOptions.project: <tsconfigRootDir>/tsconfig.json #1256
2025-10-17 00:09:27,597-INFO: Error: ESLint was configured to run on <tsconfigRootDir>/src/components/table-common/type.ts using parserOptions.project: /tsconfig.json
2025-10-17 00:09:27,597-INFO: However, that TSConfig does not include this file. Either:
2025-10-17 00:09:27,597-INFO: - Change ESLint's list of included files to not include this file
2025-10-17 00:09:27,597-INFO: - Change that TSConfig to include this file
2025-10-17 00:09:27,597-INFO: - Create a new TSConfig that includes this file and include it in your parserOptions.project
2025-10-17 00:09:27,597-INFO: See the typescript-Tool docs for more info: https://typescript-Tool.io/linting/troubleshooting#i-get-errors-telling-me-Tool-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
2025-10-17 00:09:27,597-INFO: at createProjectProgram (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/@typescript-Tool/parser/tool_modules/@typescript-Tool/typescript-estree/dist/create-program/createProjectProgram.js:99:11)
2025-10-17 00:09:27,597-INFO: at getProgramAndAST (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/@typescript-Tool/parser/tool_modules/@typescript-Tool/typescript-estree/dist/parser.js:36:89)
2025-10-17 00:09:27,597-INFO: at parseAndGenerateServices (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/@typescript-Tool/parser/tool_modules/@typescript-Tool/typescript-estree/dist/parser.js:140:11)
2025-10-17 00:09:27,597-INFO: at Object.parseForESLint (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/@typescript-Tool/parser/dist/parser.js:94:80)
2025-10-17 00:09:27,597-INFO: at parse (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/linter/linter.js:655:22)
2025-10-17 00:09:27,597-INFO: at Linter._verifyWithoutProcessors (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/linter/linter.js:1131:33)
2025-10-17 00:09:27,597-INFO: at Linter._verifyWithConfigArray (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/linter/linter.js:1276:21)
2025-10-17 00:09:27,597-INFO: at Linter.verify (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/linter/linter.js:1231:25)
2025-10-17 00:09:27,597-INFO: at Linter.verifyAndFix (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/linter/linter.js:1424:29)
2025-10-17 00:09:27,598-INFO: at verifyText (/workspace/tools/linux-tool-v12.16.3/lib/tool_modules/Tool/lib/cli-engine/cli-engine.js:234:48)
Activity
cyw3 commentedon Oct 20, 2025
这边时间比较紧张,可能没能及时看到并解决。
如果比较急的话,可以先通过以下方式进行本地调试看看:
也可以等待这边主业工作之余抽出时间来解决该问题。麻烦提供下可以复现的DEMO代码库,方便调试。