feat: add lint-staged and prettier

This commit is contained in:
Bart van der Braak 2023-08-06 18:16:24 +02:00
parent 2f0d6bdbaf
commit 093e67c2bb
4 changed files with 14 additions and 12 deletions

3
lintstagedrc.cjs Normal file
View file

@ -0,0 +1,3 @@
module.exports = {
'**/*.{js,ts,cjs,svelte,tsx}': [() => 'tsc -p tsconfig.json --noEmit', 'eslint --fix', 'prettier --write']
};