-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.mega-linter.yml
38 lines (35 loc) · 1.4 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
---
# Configuration file for MegaLinter
# See all available variables at https://megalinter.io/configuration/ and in linters documentation
APPLY_FIXES: none
FORMATTERS_DISABLE_ERRORS: false # Treat formatter errors as errors instead of warnings
DISABLE:
- COPYPASTE # Comment to enable checks of excessive copy-pastes
- SPELL # Comment to enable checks of spelling mistakes
DISABLE_LINTERS:
- PYTHON_PYRIGHT # Not used as of now in favour of MYPY
DISABLE_ERRORS_LINTERS:
- MARKDOWN_MARKDOWN_LINK_CHECK # Make non-blocking due to network timeouts etc.
- REPOSITORY_DEVSKIM # Make non-blocking due to detected dubious ownership in repository at
- MARKDOWN_MARKDOWNLINT
- YAML_PRETTIER # Make non-blocking due to diverging results to other YAML linters
# Python
PYTHON_BLACK_ARGUMENTS: -v --line-length 120 --safe --check --diff --color
PYTHON_MYPY_ARGUMENTS: -v --install-types --non-interactive
PYTHON_FLAKE8_ARGUMENTS: -v
PYTHON_PYLINT_ARGUMENTS: -v --enable-all-extensions
PYTHON_BANDIT_ARGUMENTS: -v -r
EDITORCONFIG_EDITORCONFIG_CHECKER_ARGUMENTS: -disable-indent-size
REPOSITORY_KICS_ARGUMENTS: --fail-on critical,high,medium
CPP_CPPLINT_ARGUMENTS: --verbose=2
JSON_JSONLINT_ARGUMENTS: -B
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
UPDATED_SOURCES_REPORTER: false
TEXT_REPORTER: true
EMAIL_REPORTER: false
VALIDATE_ALL_CODEBASE: true
# Exclude submodules
ADDITIONAL_EXCLUDED_DIRECTORIES:
- libs
- venv