diff --git a/docs/json-schemas/configuration.html b/docs/json-schemas/configuration.html index 979388fc3e1..f43ad41a625 100644 --- a/docs/json-schemas/configuration.html +++ b/docs/json-schemas/configuration.html @@ -11,11 +11,13 @@ -
MegaLinter configuration file
No Additional Properties @@ -45,7 +47,7 @@ACTION_ACTIONLINT: User custom arguments to add in linter CLI call
@@ -53,7 +55,7 @@ACTION_ACTIONLINT: User custom arguments to remove before calling linter
+ + + + + + + No Additional ItemsACTION_ACTIONLINT: User custom config file name if different from default
@@ -177,8 +302,9 @@Directory that must be found to activate linter. Use value "any" to always activate
+ @@ -210,7 +336,7 @@"workspace"
"pylint"
-
"flake8"
-
[
+ {
+ "command": "tflint --init",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
ACTION_ACTIONLINT: Path where to find linter configuration file
+ + + + + + + +List of env variables explicitly not filtered before calling ACTION_ACTIONLINT and its pre/post commands
+ + + + + + + No Additional ItemsCommand information
+ + + + + + + + + +"pylint"
+
"npm run test"
-"flake8"
+
"echo \"This is a custom command\""
+
+
+
+
"root"
+
"workspace"
[
+
[
{
- "command": "tflint --init",
+ "command": "npm run test",
"continue_if_failed": false,
"cwd": "workspace"
}
@@ -1015,18 +1427,18 @@
Command information
+ + + + + +"npm run test"
+
"echo \"This is a custom command\""
+
"root"
+
"workspace"
+
[
+ {
+ "command": "composer install",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
List of additional excluded directory basenames to add to MegaLinter default excluded directories. They are excluded at any nested level.
@@ -1144,7 +1686,7 @@ANSIBLEANSIBLELINT: User custom arguments to add in linter CLI call
@@ -1212,7 +1754,7 @@ANSIBLEANSIBLELINT: User custom arguments to remove before calling linter
+ + + + + + + No Additional ItemsANSIBLEANSIBLELINT: User custom config file name if different from default
@@ -1300,8 +1965,9 @@Directory that must be found to activate linter. Use value "any" to always activate
+ @@ -1333,7 +1999,7 @@ANSIBLEANSIBLELINT: User custom config file name if different from default
@@ -1494,14 +2160,14 @@"workspace"
"pylint"
-
"flake8"
-
"workspace"
"pylint"
-
"flake8"
-
ANSIBLEANSIBLELINT: Path where to find linter configuration file
@@ -2140,18 +2700,18 @@List of env variables explicitly not filtered before calling ANSIBLEANSIBLELINT and its pre/post commands
+ + + + + + + No Additional Items'all' to apply formatting and auto-fixes of all linters, or a list of linter keys
- + ANSIBLE_FILTER_REGEX_INCLUDE"all"
-
"none"
-
[
- "JAVASCRIPT_ES",
- "MARKDOWN_MARKDOWNLINT"
-]
-
ARMARMTTK: User custom arguments to add in linter CLI call
- + ANSIBLE_POST_COMMANDSARMARMTTK: User custom config file name if different from default
- - - - - - - -"npm run test"
+
"echo \"This is a custom command\""
+
"root"
+
"workspace"
+
ARMARMTTK: User custom config file name if different from default
- - - - - - - +[
+ {
+ "command": "npm run test",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
"Dockerfile(-.+)?"
-
"Jenkinsfile"
-
"npm run test"
+
"root"
-"echo \"This is a custom command\""
+
"workspace"
[
+ {
+ "command": "composer install",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
Command information
+ + + -"root"
-
"workspace"
-
"pylint"
+
"npm run test"
-"flake8"
+
"echo \"This is a custom command\""
[
- {
- "command": "npm run test",
- "continue_if_failed": false,
- "cwd": "workspace"
- }
-]
-
"npm run test"
+
"root"
-"echo \"This is a custom command\""
+
"workspace"
[
+ {
+ "command": "npm run test",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
"root"
+
"npm run test"
-"workspace"
+
"echo \"This is a custom command\""
"pylint"
+
"root"
-"flake8"
+
"workspace"
@@ -3263,9 +3834,9 @@
[
+
[
{
- "command": "tflint --init",
+ "command": "composer install",
"continue_if_failed": false,
"cwd": "workspace"
}
@@ -3276,18 +3847,18 @@
API_SPECTRAL: User custom arguments to add in linter CLI call
- -Posts MegaLinter results summary in the comments of the related pull request (if existing)
- + API_SPECTRAL_CLI_EXECUTABLE + + API_SPECTRAL_CLI_EXECUTABLE itemsBASH_EXEC: User custom arguments to add in linter CLI call
+ API_SPECTRAL_COMMAND_REMOVE_ARGUMENTSAPI_SPECTRAL: User custom arguments to remove before calling linter
-API_SPECTRAL: User custom config file name if different from default
+ @@ -3544,18 +4102,18 @@"Dockerfile(-.+)?"
+
"Dockerfile(-.+)?"
-"Jenkinsfile"
+
"Jenkinsfile"
Command information
@@ -3862,18 +4420,18 @@"npm run test"
+
"npm run test"
-"echo \"This is a custom command\""
+
"echo \"This is a custom command\""
"root"
-
"workspace"
-
"pylint"
+
"root"
-"flake8"
+
"workspace"
@@ -4074,7 +4579,7 @@
[
+
[
{
"command": "npm run test",
"continue_if_failed": false,
@@ -4087,18 +4592,18 @@
Command information
@@ -4145,18 +4650,18 @@"npm run test"
+
"npm run test"
-"echo \"This is a custom command\""
+
"echo \"This is a custom command\""
"root"
+
"root"
-"workspace"
+
"workspace"
+
+
+
+
[
+ {
+ "command": "tflint --init",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
API_SPECTRAL: Path where to find linter configuration file
+ + + + + + + +List of env variables explicitly not filtered before calling API_SPECTRAL and its pre/post commands
+ + + + + + + No Additional Items"pylint"
-
"flake8"
-
[
- {
- "command": "tflint --init",
- "continue_if_failed": false,
- "cwd": "workspace"
- }
+
+
+
+
+ Apply linters formatting and auto-fixes
Type: array or string Default: "none"
+'all' to apply formatting and auto-fixes of all linters, or a list of linter keys
+
+
+
+
+
+
+ No Additional Items
+Examples:
+
"all"
+
+"none"
+
+[
+ "JAVASCRIPT_ES",
+ "MARKDOWN_MARKDOWNLINT"
]
@@ -4370,18 +4963,18 @@
ARMARMTTK: User custom arguments to add in linter CLI call
+ + + + + + + No Additional ItemsBASH_SHELLCHECK: User custom arguments to add in linter CLI call
+ ARM_ARM_TTK_CLI_LINT_MODEARMARMTTK: User custom arguments to remove before calling linter
-ARMARMTTK: User custom config file name if different from default
+ @@ -4534,18 +5218,18 @@ARMARMTTK: User custom config file name if different from default
+ + + + + + + +"Dockerfile(-.+)?"
+
"Dockerfile(-.+)?"
-"Jenkinsfile"
+
"Jenkinsfile"
Command information
@@ -4852,18 +5570,18 @@"npm run test"
+
"npm run test"
-"echo \"This is a custom command\""
+
"echo \"This is a custom command\""
"root"
-
"workspace"
-
"pylint"
+
"root"
-"flake8"
+
"workspace"
@@ -5064,7 +5729,7 @@
[
+
[
{
"command": "npm run test",
"continue_if_failed": false,
@@ -5077,18 +5742,18 @@
Command information
@@ -5135,18 +5800,18 @@"npm run test"
+
"npm run test"
-"echo \"This is a custom command\""
+
"echo \"This is a custom command\""
"root"
+
"root"
-"workspace"
+
"workspace"
+
+
+
+
[
+ {
+ "command": "tflint --init",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
ARMARMTTK: Path where to find linter configuration file
+ -"pylint"
-
"flake8"
-
[
- {
- "command": "tflint --init",
- "continue_if_failed": false,
- "cwd": "workspace"
- }
-]
-
BASH_SHFMT: User custom arguments to add in linter CLI call
+ ARM_ARM_TTK_UNSECURED_ENV_VARIABLESList of env variables explicitly not filtered before calling ARMARMTTK and its pre/post commands
-"Dockerfile(-.+)?"
+
"npm run test"
-"Jenkinsfile"
+
"echo \"This is a custom command\""
"root"
+
"workspace"
+
[
+ {
+ "command": "npm run test",
+ "continue_if_failed": false,
+ "cwd": "workspace"
+ }
+]
+
Command information
@@ -5776,18 +6422,18 @@"npm run test"
+
"npm run test"
-"echo \"This is a custom command\""
+
"echo \"This is a custom command\""