Skip to content

Commit

Permalink
ci: Separate lint and lint:check and adjust linting workflow accordin…
Browse files Browse the repository at this point in the history
…gly (#82)

Separate lint and lint:check and adjust linting workflow accordingly
  • Loading branch information
OLILHR authored Oct 31, 2024
1 parent f5f5c40 commit 30916b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm ci

- name: Linting
run: npm run lint
run: npm run lint:check

- name: Type-Checking
run: npm run check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier '**/*.{svelte,js,jsx,ts,tsx,html,css,scss,json,yml,md}' --write",
"format:check": "prettier '**/*.{svelte,js,jsx,ts,tsx,html,css,scss,json,yml,md}' --check",
"lint": "eslint 'src/**/*.{js,ts,svelte}'",
"lint": "eslint 'src/**/*.{js,ts,svelte}' --fix",
"lint:check": "eslint 'src/**/*.{js,ts,svelte}'",
"postinstall": "npx playwright install",
"test": "npx playwright test"
},
Expand Down

0 comments on commit 30916b6

Please sign in to comment.