Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
cache: true
node-version-file: '.nvmrc'

- name: Run lint with GitHub annotations
run: vp run lint:ci

- name: Run lint and format checks
run: vp run check

Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Tooling is unified through [Vite+][vite-plus-website], which bundles the linter
# Run lint, format, and type checks
pnpm check

# CI lint with GitHub annotations
pnpm lint:ci

# Auto-fix formatting and lint issues
pnpm check:fix

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"i18n:status": "i18next-cli status",
"lint": "vp lint --fix",
"lint:check": "vp lint",
"lint:ci": "vp lint --format=github",
"format": "vp fmt",
"format:check": "vp fmt --check",
"test": "vp test --coverage --run --project 'happy-dom [preload, renderer]' --project 'node [main, shared]'",
Expand Down
Loading