-
Notifications
You must be signed in to change notification settings - Fork 227
/
Copy path.mega-linter.yml
32 lines (26 loc) · 1006 Bytes
/
.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
# Configuration file for MegaLinter
# See all available variables at https://oxsecurity.github.io/megalinter/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:
- CLOUDFORMATION_CFN_LINT
- DOCKERFILE_HADOLINT
- JSON_JSONLINT
- JSON_PRETTIER
- JSON_V8R
- JAVASCRIPT_STANDARD
- SPELL_MISSPELL
- TERRAFORM_TFLINT
- YAML_YAMLLINT
# DISABLE:
# - COPYPASTE # Comment to enable checks of excessive copy-pastes
# - SPELL # Comment to enable checks of spelling mistakes
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
JSON_PRETTIER_PRE_COMMANDS:
- command: npm install [email protected]
cwd: "workspace"