Join check and check-format scripts into one

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-03-14 10:35:57 +01:00
parent a552bb75a4
commit e8325294fa
3 changed files with 2 additions and 26 deletions
+2
View File
@@ -3,3 +3,5 @@ set -e
npx tsc --noEmit
npx svelte-check --tsconfig tsconfig.json
npx eslint .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
set -euo pipefail
npx eslint .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check