Add prettier and eslint

This commit is contained in:
Sebastian Martinez
2024-07-05 11:36:18 +02:00
parent 4f497aeb2c
commit 319f788c3c
8 changed files with 1810 additions and 31 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -e
npx tsc --noEmit
npx svelte-check --tsconfig tsconfig.json --fail-on-warnings --compiler-warnings missing-custom-element-compile-options:ignore
npx eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check --cache