mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
.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.
16 lines
351 B
JSON
16 lines
351 B
JSON
{
|
|
"minTokens": 60,
|
|
"minLines": 6,
|
|
"mode": "mild",
|
|
"format": ["typescript", "tsx"],
|
|
"pattern": "**/*.{ts,tsx}",
|
|
"ignore": ["**/tests/**", "**/tsdown.config.ts"],
|
|
"ignorePattern": [
|
|
"(?s)/\\* jscpd:ignore-start \\*/.*?/\\* jscpd:ignore-end \\*/"
|
|
],
|
|
"reporters": ["console"],
|
|
"exitCode": 1,
|
|
"noColors": true,
|
|
"noTips": true
|
|
}
|