add client lint command
Client checks / checks (push) Canceled after 0s
Client dependency and security checks / audit (push) Canceled after 0s

This commit is contained in:
2026-10-25 06:53:53 +01:00
parent 9cf297613d
commit 313535fe70
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ jobs:
- run: test -f README.md && test -f AGENTS.md && test -f .prettierrc.json - run: test -f README.md && test -f AGENTS.md && test -f .prettierrc.json
- run: npm ci - run: npm ci
- run: npm run format:check - run: npm run format:check
- run: npm run lint
- run: npm run check - run: npm run check
- run: npm run build - run: npm run build
- uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: actions-rust-lang/setup-rust-toolchain@v1
+1 -1
View File
@@ -14,4 +14,4 @@ jobs:
with: with:
node-version: 22 node-version: 22
cache: npm cache: npm
- run: test -s CHANGELOG.md && npm ci && npm run format:check && npm run check && npm run build - run: test -s CHANGELOG.md && npm ci && npm run format:check && npm run lint && npm run check && npm run build
+3
View File
@@ -1,3 +1,6 @@
# Contributing # Contributing
Run formatting, linting, type checks, tests, and the AppImage build before submission. Use deterministic mocked server/API fixtures. Run formatting, linting, type checks, tests, and the AppImage build before submission. Use deterministic mocked server/API fixtures.
The client uses Prettier for formatting and `svelte-check` for the lint/check
gate. Run `npm run format:check`, `npm run lint`, `npm run check`, and
`npm run build` before pushing changes.
+1
View File
@@ -10,6 +10,7 @@
"tauri:build": "tauri build", "tauri:build": "tauri build",
"build": "vite build", "build": "vite build",
"check": "svelte-check --tsconfig ./tsconfig.json", "check": "svelte-check --tsconfig ./tsconfig.json",
"lint": "svelte-check --tsconfig ./tsconfig.json",
"format": "prettier --write .", "format": "prettier --write .",
"format:check": "prettier --check ." "format:check": "prettier --check ."
}, },