mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 09:31:21 +00:00
Update linting workflow and scripts
This commit is contained in:
parent
a6c4cb56f3
commit
bd4fa63e0a
2 changed files with 3 additions and 5 deletions
7
.github/workflows/linting.yaml
vendored
7
.github/workflows/linting.yaml
vendored
|
@ -31,8 +31,5 @@ jobs:
|
|||
- name: Install Node.js dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v2.3.0
|
||||
with:
|
||||
eslint: true
|
||||
prettier: true
|
||||
- name: Run linting
|
||||
run: pnpm run lint-ci
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"lint-ci": "prettier --check . && eslint . --no-fix --max-warnings=0",
|
||||
"format": "prettier --write .",
|
||||
"prepare": "npx husky && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue