-
Notifications
You must be signed in to change notification settings - Fork 7
/
.mega-linter.yml
30 lines (27 loc) · 1.5 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
# Configuration file for Mega-Linter
# See all available variables at https://nvuillam.github.io/mega-linter/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 # Uncomment to disable checks of abusive copy-pastes
# - SPELL # Uncomment to disable checks of spelling mistakes
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_TABLE_FORMATTER # Unable to locally autoformat tables
- PYTHON_BANDIT # Unable to set to use repo config file; re-enable when fixed
- PYTHON_BLACK # Version in Mega-Linter doesn't yet support Python 3.9
- PYTHON_MYPY # Managed externally; relies on locally installed packages
- PYTHON_PYLINT # Managed externally; relies on locally installed packages
- SPELL_CSPELL # Vast number of false positives
- YAML_PRETTIER # Avoid conflicts with local formatter
APPLY_FIXES: none # all, none, or list of linter keys
DEFAULT_BRANCH: master # Usually master or main
FILEIO_REPORTER: false
FORMATTERS_DISABLE_ERRORS: false
SHOW_ELAPSED_TIME: true
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: LINTER_DEFAULT
# PYTHON_BANDIT_CONFIG_FILE: LINTER_DEFAULT # Uncomment when Bandit config supported
PYTHON_BLACK_CONFIG_FILE: LINTER_DEFAULT
PYTHON_FLAKE8_CONFIG_FILE: LINTER_DEFAULT
PYTHON_ISORT_CONFIG_FILE: LINTER_DEFAULT
YAML_PRETTIER_CONFIG_FILE: LINTER_DEFAULT
YAML_YAMLLINT_CONFIG_FILE: LINTER_DEFAULT