diff --git a/lint-staged.config.js b/lint-staged.config.js new file mode 100644 index 000000000..1a3d57566 --- /dev/null +++ b/lint-staged.config.js @@ -0,0 +1,6 @@ +const config = { + "*.{ts,tsx}": () => "tsc -p tsconfig.json --noEmit", + "*": "prettier --write", +} + +export default config diff --git a/package.json b/package.json index f0916321d..2af9188bd 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,5 @@ }, "engines": { "node": "18" - }, - "lint-staged": { - "*.{ts,tsx,cjs,mjs,css,md,json}": "prettier --write" } }