diff --git a/package.json b/package.json index c131935..d33f259 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "tsx": "^4.23.0" }, "lint-staged": { - "*.{js,ts}": "pnpm run lint", + "*.{js,ts}": "pnpm run lint:fix", "*.{js,ts,json}": "oxfmt --no-error-on-unmatched-pattern" }, "packageManager": "pnpm@10.17.1", diff --git a/tsconfig.json b/tsconfig.json index 83ad5cb..4d448ad 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "erasableSyntaxOnly": true, "declaration": false, "declarationMap": false, "module": "nodenext",