-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mega-linter.yml
41 lines (37 loc) · 1.25 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
# Configuration file for MegaLinter
# See all available variables at
# https://oxsecurity.github.io/megalinter/configuration/
# and in linters documentation
########## Mega Linter Settings ##########
APPLY_FIXES: none # all, none, or list of linter keys
# 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:
- ACTION_ACTIONLINT
- PYTHON_BLACK
- PYTHON_FLAKE8
- PYTHON_ISORT
- YAML_YAMLLINT
# DISABLE:
# - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
# - SPELL # Uncomment to disable checks of spelling mistakes
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# Uncomment if you want MegaLinter to detect errors but not block CI to pass
# DISABLE_ERRORS: true
# FILTER_REGEX_EXCLUDE: >
LINTER_RULES_PATH: /
########## Individual Linter Settings ##########
#===== Github Action =====#
ACTION_ACTIONLINT_RULES_PATH: .github
#===== Python =====#
PYTHON_BLACK_CONFIG_FILE: pyproject.toml
PYTHON_BLACK_DISABLE_ERRORS: false
PYTHON_FLAKE8_CONFIG_FILE: .flake8
PYTHON_ISORT_CONFIG_FILE: pyproject.toml
PYTHON_ISORT_DISABLE_ERRORS: false
#===== YAML =====#
YAML_YAMLLINT_CONFIG_FILE: .yaml-lint.yml