chore(lint): bring .tsx files into the eslint, lefthook, and jscpd lanes
.tsx sources and specs were invisible to every lint surface: the eslint flat-config globs, the lefthook staged-file glob, and the jscpd clone scan all matched *.ts only. Widen the five eslint file groups (source, test, client-test, sonar, formatting), the pre-commit glob, and the jscpd format/pattern to cover .tsx. Existing .tsx files predate these lanes; follow-up commits on this PR clear the backlog they surface.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
pre-commit:
|
||||
jobs:
|
||||
- name: lint (staged)
|
||||
glob: '*.{ts,mts,cts,mjs}'
|
||||
glob: '*.{ts,tsx,mts,cts,mjs}'
|
||||
exclude:
|
||||
- 'vendor/*/src/**'
|
||||
run: node_modules/.bin/eslint --fix {staged_files}
|
||||
|
||||
Reference in New Issue
Block a user