diff --git a/eslint.config.mjs b/eslint.config.ts similarity index 100% rename from eslint.config.mjs rename to eslint.config.ts diff --git a/package.json b/package.json index c864784..19d48a0 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "unbuild", "stub": "unbuild --stub", - "lint": "eslint . --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings 0", + "lint": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings 0", "type-check": "tsc --noEmit", "test:unit": "vitest", "test:type-check": "vitest --typecheck.only", diff --git a/tsconfig.json b/tsconfig.json index 27c8963..1d2b7e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,11 @@ "compilerOptions": { "target": "ESNext", "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "strict": true, "noEmit": true, "esModuleInterop": true, "skipLibCheck": true }, - "include": ["src", "*.config.ts"] + "include": ["src", "*.config.*"] }