-
Notifications
You must be signed in to change notification settings - Fork 20
/
.mega-linter.yml
36 lines (36 loc) · 1.36 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
PRINT_ALPACA: false
SHOW_ELAPSED_TIME: true
EXCLUDED_DIRECTORIES: [".git", ".changes"]
IGNORE_GITIGNORED_FILES: true
ENABLE:
- ACTION
- EDITORCONFIG
- JSON
- MARKDOWN
- PHP
- YAML
DISABLE_LINTERS:
- JSON_JSONLINT
- JSON_V8R
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- MARKDOWN_MARKDOWN_LINK_CHECK
- PHP_BUILTIN
- PHP_PSALM
EDITORCONFIG_EDITORCONFIG_CHECKER_CLI_LINT_MODE: project
JSON_PRETTIER_FILTER_REGEX_EXCLUDE: "(composer.json)"
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: "(\\.github)"
PHP_PHPSTAN_CLI_LINT_MODE: project # to avoid https://github.com/nvuillam/mega-linter/issues/725
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: "(mkdocs\\.yml|\\.github|\\.mega-linter\\.yml|\\.changie\\.yaml)" # As it cannot be added in .gitignore for ML actionlint linter
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "(\\.github)" # As it cannot be added in .gitignore for ML actionlint linter
CONFIG_REPORTER: false
UPDATED_SOURCES_REPORTER: false
#TEXT_REPORTER: true # cannot be set to true, and should use default value (true), otherwise TAP REPORTER is also generated. See https://github.com/nvuillam/mega-linter/issues/744
CONSOLE_REPORTER: true
LOG_LEVEL: INFO
PRINT_ALL_FILES: false
PARALLEL: true