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
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Run Knip
run: npm run knip
build-check:
name: Build check
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
"prestart": "npm run build",
"start": "cd dist && node src/index.js",
"build:check": "npm run build -- --noEmit",
"knip": "knip --config .knip.json --production --include files,dependencies --no-progress --reporter compact",
"lint": "npm run knip && eslint --ext .ts ./src ./test",
"knip": "knip --config .knip.json --production --no-progress --reporter compact",
"lint": "eslint --ext .ts ./src ./test",
"check:all": "npm run lint && npm run knip",
"lint:report": "eslint -o .lint-reports/eslint.json -f json --ext .ts ./src ./test",
"lint:fix": "npm run lint -- --fix",
"import": "node -r ts-node/register src/import-events.ts",
Expand Down