-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtool_configs.go
More file actions
30 lines (27 loc) · 1.05 KB
/
tool_configs.go
File metadata and controls
30 lines (27 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package constants
// Tool configuration file names - shared constants to avoid duplication
const (
// Language and project configuration files
LanguagesConfigFileName = "languages-config.yaml"
GitIgnoreFileName = ".gitignore"
// Tool-specific configuration files
ESLintConfigFileName = "eslint.config.mjs"
TrivyConfigFileName = "trivy.yaml"
PMDConfigFileName = "ruleset.xml"
PylintConfigFileName = "pylint.rc"
DartAnalyzerConfigFileName = "analysis_options.yaml"
SemgrepConfigFileName = "semgrep.yaml"
ReviveConfigFileName = "revive.toml"
LizardConfigFileName = "lizard.yaml"
)
// ToolConfigFileNames maps tool names to their configuration filenames
var ToolConfigFileNames = map[string]string{
"eslint": ESLintConfigFileName,
"trivy": TrivyConfigFileName,
"pmd": PMDConfigFileName,
"pylint": PylintConfigFileName,
"dartanalyzer": DartAnalyzerConfigFileName,
"semgrep": SemgrepConfigFileName,
"revive": ReviveConfigFileName,
"lizard": LizardConfigFileName,
}