diff --git a/eslint.config.js b/eslint.config.js index 3748e94..4317a69 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,3 @@ import antfu from '@antfu/eslint-config' -export default await antfu({ - ignores: ['**/tsconfig.json'], -}) +export default await antfu() diff --git a/tsconfig.json b/tsconfig.json index 225714f..38348e6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,29 +1,24 @@ { "compilerOptions": { "target": "ESNext", - "useDefineForClassFields": true, - "module": "ESNext", + "jsx": "preserve", "lib": ["ESNext", "DOM", "DOM.Iterable"], + "module": "ESNext", + "moduleResolution": "Bundler", "paths": { "@unlazy/core": ["./packages/core/src/index.ts"], "@unlazy/core/*": ["./packages/core/src/*"], "unlazy": ["./packages/unlazy/src/index.ts"], "unlazy/*": ["./packages/unlazy/src/*"] }, - "skipLibCheck": true, - - /* Bundler mode */ - "moduleResolution": "Bundler", - "allowImportingTsExtensions": true, - "verbatimModuleSyntax": true, "resolveJsonModule": true, - "isolatedModules": true, - "esModuleInterop": true, + "allowImportingTsExtensions": true, + "strict": true, "noEmit": true, - "jsx": "preserve", - - /* Linting */ - "strict": true + "esModuleInterop": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, + "skipLibCheck": true }, "include": [ "packages"