-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy path.mega-linter.yml
More file actions
97 lines (83 loc) · 2.28 KB
/
Copy path.mega-linter.yml
File metadata and controls
97 lines (83 loc) · 2.28 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Configuration file for MegaLinter
#
# See all available variables at https://megalinter.io/latest/config-file/ and in
# linters documentation
---
# MegaLinter flavor and version used by mega-linter-runner and CI
MEGALINTER_FLAVOR: javascript
MEGALINTER_VERSION: v10
# all, none, or list of linter keys
APPLY_FIXES: all
# Usually master or main
DEFAULT_BRANCH: main
# If you use ENABLE variable, all other languages/formats/tooling-formats will
# be disabled by default
# ENABLE:
# If you use ENABLE_LINTERS variable, all other linters will be disabled by
# default
# ENABLE_LINTERS:
DISABLE:
- CSS
- EDITORCONFIG
- HTML
- JAVASCRIPT
DISABLE_LINTERS:
- BASH_EXEC
- JSON_JSONLINT
- JSON_PRETTIER
- MARKDOWN_MARKDOWNLINT
- JSON_NPM_PACKAGE_JSON_LINT
- SPELL_PROSELINT
- REPOSITORY_GIT_DIFF
- REPOSITORY_SEMGREP
- REPOSITORY_SECRETLINT
- REPOSITORY_SYFT
- REPOSITORY_TRIVY_SBOM
- SPELL_CODESPELL
- TYPESCRIPT_PRETTIER
- TYPESCRIPT_STANDARD
- YAML_PRETTIER
- YAML_YAMLLINT
- XML_XMLLINT
DISABLE_ERRORS_LINTERS:
- JSON_V8R
- REPOSITORY_GRYPE
- SPELL_LYCHEE
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
GITHUB_STATUS_REPORTER: false
BASH_SHELLCHECK_FILTER_REGEX_EXCLUDE: (husky)
YAML_V8R_DISABLE_ERRORS: true
FILTER_REGEX_EXCLUDE: "(vscode|defaults|workarounds|test/fixtures|test_session_)"
TYPESCRIPT_DEFAULT_STYLE: prettier
DOCKERFILE_HADOLINT_ARGUMENTS: "--ignore DL3007 --ignore DL3016 --ignore DL3018 --ignore DL4006"
REPOSITORY_GRYPE_CONFIG_FILE: .grype.yaml
REPOSITORY_BETTERLEAKS_CONFIG_FILE: .gitleaks.toml
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
FLAVOR_SUGGESTIONS: false
SPELL_LYCHEE_ARGUMENTS:
- --accept
- "429"
SPELL_LYCHEE_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
SPELL_FILTER_REGEX_EXCLUDE: "Dockerfile(-.+)?"
REPORTERS_MARKDOWN_SUMMARY_TYPE: table-sections
# LLM Advisor
LLM_ADVISOR_LEVEL: ERROR
# Choose your provider and model
# openai, anthropic, google, huggingface, mistral, deepseek, grok, ollama
LLM_PROVIDER: google
LLM_MODEL_NAME: gemini-2.5-flash
LLM_MAX_TOKENS: "10000"
LLM_TEMPERATURE: "0.1"
ADDITIONAL_EXCLUDED_DIRECTORIES:
- .wireit
- node_modules
- lib
- megalinter-reports
- coverage
- hardis-report
- site
# Uncomment if you want MegaLinter to detect errors but not block CI to pass
# DISABLE_ERRORS: true