-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mega-linter.yml
120 lines (116 loc) · 2.57 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# See all available variables at https://megalinter.github.io/configuration/ and in linters documentation.
# Config
APPLY_FIXES: all
DEFAULT_BRANCH: main
FILEIO_REPORTER: false
IGNORE_GITIGNORED_FILES: true
PRINT_ALPACA: false
SHOW_ELAPSED_TIME: true
JAVASCRIPT_DEFAULT_STYLE: prettier
JAVASCRIPT_PRETTIER_FILE_EXTENSIONS:
- .js
- .jsx
TYPESCRIPT_DEFAULT_STYLE: prettier
TYPESCRIPT_PRETTIER_FILE_EXTENSIONS:
- .ts
- .tsx
# Commands
PRE_COMMANDS:
- command: npm install
cwd: workspace
# Linters
ENABLE_LINTERS:
- ACTION_ACTIONLINT # GitHub actions
# - ANSIBLE_ANSIBLE_LINT
# - ARM_ARM_TTK
- BASH_EXEC
- BASH_SHELLCHECK
- BASH_SHFMT
- C_CPPLINT
# - CLOJURE_CLJ_KONDO
# - CLOUDFORMATION_CFN_LINT
# - COFFEE_COFFEELINT
# - COPYPASTE_JSCPD
- CPP_CPPLINT
- CREDENTIALS_SECRETLINT
- CSHARP_DOTNET_FORMAT
- CSS_STYLELINT
# - CSS_SCSS_LINT
# - DART_DARTANALYZER
- DOCKERFILE_DOCKERFILELINT
- DOCKERFILE_HADOLINT
# - EDITORCONFIG_EDITORCONFIG_CHECKER
- ENV_DOTENV_LINTER
# - GHERKIN_GHERKIN_LINT
- GIT_GIT_DIFF
- GO_GOLANGCI_LINT
- GO_REVIVE
- GRAPHQL_GRAPHQL_SCHEMA_LINTER
- GROOVY_NPM_GROOVY_LINT
- HTML_HTMLHINT
- JAVA_CHECKSTYLE
- JAVASCRIPT_ES
# - JAVASCRIPT_STANDARD
- JAVASCRIPT_PRETTIER
- JSON_JSONLINT
- JSON_ESLINT_PLUGIN_JSONC
- JSON_V8R
- JSON_PRETTIER
- JSX_ESLINT
- KOTLIN_KTLINT
# - KUBERNETES_KUBEVAL
- LATEX_CHKTEX
# - LUA_LUACHECK
- MARKDOWN_MARKDOWNLINT
- MARKDOWN_REMARK_LINT
# - MARKDOWN_MARKDOWN_LINK_CHECK
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- OPENAPI_SPECTRAL
# - PERL_PERLCRITIC
# - PHP_BUILTIN
# - PHP_PHPCS
# - PHP_PHPSTAN
# - PHP_PSALM
- POWERSHELL_POWERSHELL
# - PROTOBUF_PROTOLINT
# - PUPPET_PUPPET_LINT
# - PYTHON_BANDIT
- PYTHON_BLACK
# - PYTHON_FLAKE8
- PYTHON_ISORT
- PYTHON_MYPY
# - PYTHON_PYLINT
- R_LINTR
# - RAKU_RAKU
- RST_RST_LINT
- RST_RSTCHECK
- RST_RSTFMT
# - RUBY_RUBOCOP
- RUST_CLIPPY
# - SALESFORCE_SFDX_SCANNER_APEX
# - SALESFORCE_SFDX_SCANNER_AURA
# - SALESFORCE_SFDX_SCANNER_LWC
# - SCALA_SCALAFIX
# - SNAKEMAKE_LINT
# - SNAKEMAKE_SNAKEFMT
# - SPELL_MISSPELL
# - SPELL_CSPELL
- SQL_SQL_LINT
- SQL_SQLFLUFF
- SQL_TSQLLINT
# - SWIFT_SWIFTLINT
# - TEKTON_TEKTON_LINT
# - TERRAFORM_TFLINT
# - TERRAFORM_TERRASCAN
# - TERRAFORM_TERRAGRUNT
# - TERRAFORM_TERRAFORM_FMT
# - TERRAFORM_CHECKOV
- TSX_ESLINT
- TYPESCRIPT_ES
- TYPESCRIPT_STANDARD
- TYPESCRIPT_PRETTIER
# - VBDOTNET_DOTNET_FORMAT
- XML_XMLLINT
- YAML_PRETTIER
- YAML_YAMLLINT
- YAML_V8R