-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mega-linter.yml
More file actions
executable file
·31 lines (30 loc) · 1.39 KB
/
.mega-linter.yml
File metadata and controls
executable file
·31 lines (30 loc) · 1.39 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
---
# Configuration file for MegaLinter
# See all available variables at https://oxsecurity.github.io/megalinter/configuration/ and in linters documentation
# 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 # Disable checks of excessive copy-pastes
- SPELL # Disable checks of spelling mistakes
# Disable the DevSkim linter for now because it is raising false positives
# and there is not a way to specify for the linter to ignore certain lines or certain files: REPOSITORY_DEVSKIM
# https://github.com/microsoft/DevSkim
DISABLE_LINTERS:
[
JAVASCRIPT_STANDARD,
MARKDOWN_MARKDOWN_LINK_CHECK,
MARKDOWN_MARKDOWN_TABLE_FORMATTER,
REPOSITORY_DEVSKIM,
REPOSITORY_GITLEAKS,
TERRAFORM_CHECKOV,
]
SHOW_ELAPSED_TIME: false
FILEIO_REPORTER: false
# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
# Exclude certain files from linting
# yamllint disable-line rule:line-length
FILTER_REGEX_EXCLUDE: "(CHANGELOG.md)"
GROOVY_NPM_GROOVY_LINT_ARGUMENTS: ["--failon", "error"]
JSON_PRETTIER_FILTER_REGEX_EXCLUDE: "(tests/resources/example_de.json)"
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(tests/cassettes/.*.yml)"
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "(tests/cassettes/.*.yml)"