-
Notifications
You must be signed in to change notification settings - Fork 45
/
.mega-linter.yml
50 lines (50 loc) · 1.67 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
---
DISABLE:
- CLOUDFORMATION
- CSS
- EDITORCONFIG
- JAVASCRIPT
- TEKTON
DISABLE_LINTERS:
- JSON_PRETTIER
- PYTHON_BANDIT
- PYTHON_FLAKE8
# We use MyPy
- PYTHON_PYLINT
- PYTHON_PYRIGHT
- REPOSITORY_GITLEAKS
- SPELL_CSPELL
- SPELL_LYCHEE
- SPELL_PROSELINT
DISABLE_ERRORS_LINTERS:
- REPOSITORY_DEVSKIM
- REPOSITORY_SEMGREP
DOCKERFILE_HADOLINT_ARGUMENTS: "--ignore DL3008 --ignore DL3018 --ignore DL3013 --ignore DL3059 --ignore DL3005"
COPYPASTE_JSCPD_ARGUMENTS: "--ignore '**/handlers/**,**/vector*'"
COPYPASTE_JSCPD_DISABLE_ERRORS_IF_LESS_THAN: 28
MARKDOWN_MARKDOWN_LINK_CHECK_CONFIG_FILE: ".markdown-link-check-config.json"
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
REPOSITORY_CHECKOV_DISABLE_ERRORS: true
REPOSITORY_DEVSKIM_ARGUMENTS: ["-g", ".mypy_cache/*"]
REPOSITORY_TRIVY_DISABLE_ERRORS: true
PRINT_ALL_FILES: false
PYTHON_ISORT_CONFIG_FILE: "pyproject.toml"
PYTHON_MYPY_PRE_COMMANDS:
- command: "yes | pip install types-redis types-urllib3 types-requests && mkdir .mypy_cache"
continue_on_failure: true
cwd: "workspace"
PYTHON_MYPY_ARGUMENTS:
[
"--ignore-missing-imports",
"--follow-imports=skip",
"--strict-optional",
"--disallow-any-generics",
]
PYTHON_MYPY_CONFIG_FILE: "pyproject.toml"
PYTHON_MYPY_DISABLE_ERRORS_IF_LESS_THAN: 28
PYTHON_RUFF_CONFIG_FILE: "pyproject.toml"
SHOW_ELAPSED_TIME: true
SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.automation/generated|docs/descriptors)'
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/|\.mega-linter\.yml|/tests)'
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/|\.mega-linter\.yml|mkdocs\.yml)'
YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml|\.codecov\.yml)'