Fix ts/svelte linting

This commit is contained in:
Mattias Granlund 2023-07-31 14:12:05 +02:00
parent 0754c44128
commit 930abe4e48
2 changed files with 1 additions and 3 deletions

View File

@ -21,8 +21,7 @@ jobs:
args: ["--frozen-lockfile"]
- name: Lint frontend
run: |
pnpm lint-ci
run: pnpm lint
check-frontend:
runs-on: ubuntu-latest

View File

@ -10,7 +10,6 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "pnpm check --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"lint-ci": "prettier --check $(git diff --name-only HEAD^..HEAD) && eslint $(git diff --name-only HEAD^..HEAD)",
"format": "prettier --plugin-search-dir . --write .",
"tauri": "tauri",
"story:dev": "histoire dev --open",