mirror of
https://github.com/mathuo/dockview
synced 2026-05-21 02:37:11 +00:00
ESLint 9 made flat config the default; 10 dropped legacy bits. Migrate .eslintrc.js -> eslint.config.js using the typescript-eslint v8 wrapper package (replaces the separate @typescript-eslint/parser + @typescript-eslint/eslint-plugin entries). Rule changes carried over from the v6 -> v8 split: - @typescript-eslint/ban-types is gone, split into no-empty-object-type, no-unsafe-function-type, and no-wrapper-object-types. The old config had ban-types: 'off', so disable each of the three replacements to match. - @typescript-eslint/no-unused-expressions is newly in the recommended set; was effectively off before. Demote to warn rather than gate CI. - @typescript-eslint/no-var-requires renamed to no-require-imports and is stricter (also flags non-var require() calls). Demote from error to warn until offenders are cleaned up. No source changes; lint output before/after is equivalent (0 errors, same warning surface). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 lines
319 B
JSON
11 lines
319 B
JSON
{
|
|
"compilerOptions": {
|
|
"types": ["@types/node"],
|
|
"noEmit": true,
|
|
"allowJs": true
|
|
},
|
|
"extends": "./tsconfig.base.json",
|
|
"include": ["tests/**/*.ts", "tools/**/*.ts", "eslint.config.js", "packages/*/src/__tests__/**/*.ts", "packages/*/src/__tests__/**/*.tsx"],
|
|
"exclude": []
|
|
}
|