✨ Don't fail lint on format error
This commit is contained in:
@@ -37,4 +37,4 @@ jobs:
|
||||
- name: Lint
|
||||
working-directory: ./frontend
|
||||
run: |
|
||||
pnpm run lint
|
||||
pnpm run lint-without-format-checking
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user