-
Notifications
You must be signed in to change notification settings - Fork 6
/
.mega-linter.yml
40 lines (40 loc) · 1.42 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
---
PRINT_ALPACA: false
SHOW_ELAPSED_TIME: true
EXCLUDED_DIRECTORIES: [".git", ".changes"]
IGNORE_GITIGNORED_FILES: true
ENABLE:
- ACTION
- DOCKERFILE
- EDITORCONFIG
- JSON
- MARKDOWN
- PHP
- YAML
DISABLE_LINTERS:
- JSON_PRETTIER
- JSON_V8R
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- MARKDOWN_MARKDOWN_LINK_CHECK
- PHP_BUILTIN
- PHP_PHPCSFIXER
- PHP_PSALM
- YAML_V8R
DOCKERFILE_HADOLINT_ARGUMENTS: "-t error"
EDITORCONFIG_EDITORCONFIG_CHECKER_CLI_LINT_MODE: project
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: ".markdown-lint.json"
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: "(\\.github)"
PHP_PHPSTAN_CLI_LINT_MODE: project # to avoid https://github.com/nvuillam/mega-linter/issues/725
PHP_PHPSTAN_DISABLE_ERRORS: true # because this project is not yet compatible with PHPStan 2.0 embedded with MegaLinter 8.2.0 or greater
PHP_PHPCS_CLI_LINT_MODE: project
PHP_PHPCS_CONFIG_FILE: ".phpcs.xml.dist"
PHP_PHPCS_ARGUMENTS: "-n"
PHP_PHPLINT_CLI_LINT_MODE: project
PHP_PHPLINT_ARGUMENTS: "--no-cache"
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(\\.github|mkdocs\\.yml|\\.mega-linter\\.yml|\\.changie\\.yaml)" # As it cannot be added in .gitignore for ML actionlint linter
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "(\\.github|mkdocs\\.yml)" # As it cannot be added in .gitignore for ML actionlint linter
CONFIG_REPORTER: false
UPDATED_SOURCES_REPORTER: false
CONSOLE_REPORTER: true
LOG_LEVEL: INFO
PRINT_ALL_FILES: false