-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mega-linter.yml
45 lines (44 loc) · 2.05 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
# Configuration file for Mega-Linter
# See all available variables at https://nvuillam.github.io/mega-linter/configuration/ and in linters documentation
APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling formats will be disabled by default
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
ENABLE:
- MARKDOWN
- TYPESCRIPT
- JAVASCRIPT
DISABLE_LINTERS:
- JAVASCRIPT_STANDARD
- JAVASCRIPT_ES
- TYPESCRIPT_STANDARD
- TYPESCRIPT_ES
EXCLUDED_DIRECTORIES:
- .github
- .dependabot
- .husky
- .idea
- coverage
- dist
- docker
FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|docs/javascripts|docs/overrides|docs/json-schemas|\.all-sponsorsrc|\.all-membersrc|\.all-contributorsrc|flavors|clj-kondo|TEMPLATES)'
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml)'
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml|mkdocs\.yml)'
YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml)'
BASH_FILTER_REGEX_EXCLUDE: '(lib)'
MARKDOWN_FILTER_REGEX_EXCLUDE: '(license\.md)'
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.automation/generated|docs/descriptors)'
DOCKERFILE_HADOLINT_ARGUMENTS:
'--ignore DL3003 --ignore DL3007 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3028 --ignore
DL4001 --ignore DL4006 --ignore SC2015 --ignore SC2016 --ignore SC2039 --ignore SC2086 --ignore SC1091'
SHOW_ELAPSED_TIME: true
EMAIL_REPORTER_EMAIL: hi@nullables.io
FILEIO_REPORTER: true
PLUGINS:
- https://raw.githubusercontent.com/nvuillam/mega-linter/master/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml
PRE_COMMANDS:
- command: echo "This is Mega-Linter PRE_COMMAND on own Mega-Linter ! :)"
cwd: 'root'
POST_COMMANDS:
- command: echo "This is Mega-Linter POST_COMMAND on own Mega-Linter ! :)"
cwd: 'workspace'