Adds void to floating promise in bestiary-cache.ts, extracts shared polyfillDialog() helper to eliminate unbound-method warnings in 3 test files. Adds --deny warnings to oxlint so future warnings fail the build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
780 B
YAML
30 lines
780 B
YAML
pre-commit:
|
|
parallel: true
|
|
jobs:
|
|
- name: audit
|
|
run: pnpm audit --audit-level=high
|
|
- name: knip
|
|
run: pnpm exec knip
|
|
- name: biome
|
|
run: pnpm exec biome check .
|
|
- name: check-ignores
|
|
run: node scripts/check-lint-ignores.mjs
|
|
- name: check-classnames
|
|
run: node scripts/check-cn-classnames.mjs
|
|
- name: check-props
|
|
run: node scripts/check-component-props.mjs
|
|
- name: jscpd
|
|
run: pnpm exec jscpd
|
|
- name: jsinspect
|
|
run: pnpm jsinspect
|
|
- name: typecheck-oxlint-test
|
|
group:
|
|
piped: true
|
|
jobs:
|
|
- name: typecheck
|
|
run: pnpm exec tsc --build
|
|
- name: oxlint
|
|
run: pnpm oxlint -- --deny warnings
|
|
- name: test
|
|
run: pnpm test
|