-
Notifications
You must be signed in to change notification settings - Fork 224
/
.mega-linter.yml
52 lines (41 loc) · 1.42 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
# Configuration file for MegaLinter
# See all available variables at https://megalinter.io/configuration/ and in linters documentation
# all, none, or list of linter keys
APPLY_FIXES: none
# 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:
- BASH_EXEC
- BASH_SHFMT
- CLOUDFORMATION_CFN_LINT
- DOCKERFILE_HADOLINT
- EDITORCONFIG_EDITORCONFIG_CHECKER
- JSON_JSONLINT
- JSON_PRETTIER
- JSON_V8R
- JAVASCRIPT_STANDARD
- MARKDOWN_MARKDOWN_LINK_CHECK
- MARKDOWN_MARKDOWNLINT
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- SPELL_CSPELL
- TERRAFORM_TFLINT
- YAML_YAMLLINT
SARIF_REPORTER: true
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# Install plugin for list handling.
JSON_PRETTIER_PRE_COMMANDS:
- command: "npm install [email protected]"
cwd: "workspace"
CLOUDFORMATION_CFN_LINT_CONFIG_FILE: '.cfnlintrc'
CLOUDFORMATION_CFN_LINT_FILE_EXTENSIONS: [".yml", ".yaml"]
EDITORCONFIG_EDITORCONFIG_CHECKER_CONFIG_FILE: '.ecrc.json'
MARKDOWN_MARKDOWN_LINK_CHECK_ARGUMENTS: '-q'
MARKDOWN_MARKDOWNLINT_DISABLE_ERRORS: false
SPELL_CSPELL_ARGUMENTS: '--gitignore --no-progress --show-suggestions'
SPELL_CSPELL_FILE_EXTENSIONS: ["*"]
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
GITHUB_STATUS_REPORTER: true
GITHUB_COMMENT_REPORTER: true