forked from davidB/cdviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mega-linter.yml
56 lines (53 loc) · 2.27 KB
/
.mega-linter.yml
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
# Configuration file for MegaLinter
# See all available variables at https://megalinter.github.io/configuration/ and in linters documentation
APPLY_FIXES: none # all, none, or list of linter keys
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
DISABLE:
- COPYPASTE # Comment to enable checks of excessive copy-pastes
- SPELL # Comment to enable checks of spelling mistakes
DISABLE_LINTERS:
- CSS_STYLELINT # not tailwindcss compatible
- DOCKERFILE_DOCKERFILELINT
- HTML_HTMLHINT # not tailwindcss compatible
- MARKDOWN_MARKDOWN_LINK_CHECK
- REPOSITORY_CHECKOV # unstable randomly failed (false negative) on generated k8s manifest
- REPOSITORY_DEVSKIM # issue with "git config --global --add safe.directory ..."
- REPOSITORY_GIT_DIFF
- REPOSITORY_GRYPE
- REPOSITORY_KICS
- REPOSITORY_SECRETLINT
- REPOSITORY_SYFT
- REPOSITORY_TRUFFLEHOG # too long to search for secret
- RUST_CLIPPY # run via an other way, and current version doesn't support `--deny ... --allow ...`
- SQL_TSQLLINT # "You must install or update .NET to run this application."
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
FILTER_REGEX_EXCLUDE: "(megalinter-reports)|(.vscode)|(cdevents-spec.*)|(.gitmodules)|(.sqlx)|(\\.lock)|(\\.ndjson)|(\\.pdf)|(\\.csv)|(\\.zip)|(\\.tar)|(\\.ipynb)|(.*license.*)|(.*LICENSE.*)|(cdviz-grafana/dashboards/.*json)"
SPELL_FILTER_REGEX_INCLUDE: '\\.md$'
PRINT_ALPACA: false
REPOSITORY_SECRETLINT_ARGUMENTS:
- --secretlintignore
- .gitignore
REPOSITORY_TRIVY_ARGUMENTS:
# - --scanners
# - misconfig,vuln,secret
- --skip-files
- "skaffold.yaml"
# - "charts/**/*.tgz"
- --skip-dirs
- "charts/**/charts"
RUST_CLIPPY_ARGUMENTS:
- --workspace
- --all-features
- --all-targets
# - --deny warnings
# - --allow deprecated
# - --allow unknown-lints
YAML_FILTER_REGEX_EXCLUDE: (.*/templates)
## Wait a fix for <https://github.com/oxsecurity/megalinter/issues/1993>
# REPOSITORY_DEVSKIM_ARGUMENTS:
# - --ignore-globs
# - sqlx-data.json
REPOSITORY_TRIVY_DISABLE_ERRORS: true # Too many false positive