Skip to content

Commit

Permalink
fix CI linting
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 6, 2024
1 parent f9aac73 commit 37a1f73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:
- name: Check formatting
run: pnpm prettier --check "src/**/!(*d).ts"

- name: Lint
run: pnpm eslint . --max-warnings 0
- name: Lint backend
run: pnpm eslint src/ --max-warnings 0

- name: Lint frontend
run: cd frontend && pnpm eslint . --max-warnings 0

- name: Verify no tests were removed
run: pnpm check-test-files
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test:related": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --config jest.config.ts --bail --findRelatedTests src/__tests__/*.test.ts --maxWorkers=50% --maxConcurrency=7",
"smoke-test": "node scripts/smoke-test.js",
"smoke-test:precommit": "SMOKE_TEST_PORT=4000 node scripts/smoke-test.js",
"lint": "eslint .",
"lint": "eslint src/",
"type-check": "tsc --noEmit -p tsconfig.lint.json",
"type-check:staged": "tsc --noEmit --skipLibCheck --skipDefaultLibCheck --target ES2022 --module ESNext --moduleResolution bundler --strict --esModuleInterop --forceConsistentCasingInFileNames --baseUrl . --paths viem:['./src/types/viem.d.ts'] --paths webauthn-p256:['./src/types/webauthn-p256.d.ts'] src/types/fastify.d.ts",
"type-check:staged-files": "tsc --noEmit --skipLibCheck --skipDefaultLibCheck",
Expand Down

0 comments on commit 37a1f73

Please sign in to comment.