feat(llm-security): add .kt .groovy .scala to taint-tracer CODE_EXTENSIONS
This commit is contained in:
parent
037a91276d
commit
50c0cd3065
2 changed files with 84 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ import { SEVERITY } from './lib/severity.mjs';
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
// File extension filter — only scan code files, not config/docs
|
||||
// JVM-language support (.kt, .kts, .groovy, .gradle, .scala) is required for
|
||||
// JetBrains plugin scanning — plugin source lives in these languages.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const CODE_EXTENSIONS = new Set([
|
||||
|
|
@ -32,6 +34,9 @@ const CODE_EXTENSIONS = new Set([
|
|||
'.rb', '.php',
|
||||
'.go', '.rs',
|
||||
'.java', '.cs',
|
||||
'.kt', '.kts',
|
||||
'.groovy', '.gradle',
|
||||
'.scala',
|
||||
'.sh', '.bash', '.zsh',
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue