-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mega-linter.yml
43 lines (27 loc) · 1.29 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
# Configuration file for MegaLinter
# See all available variables at https://megalinter.io/latest/configuration/ and in linters documentation
BASH_SHFMT_ARGUMENTS: --case-indent --indent 2 --space-redirects
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_LINK_CHECK # Using lychee instead
- SPELL_CSPELL
- TERRAFORM_TERRASCAN # Hard to configure - no documentation of the config file
# Remove: To receive reports as email, please set variable EMAIL_REPORTER_EMAIL
EMAIL_REPORTER: false
FAIL_IF_MISSING_LINTER_IN_FLAVOR: true
FILTER_REGEX_EXCLUDE: CHANGELOG.md
FORMATTERS_DISABLE_ERRORS: false
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.yml
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: CHANGELOG.md
# Remove initial MegaLinter graphic
PRINT_ALPACA: false
# Disable creating report directory
REPORT_OUTPUT_FOLDER: none
REPOSITORY_CHECKOV_ARGUMENTS: --quiet
# Do not leave debug code in production, Insecure URL
REPOSITORY_DEVSKIM_ARGUMENTS: --ignore-globs CHANGELOG.md --ignore-rule-ids DS162092,DS137138
REPOSITORY_KICS_ARGUMENTS: --fail-on high
REPOSITORY_TRIVY_ARGUMENTS: --ignorefile .trivyignore.yaml --severity HIGH,CRITICAL --ignore-unfixed
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
TYPESCRIPT_PRETTIER_ARGUMENTS: --html-whitespace-sensitivity=ignore
VALIDATE_ALL_CODEBASE: true