Don't fail lint on format error

This commit is contained in:
Mawoka
2023-10-21 21:58:07 +02:00
parent 9ff7ac497f
commit 88a3c2e65b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ jobs:
- name: Lint
working-directory: ./frontend
run: |
pnpm run lint
pnpm run lint-without-format-checking
+1
View File
@@ -9,6 +9,7 @@
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . '!src/lib/i18n/locales/*.json' '!pnpm-lock.yaml' '!src/app.html' && eslint --ignore-path .gitignore .",
"lint-without-format-checking": "eslint --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. . '!src/lib/i18n/locales/*.json'",
"run:prod": "node index.js",
"translations-scan": "i18next-scanner --config i18next-scanner.config.engine.cjs src/**/*.svelte"