-
Notifications
You must be signed in to change notification settings - Fork 5
/
.mega-linter.yml
45 lines (39 loc) · 1.34 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
---
# Configuration file for MegaLinter
# See all available variables at https://megalinter.io/latest/config-file/ and in linters documentation
APPLY_FIXES: all # all, none, or list of linter keys
ENABLE_LINTERS:
- ACTION_ACTIONLINT
- BASH_SHELLCHECK
- MARKDOWN_MARKDOWNLINT
- DOCKERFILE_HADOLINT
- REPOSITORY_GITLEAKS
- YAML_PRETTIER
- YAML_YAMLLINT
- JSON_PRETTIER
- PYTHON_PYLINT
- PYTHON_FLAKE8
- PYTHON_ISORT
- TERRAFORM_TERRAFORM_FMT
- TERRAFORM_TFLINT
- TERRAFORM_TERRASCAN
DISABLE_ERRORS: false
SPELL_CSPELL_DISABLE_ERRORS: true
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
PARALLEL: true
GITHUB_STATUS_REPORTER: true
GITHUB_COMMENT_REPORTER: true
VALIDATE_ALL_CODEBASE: false
LOG_LEVEL: INFO
MARKDOWN_MARKDOWN_LINK_CHECK_ARGUMENTS: "-q"
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
TERRAFORM_TERRASCAN_ARGUMENTS: "scan -d . -i terraform -v"
# This threshold has been added as a temporary way to get around a particular error (unsupported block type).
# Examples of this can be seen in the following issues, and appears to be a bug with Terrscan itself:
# https://github.com/tenable/terrascan/issues/1615
# https://github.com/tenable/terrascan/issues/1182
# https://github.com/super-linter/super-linter/issues/3044
TERRAFORM_TERRASCAN_DISABLE_ERRORS_IF_LESS_THAN: 2