修复 Web ESLint TypeScript 解析配置
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled

使用仓库已有 TypeScript parser,避免 CI 将 TS 文件全部判为语法错误
This commit is contained in:
2026-09-16 01:16:38 +08:00
parent 5da6ff46a1
commit fe02a99f62
+8 -1
View File
@@ -1 +1,8 @@
module.exports = {"root":true,"ignorePatterns":["ignored/**"],"parserOptions":{"ecmaVersion":"latest","sourceType":"module"},"plugins":["simple-import-sort"],"rules":{"simple-import-sort/imports":"error"}};
module.exports = {
root: true,
ignorePatterns: ['ignored/**'],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['simple-import-sort'],
rules: { 'simple-import-sort/imports': 'error' },
};