Command

Type: object

MegaLinter configuration file

No Additional Properties

ACTION_ACTIONLINT: Custom arguments

Type: array of string or string

ACTION_ACTIONLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

ACTION_ACTIONLINT: CLI Executable

Type: array of string Default: [["actionlint"]]
No Additional Items

Each item of this array must be:

ACTION_ACTIONLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

ACTION_ACTIONLINT: Custom remove arguments

Type: array of string or string

ACTION_ACTIONLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

ACTION_ACTIONLINT: Custom config file name

Type: string Default: "actionlint.yml"

ACTION_ACTIONLINT: User custom config file name if different from default

ACTION_ACTIONLINT: Directory containing ACTION files

Type: string Default: ".github/workflows"

Directory that must be found to activate linter. Use value "any" to always activate

ACTION_ACTIONLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

ACTION_ACTIONLINT: Maximum number of errors allowed

Type: number Default: 0

ACTION_ACTIONLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

ACTION_ACTIONLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

ACTION_ACTIONLINT: Excluding Regex

Type: string

ACTION_ACTIONLINT: Including Regex

Type: string

ACTION_ACTIONLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ACTION_ACTIONLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ACTION_ACTIONLINT: Custom config file path

Type: string

ACTION_ACTIONLINT: Path where to find linter configuration file

ACTION_ACTIONLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling ACTION_ACTIONLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for ACTION descriptor

Type: string

Including regex filter for ACTION descriptor

Type: string

Post commands for ACTION descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for ACTION descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Additional excluded directories

Type: array of string

List of additional excluded directory basenames to add to MegaLinter default excluded directories. They are excluded at any nested level.

No Additional Items

Each item of this array must be:


Example:

[
    "test"
]

ANSIBLE_ANSIBLE_LINT: Custom arguments

Type: array of string or string

ANSIBLEANSIBLELINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

ANSIBLE_ANSIBLE_LINT: CLI Executable

Type: array of string Default: [["ansible-lint"]]
No Additional Items

Each item of this array must be:

ANSIBLE_ANSIBLE_LINT: Custom remove arguments

Type: array of string or string

ANSIBLEANSIBLELINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

ANSIBLE_ANSIBLE_LINT: Custom config file name

Type: string Default: ".ansible-lint"

ANSIBLEANSIBLELINT: User custom config file name if different from default

ANSIBLE_ANSIBLE_LINT: Directory containing ANSIBLE files

Type: string Default: "ansible"

Directory that must be found to activate linter. Use value "any" to always activate

ANSIBLE_ANSIBLE_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

ANSIBLE_ANSIBLE_LINT: Maximum number of errors allowed

Type: number Default: 0

ANSIBLE_ANSIBLE_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

ANSIBLE_ANSIBLE_LINT: Custom config file name

Type: string Default: ".ansible-lint.yml"

ANSIBLEANSIBLELINT: User custom config file name if different from default

ANSIBLE_ANSIBLE_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

ANSIBLE_ANSIBLE_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ANSIBLE_ANSIBLE_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ANSIBLE_ANSIBLE_LINT: Custom config file path

Type: string

ANSIBLEANSIBLELINT: Path where to find linter configuration file

ANSIBLE_ANSIBLE_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling ANSIBLEANSIBLELINT and its pre/post commands

No Additional Items

Each item of this array must be:

ANSIBLE_DIRECTORY: Directory containing ANSIBLE files

Type: string Default: "ansible"

Excluding regex filter for ANSIBLE descriptor

Type: string

Including regex filter for ANSIBLE descriptor

Type: string

Post commands for ANSIBLE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for ANSIBLE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for API descriptor

Type: string

Including regex filter for API descriptor

Type: string

Post commands for API descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for API descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

API_SPECTRAL: Custom arguments

Type: array of string or string

API_SPECTRAL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

API_SPECTRAL: CLI Executable

Type: array of string Default: [["spectral"]]
No Additional Items

Each item of this array must be:

API_SPECTRAL: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

API_SPECTRAL: Custom remove arguments

Type: array of string or string

API_SPECTRAL: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

API_SPECTRAL: Custom config file name

Type: string Default: ".spectral.yaml"

API_SPECTRAL: User custom config file name if different from default

API_SPECTRAL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

API_SPECTRAL: Maximum number of errors allowed

Type: number Default: 0

API_SPECTRAL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

API_SPECTRAL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

API_SPECTRAL: Excluding Regex

Type: string

API_SPECTRAL: Including Regex

Type: string

API_SPECTRAL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

API_SPECTRAL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

API_SPECTRAL: Custom config file path

Type: string

API_SPECTRAL: Path where to find linter configuration file

API_SPECTRAL: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling API_SPECTRAL and its pre/post commands

No Additional Items

Each item of this array must be:

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"
]

ARM_ARM_TTK: Custom arguments

Type: array of string or string

ARMARMTTK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

ARM_ARM_TTK: CLI Executable

Type: array of string Default: [["arm-ttk"]]
No Additional Items

Each item of this array must be:

ARM_ARM_TTK: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

ARM_ARM_TTK: Custom remove arguments

Type: array of string or string

ARMARMTTK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

ARM_ARM_TTK: Custom config file name

Type: string Default: ".arm-ttk.psd1"

ARMARMTTK: User custom config file name if different from default

ARM_ARM_TTK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

ARM_ARM_TTK: Maximum number of errors allowed

Type: number Default: 0

ARM_ARM_TTK: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

ARM_ARM_TTK: Custom config file name

Type: string Default: ".arm-ttk.psd1"

ARMARMTTK: User custom config file name if different from default

ARM_ARM_TTK: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

ARM_ARM_TTK: Excluding Regex

Type: string

ARM_ARM_TTK: Including Regex

Type: string

ARM_ARM_TTK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ARM_ARM_TTK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ARM_ARM_TTK: Custom config file path

Type: string

ARMARMTTK: Path where to find linter configuration file

ARM_ARM_TTK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling ARMARMTTK and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for ARM descriptor

Type: string

Including regex filter for ARM descriptor

Type: string

Post commands for ARM descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for ARM descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Activate Azure PR Comments reporter

Type: boolean Default: true

Posts MegaLinter results summary in the comments of the related pull request (if existing)

BASH_EXEC: Custom arguments

Type: array of string or string

BASH_EXEC: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

BASH_EXEC: CLI Executable

Type: array of string Default: [["bash-exec"]]
No Additional Items

Each item of this array must be:

BASH_EXEC: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

BASH_EXEC: Custom remove arguments

Type: array of string or string

BASH_EXEC: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

BASH_EXEC: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

BASH_EXEC: Maximum number of errors allowed

Type: number Default: 0

BASH_EXEC: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

BASH_EXEC: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

BASH_EXEC: Excluding Regex

Type: string

BASH_EXEC: Including Regex

Type: string

BASH_EXEC: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_EXEC: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_EXEC: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling BASH_EXEC and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for BASH descriptor

Type: string

Including regex filter for BASH descriptor

Type: string

Post commands for BASH descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for BASH descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_SHELLCHECK: Custom arguments

Type: array of string or string

BASH_SHELLCHECK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

BASH_SHELLCHECK: CLI Executable

Type: array of string Default: [["shellcheck"]]
No Additional Items

Each item of this array must be:

BASH_SHELLCHECK: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

BASH_SHELLCHECK: Custom remove arguments

Type: array of string or string

BASH_SHELLCHECK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

BASH_SHELLCHECK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

BASH_SHELLCHECK: Maximum number of errors allowed

Type: number Default: 0

BASH_SHELLCHECK: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

BASH_SHELLCHECK: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

BASH_SHELLCHECK: Excluding Regex

Type: string

BASH_SHELLCHECK: Including Regex

Type: string

BASH_SHELLCHECK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_SHELLCHECK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_SHELLCHECK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling BASH_SHELLCHECK and its pre/post commands

No Additional Items

Each item of this array must be:

BASH_SHFMT: Custom arguments

Type: array of string or string

BASH_SHFMT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

BASH_SHFMT: CLI Executable

Type: array of string Default: [["shfmt"]]
No Additional Items

Each item of this array must be:

BASH_SHFMT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

BASH_SHFMT: Custom remove arguments

Type: array of string or string

BASH_SHFMT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

BASH_SHFMT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

BASH_SHFMT: Maximum number of errors allowed

Type: number Default: 0

BASH_SHFMT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

BASH_SHFMT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

BASH_SHFMT: Excluding Regex

Type: string

BASH_SHFMT: Including Regex

Type: string

BASH_SHFMT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_SHFMT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BASH_SHFMT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling BASH_SHFMT and its pre/post commands

No Additional Items

Each item of this array must be:

BICEP_BICEP_LINTER: Custom arguments

Type: array of string or string

BICEPBICEPLINTER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

BICEP_BICEP_LINTER: CLI Executable

Type: array of string Default: [["bicep"]]
No Additional Items

Each item of this array must be:

BICEP_BICEP_LINTER: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

BICEP_BICEP_LINTER: Custom remove arguments

Type: array of string or string

BICEPBICEPLINTER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

BICEP_BICEP_LINTER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

BICEP_BICEP_LINTER: Maximum number of errors allowed

Type: number Default: 0

BICEP_BICEP_LINTER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

BICEP_BICEP_LINTER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

BICEP_BICEP_LINTER: Excluding Regex

Type: string

BICEP_BICEP_LINTER: Including Regex

Type: string

BICEP_BICEP_LINTER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BICEP_BICEP_LINTER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

BICEP_BICEP_LINTER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling BICEPBICEPLINTER and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for BICEP descriptor

Type: string

Including regex filter for BICEP descriptor

Type: string

Post commands for BICEP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for BICEP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Activate Bitbucket PR Comments reporter

Type: boolean Default: true

Posts Mega-Linter results summary in the comments of the related pull request (if existing)

Overwrite Bitbucket Pull Request Comment

Type: boolean Default: true

Set to false to disable the overwrite of existing MegaLinter Pull Request comment in case of new run

Clear Report Folder

Type: boolean Default: false

Flag to clear files from report folder (usually megalinter-reports) before starting the linting process

CLOJURE_CLJSTYLE: Custom arguments

Type: array of string or string

CLOJURE_CLJSTYLE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CLOJURE_CLJSTYLE: CLI Executable

Type: array of string Default: [["cljstyle"]]
No Additional Items

Each item of this array must be:

CLOJURE_CLJSTYLE: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

CLOJURE_CLJSTYLE: Custom remove arguments

Type: array of string or string

CLOJURE_CLJSTYLE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CLOJURE_CLJSTYLE: Custom config file name

Type: string Default: ".cljstyle"

CLOJURE_CLJSTYLE: User custom config file name if different from default

CLOJURE_CLJSTYLE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CLOJURE_CLJSTYLE: Maximum number of errors allowed

Type: number Default: 0

CLOJURE_CLJSTYLE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CLOJURE_CLJSTYLE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CLOJURE_CLJSTYLE: Excluding Regex

Type: string

CLOJURE_CLJSTYLE: Including Regex

Type: string

CLOJURE_CLJSTYLE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOJURE_CLJSTYLE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOJURE_CLJSTYLE: Custom config file path

Type: string

CLOJURE_CLJSTYLE: Path where to find linter configuration file

CLOJURE_CLJSTYLE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CLOJURE_CLJSTYLE and its pre/post commands

No Additional Items

Each item of this array must be:

CLOJURE_CLJ_KONDO: Custom arguments

Type: array of string or string

CLOJURECLJKONDO: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CLOJURE_CLJ_KONDO: CLI Executable

Type: array of string Default: [["clj-kondo"]]
No Additional Items

Each item of this array must be:

CLOJURE_CLJ_KONDO: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

CLOJURE_CLJ_KONDO: Custom remove arguments

Type: array of string or string

CLOJURECLJKONDO: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CLOJURE_CLJ_KONDO: Custom config file name

Type: string Default: ".clj-kondo/config.edn"

CLOJURECLJKONDO: User custom config file name if different from default

CLOJURE_CLJ_KONDO: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CLOJURE_CLJ_KONDO: Maximum number of errors allowed

Type: number Default: 0

CLOJURE_CLJ_KONDO: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CLOJURE_CLJ_KONDO: Custom config file name

Type: string Default: ".clj-kondo/config.edn"

CLOJURECLJKONDO: User custom config file name if different from default

CLOJURE_CLJ_KONDO: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CLOJURE_CLJ_KONDO: Excluding Regex

Type: string

CLOJURE_CLJ_KONDO: Including Regex

Type: string

CLOJURE_CLJ_KONDO: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOJURE_CLJ_KONDO: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOJURE_CLJ_KONDO: Custom config file path

Type: string

CLOJURECLJKONDO: Path where to find linter configuration file

CLOJURE_CLJ_KONDO: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CLOJURECLJKONDO and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for CLOJURE descriptor

Type: string

Including regex filter for CLOJURE descriptor

Type: string

Post commands for CLOJURE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for CLOJURE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOUDFORMATION_CFN_LINT: Custom arguments

Type: array of string or string

CLOUDFORMATIONCFNLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CLOUDFORMATION_CFN_LINT: CLI Executable

Type: array of string Default: [["cfn-lint"]]
No Additional Items

Each item of this array must be:

CLOUDFORMATION_CFN_LINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

CLOUDFORMATION_CFN_LINT: Custom remove arguments

Type: array of string or string

CLOUDFORMATIONCFNLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CLOUDFORMATION_CFN_LINT: Custom config file name

Type: string Default: ".cfnlintrc.yml"

CLOUDFORMATIONCFNLINT: User custom config file name if different from default

CLOUDFORMATION_CFN_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CLOUDFORMATION_CFN_LINT: Maximum number of errors allowed

Type: number Default: 0

CLOUDFORMATION_CFN_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CLOUDFORMATION_CFN_LINT: Custom config file name

Type: string Default: ".cfnlintrc.yml"

CLOUDFORMATIONCFNLINT: User custom config file name if different from default

CLOUDFORMATION_CFN_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CLOUDFORMATION_CFN_LINT: Excluding Regex

Type: string

CLOUDFORMATION_CFN_LINT: Including Regex

Type: string

CLOUDFORMATION_CFN_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOUDFORMATION_CFN_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CLOUDFORMATION_CFN_LINT: Custom config file path

Type: string

CLOUDFORMATIONCFNLINT: Path where to find linter configuration file

CLOUDFORMATION_CFN_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CLOUDFORMATIONCFNLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for CLOUDFORMATION descriptor

Type: string

Including regex filter for CLOUDFORMATION descriptor

Type: string

Post commands for CLOUDFORMATION descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for CLOUDFORMATION descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

COFFEE_COFFEELINT: Custom arguments

Type: array of string or string

COFFEE_COFFEELINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

COFFEE_COFFEELINT: CLI Executable

Type: array of string Default: [["coffeelint"]]
No Additional Items

Each item of this array must be:

COFFEE_COFFEELINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

COFFEE_COFFEELINT: Custom remove arguments

Type: array of string or string

COFFEE_COFFEELINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

COFFEE_COFFEELINT: Custom config file name

Type: string Default: ".coffee-lint.json"

COFFEE_COFFEELINT: User custom config file name if different from default

COFFEE_COFFEELINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

COFFEE_COFFEELINT: Maximum number of errors allowed

Type: number Default: 0

COFFEE_COFFEELINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

COFFEE_COFFEELINT: Custom config file name

Type: string Default: ".coffee-lint.json"

COFFEE_COFFEELINT: User custom config file name if different from default

COFFEE_COFFEELINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

COFFEE_COFFEELINT: Excluding Regex

Type: string

COFFEE_COFFEELINT: Including Regex

Type: string

COFFEE_COFFEELINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

COFFEE_COFFEELINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

COFFEE_COFFEELINT: Custom config file path

Type: string

COFFEE_COFFEELINT: Path where to find linter configuration file

COFFEE_COFFEELINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling COFFEE_COFFEELINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for COFFEE descriptor

Type: string

Including regex filter for COFFEE descriptor

Type: string

Post commands for COFFEE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for COFFEE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

List of configuration properties to append their values

Type: array of string

List of configuration properties to append their values (instead of replacing them) in case of using EXTENDS.

No Additional Items

Each item of this array must be:


Example:

[
    "ENABLE_LINTERS"
]

Activate local configuration reporter

Type: boolean Default: true

Generates a folder IDE-config located in report folder, containing default MegaLinter configuration files used during the linting, and updated VSCode extensions.js config file

Output folder for IDE configuration files within report folder

Type: string Default: "IDE-config"

Activate console reporter

Type: boolean Default: true

Activate console logs sections

Type: boolean Default: true

Define to false if you do not want logs to be organized in sections

Excluding regex filter for COPYPASTE descriptor

Type: string

Including regex filter for COPYPASTE descriptor

Type: string

COPYPASTE_JSCPD: Custom arguments

Type: array of string or string

COPYPASTE_JSCPD: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

COPYPASTE_JSCPD: CLI Executable

Type: array of string Default: [["jscpd"]]
No Additional Items

Each item of this array must be:

COPYPASTE_JSCPD: Custom remove arguments

Type: array of string or string

COPYPASTE_JSCPD: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

COPYPASTE_JSCPD: Custom config file name

Type: string Default: ".jscpd.json"

COPYPASTE_JSCPD: User custom config file name if different from default

COPYPASTE_JSCPD: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

COPYPASTE_JSCPD: Maximum number of errors allowed

Type: number Default: 0

COPYPASTE_JSCPD: Custom config file name

Type: string Default: ".jscpd.json"

COPYPASTE_JSCPD: User custom config file name if different from default

COPYPASTE_JSCPD: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

COPYPASTE_JSCPD: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

COPYPASTE_JSCPD: Custom config file path

Type: string

COPYPASTE_JSCPD: Path where to find linter configuration file

COPYPASTE_JSCPD: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling COPYPASTE_JSCPD and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for COPYPASTE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for COPYPASTE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CPP_CLANG_FORMAT: Custom arguments

Type: array of string or string

CPPCLANGFORMAT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CPP_CLANG_FORMAT: CLI Executable

Type: array of string Default: [["clang-format"]]
No Additional Items

Each item of this array must be:

CPP_CLANG_FORMAT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

CPP_CLANG_FORMAT: Custom remove arguments

Type: array of string or string

CPPCLANGFORMAT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CPP_CLANG_FORMAT: Custom config file name

Type: string Default: ".clang-format"

CPPCLANGFORMAT: User custom config file name if different from default

CPP_CLANG_FORMAT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CPP_CLANG_FORMAT: Maximum number of errors allowed

Type: number Default: 0

CPP_CLANG_FORMAT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CPP_CLANG_FORMAT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CPP_CLANG_FORMAT: Excluding Regex

Type: string

CPP_CLANG_FORMAT: Including Regex

Type: string

CPP_CLANG_FORMAT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CPP_CLANG_FORMAT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CPP_CLANG_FORMAT: Custom config file path

Type: string

CPPCLANGFORMAT: Path where to find linter configuration file

CPP_CLANG_FORMAT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CPPCLANGFORMAT and its pre/post commands

No Additional Items

Each item of this array must be:

CPP_CPPLINT: Custom arguments

Type: array of string or string

CPP_CPPLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CPP_CPPLINT: CLI Executable

Type: array of string Default: [["cpplint"]]
No Additional Items

Each item of this array must be:

CPP_CPPLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

CPP_CPPLINT: Custom remove arguments

Type: array of string or string

CPP_CPPLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CPP_CPPLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CPP_CPPLINT: Maximum number of errors allowed

Type: number Default: 0

CPP_CPPLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CPP_CPPLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CPP_CPPLINT: Excluding Regex

Type: string

CPP_CPPLINT: Including Regex

Type: string

CPP_CPPLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CPP_CPPLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CPP_CPPLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CPP_CPPLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for CPP descriptor

Type: string

Including regex filter for CPP descriptor

Type: string

Post commands for CPP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for CPP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for CREDENTIALS descriptor

Type: string

Including regex filter for CREDENTIALS descriptor

Type: string

(removed) CREDENTIALS_SECRETLINT: Custom arguments

Type: array of string or string

CREDENTIALS_SECRETLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) CREDENTIALS_SECRETLINT: Custom config file name

Type: string Default: ".secretlintrc.json"

CREDENTIALS_SECRETLINT: User custom config file name if different from default

(removed) CREDENTIALS_SECRETLINT: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) CREDENTIALS_SECRETLINT: Maximum number of errors allowed

Type: number Default: 0

(removed) CREDENTIALS_SECRETLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) CREDENTIALS_SECRETLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) CREDENTIALS_SECRETLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) CREDENTIALS_SECRETLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) CREDENTIALS_SECRETLINT: Custom config file path

Type: string

CREDENTIALS_SECRETLINT: Path where to find linter configuration file

CSHARP_CSHARPIER: Custom arguments

Type: array of string or string

CSHARP_CSHARPIER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CSHARP_CSHARPIER: CLI Executable

Type: array of string Default: [["dotnet-csharpier"]]
No Additional Items

Each item of this array must be:

CSHARP_CSHARPIER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

CSHARP_CSHARPIER: Custom remove arguments

Type: array of string or string

CSHARP_CSHARPIER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CSHARP_CSHARPIER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CSHARP_CSHARPIER: Maximum number of errors allowed

Type: number Default: 0

CSHARP_CSHARPIER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CSHARP_CSHARPIER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CSHARP_CSHARPIER: Excluding Regex

Type: string

CSHARP_CSHARPIER: Including Regex

Type: string

CSHARP_CSHARPIER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_CSHARPIER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_CSHARPIER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CSHARP_CSHARPIER and its pre/post commands

No Additional Items

Each item of this array must be:

CSHARP_DOTNET_FORMAT: Custom arguments

Type: array of string or string

CSHARPDOTNETFORMAT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CSHARP_DOTNET_FORMAT: CLI Executable

Type: array of string Default: [["dotnet"]]
No Additional Items

Each item of this array must be:

CSHARP_DOTNET_FORMAT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

CSHARP_DOTNET_FORMAT: Custom remove arguments

Type: array of string or string

CSHARPDOTNETFORMAT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CSHARP_DOTNET_FORMAT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CSHARP_DOTNET_FORMAT: Maximum number of errors allowed

Type: number Default: 0

CSHARP_DOTNET_FORMAT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CSHARP_DOTNET_FORMAT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CSHARP_DOTNET_FORMAT: Excluding Regex

Type: string

CSHARP_DOTNET_FORMAT: Including Regex

Type: string

CSHARP_DOTNET_FORMAT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_DOTNET_FORMAT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_DOTNET_FORMAT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CSHARPDOTNETFORMAT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for CSHARP descriptor

Type: string

Including regex filter for CSHARP descriptor

Type: string

Post commands for CSHARP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for CSHARP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_ROSLYNATOR: Custom arguments

Type: array of string or string

CSHARP_ROSLYNATOR: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CSHARP_ROSLYNATOR: CLI Executable

Type: array of string Default: [["roslynator"]]
No Additional Items

Each item of this array must be:

CSHARP_ROSLYNATOR: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

CSHARP_ROSLYNATOR: Custom remove arguments

Type: array of string or string

CSHARP_ROSLYNATOR: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CSHARP_ROSLYNATOR: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CSHARP_ROSLYNATOR: Maximum number of errors allowed

Type: number Default: 0

CSHARP_ROSLYNATOR: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CSHARP_ROSLYNATOR: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CSHARP_ROSLYNATOR: Excluding Regex

Type: string

CSHARP_ROSLYNATOR: Including Regex

Type: string

CSHARP_ROSLYNATOR: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_ROSLYNATOR: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSHARP_ROSLYNATOR: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CSHARP_ROSLYNATOR and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for CSS descriptor

Type: string

Including regex filter for CSS descriptor

Type: string

Post commands for CSS descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for CSS descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) CSS_SCSS_LINT: Custom arguments

Type: array of string or string

CSSSCSSLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(deprecated) CSS_SCSS_LINT: CLI Executable

Type: array of string Default: [["scss-lint"]]
No Additional Items

Each item of this array must be:

(deprecated) CSS_SCSS_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

(deprecated) CSS_SCSS_LINT: Custom remove arguments

Type: array of string or string

CSSSCSSLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

(deprecated) CSS_SCSS_LINT: Custom config file name

Type: string Default: ".scss-lint.yml"

CSSSCSSLINT: User custom config file name if different from default

(deprecated) CSS_SCSS_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(deprecated) CSS_SCSS_LINT: Maximum number of errors allowed

Type: number Default: 0

(deprecated) CSS_SCSS_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CSS_SCSS_LINT: Custom config file name

Type: string Default: ".scss-lint.yml"

CSSSCSSLINT: User custom config file name if different from default

(deprecated) CSS_SCSS_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(deprecated) CSS_SCSS_LINT: Excluding Regex

Type: string

(deprecated) CSS_SCSS_LINT: Including Regex

Type: string

(deprecated) CSS_SCSS_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) CSS_SCSS_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) CSS_SCSS_LINT: Custom config file path

Type: string

CSSSCSSLINT: Path where to find linter configuration file

(deprecated) CSS_SCSS_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CSSSCSSLINT and its pre/post commands

No Additional Items

Each item of this array must be:

CSS_STYLELINT: Custom arguments

Type: array of string or string

CSS_STYLELINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

CSS_STYLELINT: CLI Executable

Type: array of string Default: [["stylelint"]]
No Additional Items

Each item of this array must be:

CSS_STYLELINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

CSS_STYLELINT: Custom remove arguments

Type: array of string or string

CSS_STYLELINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

CSS_STYLELINT: Custom config file name

Type: string Default: ".stylelintrc.json"

CSS_STYLELINT: User custom config file name if different from default

CSS_STYLELINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

CSS_STYLELINT: Maximum number of errors allowed

Type: number Default: 0

CSS_STYLELINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

CSS_STYLELINT: Custom config file name

Type: string Default: ".stylelintrc.json"

CSS_STYLELINT: User custom config file name if different from default

CSS_STYLELINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

CSS_STYLELINT: Excluding Regex

Type: string

CSS_STYLELINT: Including Regex

Type: string

CSS_STYLELINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSS_STYLELINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

CSS_STYLELINT: Custom config file path

Type: string

CSS_STYLELINT: Path where to find linter configuration file

CSS_STYLELINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CSS_STYLELINT and its pre/post commands

No Additional Items

Each item of this array must be:

C_CLANG_FORMAT: Custom arguments

Type: array of string or string

CCLANGFORMAT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

C_CLANG_FORMAT: CLI Executable

Type: array of string Default: [["clang-format"]]
No Additional Items

Each item of this array must be:

C_CLANG_FORMAT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

C_CLANG_FORMAT: Custom remove arguments

Type: array of string or string

CCLANGFORMAT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

C_CLANG_FORMAT: Custom config file name

Type: string Default: ".clang-format"

CCLANGFORMAT: User custom config file name if different from default

C_CLANG_FORMAT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

C_CLANG_FORMAT: Maximum number of errors allowed

Type: number Default: 0

C_CLANG_FORMAT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

C_CLANG_FORMAT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

C_CLANG_FORMAT: Excluding Regex

Type: string

C_CLANG_FORMAT: Including Regex

Type: string

C_CLANG_FORMAT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

C_CLANG_FORMAT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

C_CLANG_FORMAT: Custom config file path

Type: string

CCLANGFORMAT: Path where to find linter configuration file

C_CLANG_FORMAT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling CCLANGFORMAT and its pre/post commands

No Additional Items

Each item of this array must be:

C_CPPLINT: Custom arguments

Type: array of string or string

C_CPPLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

C_CPPLINT: CLI Executable

Type: array of string Default: [["cpplint"]]
No Additional Items

Each item of this array must be:

C_CPPLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

C_CPPLINT: Custom remove arguments

Type: array of string or string

C_CPPLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

C_CPPLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

C_CPPLINT: Maximum number of errors allowed

Type: number Default: 0

C_CPPLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

C_CPPLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

C_CPPLINT: Excluding Regex

Type: string

C_CPPLINT: Including Regex

Type: string

C_CPPLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

C_CPPLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

C_CPPLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling C_CPPLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for C descriptor

Type: string

Including regex filter for C descriptor

Type: string

Post commands for C descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for C descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

DART_DARTANALYZER: Custom arguments

Type: array of string or string

DART_DARTANALYZER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

DART_DARTANALYZER: CLI Executable

Type: array of string Default: [["dartanalyzer"]]
No Additional Items

Each item of this array must be:

DART_DARTANALYZER: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

DART_DARTANALYZER: Custom remove arguments

Type: array of string or string

DART_DARTANALYZER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

DART_DARTANALYZER: Custom config file name

Type: string Default: "analysis_options.yml"

DART_DARTANALYZER: User custom config file name if different from default

DART_DARTANALYZER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

DART_DARTANALYZER: Maximum number of errors allowed

Type: number Default: 0

DART_DARTANALYZER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

DART_DARTANALYZER: Custom config file name

Type: string Default: "analysis_options.yml"

DART_DARTANALYZER: User custom config file name if different from default

DART_DARTANALYZER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

DART_DARTANALYZER: Excluding Regex

Type: string

DART_DARTANALYZER: Including Regex

Type: string

DART_DARTANALYZER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

DART_DARTANALYZER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

DART_DARTANALYZER: Custom config file path

Type: string

DART_DARTANALYZER: Path where to find linter configuration file

DART_DARTANALYZER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling DART_DARTANALYZER and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for DART descriptor

Type: string

Including regex filter for DART descriptor

Type: string

Post commands for DART descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for DART descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Default git branch

Type: string Default: "HEAD"

Deprecated: The name of the repository's default branch.


Examples:

"master"
"main"

Default Workspace

Type: string Default: "/tmp/lint"

The location containing files to lint if you are running as docker image

Disabled descriptor keys

Type: array

If DISABLE is set, the linters in the listed descriptors will be skipped

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION"
  • "ANSIBLE"
  • "API"
  • "ARM"
  • "BASH"
  • "BICEP"
  • "C"
  • "CLOJURE"
  • "CLOUDFORMATION"
  • "COFFEE"
  • "COPYPASTE"
  • "CPP"
  • "CREDENTIALS"
  • "CSHARP"
  • "CSS"
  • "DART"
  • "DOCKERFILE"
  • "EDITORCONFIG"
  • "ENV"
  • "GHERKIN"
  • "GIT"
  • "GO"
  • "GRAPHQL"
  • "GROOVY"
  • "HTML"
  • "JAVA"
  • "JAVASCRIPT"
  • "JSON"
  • "JSX"
  • "KOTLIN"
  • "KUBERNETES"
  • "LATEX"
  • "LUA"
  • "MAKEFILE"
  • "MARKDOWN"
  • "OPENAPI"
  • "PERL"
  • "PHP"
  • "POWERSHELL"
  • "PROTOBUF"
  • "PUPPET"
  • "PYTHON"
  • "R"
  • "RAKU"
  • "REPOSITORY"
  • "RST"
  • "RUBY"
  • "RUST"
  • "SALESFORCE"
  • "SCALA"
  • "SNAKEMAKE"
  • "SPELL"
  • "SQL"
  • "SWIFT"
  • "TEKTON"
  • "TERRAFORM"
  • "TSX"
  • "TYPESCRIPT"
  • "VBDOTNET"
  • "XML"
  • "YAML"

Example:

[
    "BASH",
    "HTML"
]

Disable errors

Type: boolean Default: false

Flag to have the MegaLinter complete with exit code 0 even if errors were detected.

Disabled errors linter keys

Type: array

If DISABLEERRORSLINTERS is set, the listed linters will be run but errors will be not blocking

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION_ACTIONLINT"
  • "ANSIBLE_ANSIBLE_LINT"
  • "API_SPECTRAL"
  • "ARM_ARM_TTK"
  • "BASH_EXEC"
  • "BASH_SHELLCHECK"
  • "BASH_SHFMT"
  • "BICEP_BICEP_LINTER"
  • "CLOJURE_CLJSTYLE"
  • "CLOJURE_CLJ_KONDO"
  • "CLOUDFORMATION_CFN_LINT"
  • "COFFEE_COFFEELINT"
  • "COPYPASTE_JSCPD"
  • "CPP_CLANG_FORMAT"
  • "CPP_CPPLINT"
  • "CREDENTIALS_SECRETLINT"
  • "CSHARP_CSHARPIER"
  • "CSHARP_DOTNET_FORMAT"
  • "CSHARP_ROSLYNATOR"
  • "CSS_SCSS_LINT"
  • "CSS_STYLELINT"
  • "C_CLANG_FORMAT"
  • "C_CPPLINT"
  • "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_DJLINT"
  • "HTML_HTMLHINT"
  • "JAVASCRIPT_ES"
  • "JAVASCRIPT_PRETTIER"
  • "JAVASCRIPT_STANDARD"
  • "JAVA_CHECKSTYLE"
  • "JAVA_PMD"
  • "JSON_ESLINT_PLUGIN_JSONC"
  • "JSON_JSONLINT"
  • "JSON_NPM_PACKAGE_JSON_LINT"
  • "JSON_PRETTIER"
  • "JSON_V8R"
  • "JSX_ESLINT"
  • "KOTLIN_DETEKT"
  • "KOTLIN_KTLINT"
  • "KUBERNETES_HELM"
  • "KUBERNETES_KUBECONFORM"
  • "KUBERNETES_KUBESCAPE"
  • "KUBERNETES_KUBEVAL"
  • "LATEX_CHKTEX"
  • "LUA_LUACHECK"
  • "MAKEFILE_CHECKMAKE"
  • "MARKDOWN_MARKDOWNLINT"
  • "MARKDOWN_MARKDOWN_LINK_CHECK"
  • "MARKDOWN_MARKDOWN_TABLE_FORMATTER"
  • "MARKDOWN_REMARK_LINT"
  • "OPENAPI_SPECTRAL"
  • "PERL_PERLCRITIC"
  • "PHP_BUILTIN"
  • "PHP_PHPCS"
  • "PHP_PHPLINT"
  • "PHP_PHPSTAN"
  • "PHP_PSALM"
  • "POWERSHELL_POWERSHELL"
  • "POWERSHELL_POWERSHELL_FORMATTER"
  • "PROTOBUF_PROTOLINT"
  • "PUPPET_PUPPET_LINT"
  • "PYTHON_BANDIT"
  • "PYTHON_BLACK"
  • "PYTHON_FLAKE8"
  • "PYTHON_ISORT"
  • "PYTHON_MYPY"
  • "PYTHON_PYLINT"
  • "PYTHON_PYRIGHT"
  • "PYTHON_RUFF"
  • "RAKU_RAKU"
  • "REPOSITORY_CHECKOV"
  • "REPOSITORY_DEVSKIM"
  • "REPOSITORY_DUSTILOCK"
  • "REPOSITORY_GITLEAKS"
  • "REPOSITORY_GIT_DIFF"
  • "REPOSITORY_GOODCHECK"
  • "REPOSITORY_GRYPE"
  • "REPOSITORY_KICS"
  • "REPOSITORY_SECRETLINT"
  • "REPOSITORY_SEMGREP"
  • "REPOSITORY_SYFT"
  • "REPOSITORY_TRIVY"
  • "REPOSITORY_TRIVY_SBOM"
  • "REPOSITORY_TRUFFLEHOG"
  • "RST_RSTCHECK"
  • "RST_RSTFMT"
  • "RST_RST_LINT"
  • "RUBY_RUBOCOP"
  • "RUST_CLIPPY"
  • "R_LINTR"
  • "SALESFORCE_LIGHTNING_FLOW_SCANNER"
  • "SALESFORCE_SFDX_SCANNER_APEX"
  • "SALESFORCE_SFDX_SCANNER_AURA"
  • "SALESFORCE_SFDX_SCANNER_LWC"
  • "SCALA_SCALAFIX"
  • "SNAKEMAKE_LINT"
  • "SNAKEMAKE_SNAKEFMT"
  • "SPELL_CSPELL"
  • "SPELL_LYCHEE"
  • "SPELL_MISSPELL"
  • "SPELL_PROSELINT"
  • "SPELL_VALE"
  • "SQL_SQLFLUFF"
  • "SQL_SQL_LINT"
  • "SQL_TSQLLINT"
  • "SWIFT_SWIFTLINT"
  • "TEKTON_TEKTON_LINT"
  • "TERRAFORM_CHECKOV"
  • "TERRAFORM_KICS"
  • "TERRAFORM_TERRAFORM_FMT"
  • "TERRAFORM_TERRAGRUNT"
  • "TERRAFORM_TERRASCAN"
  • "TERRAFORM_TFLINT"
  • "TSX_ESLINT"
  • "TYPESCRIPT_ES"
  • "TYPESCRIPT_PRETTIER"
  • "TYPESCRIPT_STANDARD"
  • "VBDOTNET_DOTNET_FORMAT"
  • "XML_XMLLINT"
  • "YAML_PRETTIER"
  • "YAML_V8R"
  • "YAML_YAMLLINT"

Example:

[
    "BASH_BASH_SHFMT",
    "JAVASCRIPT_STANDARD"
]

Disabled linter keys

Type: array

If DISABLE_LINTERS is set, the listed linters will be skipped

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION_ACTIONLINT"
  • "ANSIBLE_ANSIBLE_LINT"
  • "API_SPECTRAL"
  • "ARM_ARM_TTK"
  • "BASH_EXEC"
  • "BASH_SHELLCHECK"
  • "BASH_SHFMT"
  • "BICEP_BICEP_LINTER"
  • "CLOJURE_CLJSTYLE"
  • "CLOJURE_CLJ_KONDO"
  • "CLOUDFORMATION_CFN_LINT"
  • "COFFEE_COFFEELINT"
  • "COPYPASTE_JSCPD"
  • "CPP_CLANG_FORMAT"
  • "CPP_CPPLINT"
  • "CREDENTIALS_SECRETLINT"
  • "CSHARP_CSHARPIER"
  • "CSHARP_DOTNET_FORMAT"
  • "CSHARP_ROSLYNATOR"
  • "CSS_SCSS_LINT"
  • "CSS_STYLELINT"
  • "C_CLANG_FORMAT"
  • "C_CPPLINT"
  • "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_DJLINT"
  • "HTML_HTMLHINT"
  • "JAVASCRIPT_ES"
  • "JAVASCRIPT_PRETTIER"
  • "JAVASCRIPT_STANDARD"
  • "JAVA_CHECKSTYLE"
  • "JAVA_PMD"
  • "JSON_ESLINT_PLUGIN_JSONC"
  • "JSON_JSONLINT"
  • "JSON_NPM_PACKAGE_JSON_LINT"
  • "JSON_PRETTIER"
  • "JSON_V8R"
  • "JSX_ESLINT"
  • "KOTLIN_DETEKT"
  • "KOTLIN_KTLINT"
  • "KUBERNETES_HELM"
  • "KUBERNETES_KUBECONFORM"
  • "KUBERNETES_KUBESCAPE"
  • "KUBERNETES_KUBEVAL"
  • "LATEX_CHKTEX"
  • "LUA_LUACHECK"
  • "MAKEFILE_CHECKMAKE"
  • "MARKDOWN_MARKDOWNLINT"
  • "MARKDOWN_MARKDOWN_LINK_CHECK"
  • "MARKDOWN_MARKDOWN_TABLE_FORMATTER"
  • "MARKDOWN_REMARK_LINT"
  • "OPENAPI_SPECTRAL"
  • "PERL_PERLCRITIC"
  • "PHP_BUILTIN"
  • "PHP_PHPCS"
  • "PHP_PHPLINT"
  • "PHP_PHPSTAN"
  • "PHP_PSALM"
  • "POWERSHELL_POWERSHELL"
  • "POWERSHELL_POWERSHELL_FORMATTER"
  • "PROTOBUF_PROTOLINT"
  • "PUPPET_PUPPET_LINT"
  • "PYTHON_BANDIT"
  • "PYTHON_BLACK"
  • "PYTHON_FLAKE8"
  • "PYTHON_ISORT"
  • "PYTHON_MYPY"
  • "PYTHON_PYLINT"
  • "PYTHON_PYRIGHT"
  • "PYTHON_RUFF"
  • "RAKU_RAKU"
  • "REPOSITORY_CHECKOV"
  • "REPOSITORY_DEVSKIM"
  • "REPOSITORY_DUSTILOCK"
  • "REPOSITORY_GITLEAKS"
  • "REPOSITORY_GIT_DIFF"
  • "REPOSITORY_GOODCHECK"
  • "REPOSITORY_GRYPE"
  • "REPOSITORY_KICS"
  • "REPOSITORY_SECRETLINT"
  • "REPOSITORY_SEMGREP"
  • "REPOSITORY_SYFT"
  • "REPOSITORY_TRIVY"
  • "REPOSITORY_TRIVY_SBOM"
  • "REPOSITORY_TRUFFLEHOG"
  • "RST_RSTCHECK"
  • "RST_RSTFMT"
  • "RST_RST_LINT"
  • "RUBY_RUBOCOP"
  • "RUST_CLIPPY"
  • "R_LINTR"
  • "SALESFORCE_LIGHTNING_FLOW_SCANNER"
  • "SALESFORCE_SFDX_SCANNER_APEX"
  • "SALESFORCE_SFDX_SCANNER_AURA"
  • "SALESFORCE_SFDX_SCANNER_LWC"
  • "SCALA_SCALAFIX"
  • "SNAKEMAKE_LINT"
  • "SNAKEMAKE_SNAKEFMT"
  • "SPELL_CSPELL"
  • "SPELL_LYCHEE"
  • "SPELL_MISSPELL"
  • "SPELL_PROSELINT"
  • "SPELL_VALE"
  • "SQL_SQLFLUFF"
  • "SQL_SQL_LINT"
  • "SQL_TSQLLINT"
  • "SWIFT_SWIFTLINT"
  • "TEKTON_TEKTON_LINT"
  • "TERRAFORM_CHECKOV"
  • "TERRAFORM_KICS"
  • "TERRAFORM_TERRAFORM_FMT"
  • "TERRAFORM_TERRAGRUNT"
  • "TERRAFORM_TERRASCAN"
  • "TERRAFORM_TFLINT"
  • "TSX_ESLINT"
  • "TYPESCRIPT_ES"
  • "TYPESCRIPT_PRETTIER"
  • "TYPESCRIPT_STANDARD"
  • "VBDOTNET_DOTNET_FORMAT"
  • "XML_XMLLINT"
  • "YAML_PRETTIER"
  • "YAML_V8R"
  • "YAML_YAMLLINT"

Example:

[
    "BASH_BASH_SHFMT",
    "JAVASCRIPT_STANDARD"
]

(removed) DOCKERFILE_DOCKERFILELINT: Custom arguments

Type: array of string or string

DOCKERFILE_DOCKERFILELINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) DOCKERFILE_DOCKERFILELINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

(removed) DOCKERFILE_DOCKERFILELINT: Custom config file name

Type: string Default: ".dockerfilelintrc"

DOCKERFILE_DOCKERFILELINT: User custom config file name if different from default

(removed) DOCKERFILE_DOCKERFILELINT: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) DOCKERFILE_DOCKERFILELINT: Maximum number of errors allowed

Type: number Default: 0

(removed) DOCKERFILE_DOCKERFILELINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) DOCKERFILE_DOCKERFILELINT: Custom config file name

Type: string Default: ".dockerfilelintrc"

DOCKERFILE_DOCKERFILELINT: User custom config file name if different from default

(removed) DOCKERFILE_DOCKERFILELINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) DOCKERFILE_DOCKERFILELINT: Excluding Regex

Type: string

(removed) DOCKERFILE_DOCKERFILELINT: Including Regex

Type: string

(removed) DOCKERFILE_DOCKERFILELINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) DOCKERFILE_DOCKERFILELINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) DOCKERFILE_DOCKERFILELINT: Custom config file path

Type: string

DOCKERFILE_DOCKERFILELINT: Path where to find linter configuration file

Excluding regex filter for DOCKERFILE descriptor

Type: string

Including regex filter for DOCKERFILE descriptor

Type: string

DOCKERFILE_HADOLINT: Custom arguments

Type: array of string or string

DOCKERFILE_HADOLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

DOCKERFILE_HADOLINT: CLI Executable

Type: array of string Default: [["hadolint"]]
No Additional Items

Each item of this array must be:

DOCKERFILE_HADOLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

DOCKERFILE_HADOLINT: Custom remove arguments

Type: array of string or string

DOCKERFILE_HADOLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

DOCKERFILE_HADOLINT: Custom config file name

Type: string Default: ".hadolint.yaml"

DOCKERFILE_HADOLINT: User custom config file name if different from default

DOCKERFILE_HADOLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

DOCKERFILE_HADOLINT: Maximum number of errors allowed

Type: number Default: 0

DOCKERFILE_HADOLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

DOCKERFILE_HADOLINT: Custom config file name

Type: string Default: ".hadolint.yml"

DOCKERFILE_HADOLINT: User custom config file name if different from default

DOCKERFILE_HADOLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

DOCKERFILE_HADOLINT: Excluding Regex

Type: string

DOCKERFILE_HADOLINT: Including Regex

Type: string

DOCKERFILE_HADOLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

DOCKERFILE_HADOLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

DOCKERFILE_HADOLINT: Custom config file path

Type: string

DOCKERFILE_HADOLINT: Path where to find linter configuration file

DOCKERFILE_HADOLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling DOCKERFILE_HADOLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for DOCKERFILE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for DOCKERFILE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

EDITORCONFIG_EDITORCONFIG_CHECKER: Custom arguments

Type: array of string or string

EDITORCONFIGEDITORCONFIGCHECKER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

EDITORCONFIG_EDITORCONFIG_CHECKER: CLI Executable

Type: array of string Default: [["editorconfig-checker"]]
No Additional Items

Each item of this array must be:

EDITORCONFIG_EDITORCONFIG_CHECKER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

EDITORCONFIG_EDITORCONFIG_CHECKER: Custom remove arguments

Type: array of string or string

EDITORCONFIGEDITORCONFIGCHECKER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

EDITORCONFIG_EDITORCONFIG_CHECKER: Custom config file name

Type: string Default: ".ecrc"

EDITORCONFIGEDITORCONFIGCHECKER: User custom config file name if different from default

EDITORCONFIG_EDITORCONFIG_CHECKER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

EDITORCONFIG_EDITORCONFIG_CHECKER: Maximum number of errors allowed

Type: number Default: 0

EDITORCONFIG_EDITORCONFIG_CHECKER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

EDITORCONFIG_EDITORCONFIG_CHECKER: Custom config file name

Type: string Default: ".ecrc"

EDITORCONFIGEDITORCONFIGCHECKER: User custom config file name if different from default

EDITORCONFIG_EDITORCONFIG_CHECKER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

EDITORCONFIG_EDITORCONFIG_CHECKER: Excluding Regex

Type: string

EDITORCONFIG_EDITORCONFIG_CHECKER: Including Regex

Type: string

EDITORCONFIG_EDITORCONFIG_CHECKER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

EDITORCONFIG_EDITORCONFIG_CHECKER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

EDITORCONFIG_EDITORCONFIG_CHECKER: Custom config file path

Type: string

EDITORCONFIGEDITORCONFIGCHECKER: Path where to find linter configuration file

EDITORCONFIG_EDITORCONFIG_CHECKER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling EDITORCONFIGEDITORCONFIGCHECKER and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for EDITORCONFIG descriptor

Type: string

Including regex filter for EDITORCONFIG descriptor

Type: string

Post commands for EDITORCONFIG descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for EDITORCONFIG descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Activate Email reporter

Type: boolean Default: true

MegaLinter can send email with reports to given addresses. Please set EMAILREPORTER** variables if activated

Email reporter: E-mail addresses

Type: string

Comma-separated list of recipient emails, that will receive reports

Email reporter: Sender of emails

Type: string Default: "megalinter@gmail.com"

Send email reports even when success

Type: boolean Default: false

Define to true if you want to receive reports by mail even when there is no errors or updated sources

Email reporter: SMTP server host

Type: string Default: "smtp.gmail.com"

Email reporter: SMTP server password. Never hardcode it in a config variable, use secrets and context variables

Type: string

Email reporter: SMTP server port

Type: number Default: "465"

Email reporter: SMTP username

Type: string Default: "megalinter@gmail.com"

Enabled descriptor keys

Type: array

If ENABLE is not set, all descriptors are activated by default. If set, all linters of listed descriptors will be activated by default

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION"
  • "ANSIBLE"
  • "API"
  • "ARM"
  • "BASH"
  • "BICEP"
  • "C"
  • "CLOJURE"
  • "CLOUDFORMATION"
  • "COFFEE"
  • "COPYPASTE"
  • "CPP"
  • "CREDENTIALS"
  • "CSHARP"
  • "CSS"
  • "DART"
  • "DOCKERFILE"
  • "EDITORCONFIG"
  • "ENV"
  • "GHERKIN"
  • "GIT"
  • "GO"
  • "GRAPHQL"
  • "GROOVY"
  • "HTML"
  • "JAVA"
  • "JAVASCRIPT"
  • "JSON"
  • "JSX"
  • "KOTLIN"
  • "KUBERNETES"
  • "LATEX"
  • "LUA"
  • "MAKEFILE"
  • "MARKDOWN"
  • "OPENAPI"
  • "PERL"
  • "PHP"
  • "POWERSHELL"
  • "PROTOBUF"
  • "PUPPET"
  • "PYTHON"
  • "R"
  • "RAKU"
  • "REPOSITORY"
  • "RST"
  • "RUBY"
  • "RUST"
  • "SALESFORCE"
  • "SCALA"
  • "SNAKEMAKE"
  • "SPELL"
  • "SQL"
  • "SWIFT"
  • "TEKTON"
  • "TERRAFORM"
  • "TSX"
  • "TYPESCRIPT"
  • "VBDOTNET"
  • "XML"
  • "YAML"

Example:

[
    "BASH",
    "HTML",
    "JAVASCRIPT"
]

Enabled linter keys

Type: array

If ENABLE_LINTERS is set, only listed linters will be processed

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION_ACTIONLINT"
  • "ANSIBLE_ANSIBLE_LINT"
  • "API_SPECTRAL"
  • "ARM_ARM_TTK"
  • "BASH_EXEC"
  • "BASH_SHELLCHECK"
  • "BASH_SHFMT"
  • "BICEP_BICEP_LINTER"
  • "CLOJURE_CLJSTYLE"
  • "CLOJURE_CLJ_KONDO"
  • "CLOUDFORMATION_CFN_LINT"
  • "COFFEE_COFFEELINT"
  • "COPYPASTE_JSCPD"
  • "CPP_CLANG_FORMAT"
  • "CPP_CPPLINT"
  • "CREDENTIALS_SECRETLINT"
  • "CSHARP_CSHARPIER"
  • "CSHARP_DOTNET_FORMAT"
  • "CSHARP_ROSLYNATOR"
  • "CSS_SCSS_LINT"
  • "CSS_STYLELINT"
  • "C_CLANG_FORMAT"
  • "C_CPPLINT"
  • "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_DJLINT"
  • "HTML_HTMLHINT"
  • "JAVASCRIPT_ES"
  • "JAVASCRIPT_PRETTIER"
  • "JAVASCRIPT_STANDARD"
  • "JAVA_CHECKSTYLE"
  • "JAVA_PMD"
  • "JSON_ESLINT_PLUGIN_JSONC"
  • "JSON_JSONLINT"
  • "JSON_NPM_PACKAGE_JSON_LINT"
  • "JSON_PRETTIER"
  • "JSON_V8R"
  • "JSX_ESLINT"
  • "KOTLIN_DETEKT"
  • "KOTLIN_KTLINT"
  • "KUBERNETES_HELM"
  • "KUBERNETES_KUBECONFORM"
  • "KUBERNETES_KUBESCAPE"
  • "KUBERNETES_KUBEVAL"
  • "LATEX_CHKTEX"
  • "LUA_LUACHECK"
  • "MAKEFILE_CHECKMAKE"
  • "MARKDOWN_MARKDOWNLINT"
  • "MARKDOWN_MARKDOWN_LINK_CHECK"
  • "MARKDOWN_MARKDOWN_TABLE_FORMATTER"
  • "MARKDOWN_REMARK_LINT"
  • "OPENAPI_SPECTRAL"
  • "PERL_PERLCRITIC"
  • "PHP_BUILTIN"
  • "PHP_PHPCS"
  • "PHP_PHPLINT"
  • "PHP_PHPSTAN"
  • "PHP_PSALM"
  • "POWERSHELL_POWERSHELL"
  • "POWERSHELL_POWERSHELL_FORMATTER"
  • "PROTOBUF_PROTOLINT"
  • "PUPPET_PUPPET_LINT"
  • "PYTHON_BANDIT"
  • "PYTHON_BLACK"
  • "PYTHON_FLAKE8"
  • "PYTHON_ISORT"
  • "PYTHON_MYPY"
  • "PYTHON_PYLINT"
  • "PYTHON_PYRIGHT"
  • "PYTHON_RUFF"
  • "RAKU_RAKU"
  • "REPOSITORY_CHECKOV"
  • "REPOSITORY_DEVSKIM"
  • "REPOSITORY_DUSTILOCK"
  • "REPOSITORY_GITLEAKS"
  • "REPOSITORY_GIT_DIFF"
  • "REPOSITORY_GOODCHECK"
  • "REPOSITORY_GRYPE"
  • "REPOSITORY_KICS"
  • "REPOSITORY_SECRETLINT"
  • "REPOSITORY_SEMGREP"
  • "REPOSITORY_SYFT"
  • "REPOSITORY_TRIVY"
  • "REPOSITORY_TRIVY_SBOM"
  • "REPOSITORY_TRUFFLEHOG"
  • "RST_RSTCHECK"
  • "RST_RSTFMT"
  • "RST_RST_LINT"
  • "RUBY_RUBOCOP"
  • "RUST_CLIPPY"
  • "R_LINTR"
  • "SALESFORCE_LIGHTNING_FLOW_SCANNER"
  • "SALESFORCE_SFDX_SCANNER_APEX"
  • "SALESFORCE_SFDX_SCANNER_AURA"
  • "SALESFORCE_SFDX_SCANNER_LWC"
  • "SCALA_SCALAFIX"
  • "SNAKEMAKE_LINT"
  • "SNAKEMAKE_SNAKEFMT"
  • "SPELL_CSPELL"
  • "SPELL_LYCHEE"
  • "SPELL_MISSPELL"
  • "SPELL_PROSELINT"
  • "SPELL_VALE"
  • "SQL_SQLFLUFF"
  • "SQL_SQL_LINT"
  • "SQL_TSQLLINT"
  • "SWIFT_SWIFTLINT"
  • "TEKTON_TEKTON_LINT"
  • "TERRAFORM_CHECKOV"
  • "TERRAFORM_KICS"
  • "TERRAFORM_TERRAFORM_FMT"
  • "TERRAFORM_TERRAGRUNT"
  • "TERRAFORM_TERRASCAN"
  • "TERRAFORM_TFLINT"
  • "TSX_ESLINT"
  • "TYPESCRIPT_ES"
  • "TYPESCRIPT_PRETTIER"
  • "TYPESCRIPT_STANDARD"
  • "VBDOTNET_DOTNET_FORMAT"
  • "XML_XMLLINT"
  • "YAML_PRETTIER"
  • "YAML_V8R"
  • "YAML_YAMLLINT"

Example:

[
    "JAVASCRIPT_ES",
    "PYTHON_PYLINT"
]

ENV_DOTENV_LINTER: Custom arguments

Type: array of string or string

ENVDOTENVLINTER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

ENV_DOTENV_LINTER: CLI Executable

Type: array of string Default: [["dotenv-linter"]]
No Additional Items

Each item of this array must be:

ENV_DOTENV_LINTER: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

ENV_DOTENV_LINTER: Custom remove arguments

Type: array of string or string

ENVDOTENVLINTER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

ENV_DOTENV_LINTER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

ENV_DOTENV_LINTER: Maximum number of errors allowed

Type: number Default: 0

ENV_DOTENV_LINTER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

ENV_DOTENV_LINTER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

ENV_DOTENV_LINTER: Excluding Regex

Type: string

ENV_DOTENV_LINTER: Including Regex

Type: string

ENV_DOTENV_LINTER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ENV_DOTENV_LINTER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

ENV_DOTENV_LINTER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling ENVDOTENVLINTER and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for ENV descriptor

Type: string

Including regex filter for ENV descriptor

Type: string

Post commands for ENV descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for ENV descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Disable errors for BASH-EXEC

Type: boolean Default: false

If set to false, the bash-exec linter will report a warning if a shell script is not executable. If set to true, the bash-exec linter will report an error instead

Excluded directories

Type: array of string

List of excluded directory basenames replacing MegaLinter default excluded directories. They are excluded at any nested level.

No Additional Items

Each item of this array must be:


Example:

[
    ".github",
    "node_modules"
]

MegaLinter config files to extend from

Type: array of string or string

Base mega-linter.yml config file(s) to extend local configuration from. Can be a single URL or a list of .mega-linter.yml config files URLs

No Additional Items

Each item of this array must be:

Type: string

Fail if missing linter

Type: boolean Default: false

If set to true, MegaLinter fails if a linter is missing in the selected flavor

Fail if updated sources

Type: boolean Default: false

If set to true, MegaLinter fails if a linter or formatter has auto-fixed sources, even if there are no errors

Activate File.io reporter

Type: boolean Default: false

If you don't use artifacts upload to read MegaLinter reports, you can access them with an hyperlink to file.io. Important: MegaLinter has no affiliation with file.io, but it's supposed to be secured, and only one download is available for a report (snapchat for files, basically)

Skip file.io if success

Type: boolean Default: false

Skip posting to file.io if linting is in success

Excluding regex filter

Type: string

Regular expression defining which files will be excluded from linting


Examples:

"(\\.automation/test|docs/javascripts|docs/overrides|flavors|clj-kondo|TEMPLATES)"
"(src/test)"

Including regex filter

Type: string

Regular expression defining which files will be processed by linters


Example:

"(src/)"

Flavor suggestions

Type: boolean Default: true

Provides suggestions about different MegaLinter flavors to use to improve runtime performances

Disable errors when linter is a formatter

Type: boolean Default: true

Formatter errors will be reported as errors (and not warnings) if this variable is set to false

Excluding regex filter for GHERKIN descriptor

Type: string

Including regex filter for GHERKIN descriptor

Type: string

GHERKIN_GHERKIN_LINT: Custom arguments

Type: array of string or string

GHERKINGHERKINLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

GHERKIN_GHERKIN_LINT: CLI Executable

Type: array of string Default: [["gherkin-lint"]]
No Additional Items

Each item of this array must be:

GHERKIN_GHERKIN_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

GHERKIN_GHERKIN_LINT: Custom remove arguments

Type: array of string or string

GHERKINGHERKINLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

GHERKIN_GHERKIN_LINT: Custom config file name

Type: string Default: ".gherkin-lintrc"

GHERKINGHERKINLINT: User custom config file name if different from default

GHERKIN_GHERKIN_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

GHERKIN_GHERKIN_LINT: Maximum number of errors allowed

Type: number Default: 0

GHERKIN_GHERKIN_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

GHERKIN_GHERKIN_LINT: Custom config file name

Type: string Default: ".gherkin-lintrc"

GHERKINGHERKINLINT: User custom config file name if different from default

GHERKIN_GHERKIN_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

GHERKIN_GHERKIN_LINT: Excluding Regex

Type: string

GHERKIN_GHERKIN_LINT: Including Regex

Type: string

GHERKIN_GHERKIN_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GHERKIN_GHERKIN_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GHERKIN_GHERKIN_LINT: Custom config file path

Type: string

GHERKINGHERKINLINT: Path where to find linter configuration file

GHERKIN_GHERKIN_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling GHERKINGHERKINLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for GHERKIN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for GHERKIN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GitHub API base URL

Type: stringFormat: uri Default: "https://api.github.com"

URL where the github API can be reached. Must be overridden if using GitHub Enterprise


Example:

"https://github.my-company.com/api/v3"

Activate GitHub PR Comments reporter

Type: boolean Default: true

Posts MegaLinter results summary in the comments of the related pull request (if existing)

GitHub server base URL

Type: stringFormat: uri Default: "https://github.com"

URL of the GitHub instance. Must be overridden if using GitHub Enterprise


Example:

"https://github.my-company.com/"

Activate GitHub Status reporter

Type: boolean Default: true

Posts a status on the pull request for each processed linter

GitHub Workspace

Type: string Default: "/tmp/lint"

Base directory for REPORTOUTPUTFOLDER, for user-defined linter rules location, for location of linted files if DEFAULT_WORKSPACE is not set

Gitlab Access Token

Type: string Default: true

Gitlab access token with API access (can be user or project Access token)

Gitlab SSL Certificate path

Type: string Default: true

Path to SSL certificate if necessary

Activate Gitlab MR Comments reporter

Type: boolean Default: true

Posts Mega-Linter results summary in the comments of the related merge request (if existing)

Overwrite Gitlab Merge Request Comment

Type: boolean Default: true

Set to false to disable the overwrite of existing MegaLinter Merge Request comment in case of new run

Gitlab SSL Certificate value

Type: string Default: true

Store your SSL certificate string value in a CI env variable named GITLABCUSTOMCERTIFICATE if you want it to be copied by MegaLinter in a local certificate file that will be used by python gitlab lib

Excluding regex filter for GIT descriptor

Type: string

Including regex filter for GIT descriptor

Type: string

(removed) GIT_GIT_DIFF: Custom arguments

Type: array of string or string

GITGITDIFF: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) GIT_GIT_DIFF: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) GIT_GIT_DIFF: Maximum number of errors allowed

Type: number Default: 0

(removed) GIT_GIT_DIFF: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) GIT_GIT_DIFF: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) GIT_GIT_DIFF: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) GIT_GIT_DIFF: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for GO descriptor

Type: string

Including regex filter for GO descriptor

Type: string

GO_GOLANGCI_LINT: Custom arguments

Type: array of string or string

GOGOLANGCILINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

GO_GOLANGCI_LINT: CLI Executable

Type: array of string Default: [["golangci-lint"]]
No Additional Items

Each item of this array must be:

GO_GOLANGCI_LINT: Custom remove arguments

Type: array of string or string

GOGOLANGCILINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

GO_GOLANGCI_LINT: Custom config file name

Type: string Default: ".golangci.yml"

GOGOLANGCILINT: User custom config file name if different from default

GO_GOLANGCI_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

GO_GOLANGCI_LINT: Maximum number of errors allowed

Type: number Default: 0

GO_GOLANGCI_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

GO_GOLANGCI_LINT: Custom config file name

Type: string Default: ".golangci.yml"

GOGOLANGCILINT: User custom config file name if different from default

GO_GOLANGCI_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

GO_GOLANGCI_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GO_GOLANGCI_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GO_GOLANGCI_LINT: Custom config file path

Type: string

GOGOLANGCILINT: Path where to find linter configuration file

GO_GOLANGCI_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling GOGOLANGCILINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for GO descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for GO descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GO_REVIVE: Custom arguments

Type: array of string or string

GO_REVIVE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

GO_REVIVE: CLI Executable

Type: array of string Default: [["revive"]]
No Additional Items

Each item of this array must be:

GO_REVIVE: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

GO_REVIVE: Custom remove arguments

Type: array of string or string

GO_REVIVE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

GO_REVIVE: Custom config file name

Type: string Default: "revive.toml"

GO_REVIVE: User custom config file name if different from default

GO_REVIVE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

GO_REVIVE: Maximum number of errors allowed

Type: number Default: 0

GO_REVIVE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

GO_REVIVE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

GO_REVIVE: Excluding Regex

Type: string

GO_REVIVE: Including Regex

Type: string

GO_REVIVE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GO_REVIVE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GO_REVIVE: Custom config file path

Type: string

GO_REVIVE: Path where to find linter configuration file

GO_REVIVE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling GO_REVIVE and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for GRAPHQL descriptor

Type: string

Including regex filter for GRAPHQL descriptor

Type: string

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Custom arguments

Type: array of string or string

GRAPHQLGRAPHQLSCHEMA_LINTER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

GRAPHQL_GRAPHQL_SCHEMA_LINTER: CLI Executable

Type: array of string Default: [["graphql-schema-linter"]]
No Additional Items

Each item of this array must be:

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Custom remove arguments

Type: array of string or string

GRAPHQLGRAPHQLSCHEMA_LINTER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Custom config file name

Type: string Default: ".graphql-schema-linterrc"

GRAPHQLGRAPHQLSCHEMA_LINTER: User custom config file name if different from default

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Maximum number of errors allowed

Type: number Default: 0

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Custom config file name

Type: string Default: ".graphql-schema-linterrc"

GRAPHQLGRAPHQLSCHEMA_LINTER: User custom config file name if different from default

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Excluding Regex

Type: string

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Including Regex

Type: string

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Custom config file path

Type: string

GRAPHQLGRAPHQLSCHEMA_LINTER: Path where to find linter configuration file

GRAPHQL_GRAPHQL_SCHEMA_LINTER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling GRAPHQLGRAPHQLSCHEMA_LINTER and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for GRAPHQL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for GRAPHQL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for GROOVY descriptor

Type: string

Including regex filter for GROOVY descriptor

Type: string

GROOVY_NPM_GROOVY_LINT: Custom arguments

Type: array of string or string

GROOVYNPMGROOVY_LINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

GROOVY_NPM_GROOVY_LINT: CLI Executable

Type: array of string Default: [["npm-groovy-lint"]]
No Additional Items

Each item of this array must be:

GROOVY_NPM_GROOVY_LINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

GROOVY_NPM_GROOVY_LINT: Custom remove arguments

Type: array of string or string

GROOVYNPMGROOVY_LINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

GROOVY_NPM_GROOVY_LINT: Custom config file name

Type: string Default: ".groovylintrc.json"

GROOVYNPMGROOVY_LINT: User custom config file name if different from default

GROOVY_NPM_GROOVY_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

GROOVY_NPM_GROOVY_LINT: Maximum number of errors allowed

Type: number Default: 0

GROOVY_NPM_GROOVY_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

GROOVY_NPM_GROOVY_LINT: Custom config file name

Type: string Default: ".groovylintrc.json"

GROOVYNPMGROOVY_LINT: User custom config file name if different from default

GROOVY_NPM_GROOVY_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

GROOVY_NPM_GROOVY_LINT: Excluding Regex

Type: string

GROOVY_NPM_GROOVY_LINT: Including Regex

Type: string

GROOVY_NPM_GROOVY_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GROOVY_NPM_GROOVY_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

GROOVY_NPM_GROOVY_LINT: Custom config file path

Type: string

GROOVYNPMGROOVY_LINT: Path where to find linter configuration file

GROOVY_NPM_GROOVY_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling GROOVYNPMGROOVY_LINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for GROOVY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for GROOVY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

HTML_DJLINT: Custom arguments

Type: array of string or string

HTML_DJLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

HTML_DJLINT: CLI Executable

Type: array of string Default: [["djlint"]]
No Additional Items

Each item of this array must be:

HTML_DJLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

HTML_DJLINT: Custom remove arguments

Type: array of string or string

HTML_DJLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

HTML_DJLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

HTML_DJLINT: Maximum number of errors allowed

Type: number Default: 0

HTML_DJLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

HTML_DJLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

HTML_DJLINT: Excluding Regex

Type: string

HTML_DJLINT: Including Regex

Type: string

HTML_DJLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

HTML_DJLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

HTML_DJLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling HTML_DJLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for HTML descriptor

Type: string

Including regex filter for HTML descriptor

Type: string

HTML_HTMLHINT: Custom arguments

Type: array of string or string

HTML_HTMLHINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

HTML_HTMLHINT: CLI Executable

Type: array of string Default: [["htmlhint"]]
No Additional Items

Each item of this array must be:

HTML_HTMLHINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

HTML_HTMLHINT: Custom remove arguments

Type: array of string or string

HTML_HTMLHINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

HTML_HTMLHINT: Custom config file name

Type: string Default: ".htmlhintrc"

HTML_HTMLHINT: User custom config file name if different from default

HTML_HTMLHINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

HTML_HTMLHINT: Maximum number of errors allowed

Type: number Default: 0

HTML_HTMLHINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

HTML_HTMLHINT: Custom config file name

Type: string Default: ".htmlhintrc"

HTML_HTMLHINT: User custom config file name if different from default

HTML_HTMLHINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

HTML_HTMLHINT: Excluding Regex

Type: string

HTML_HTMLHINT: Including Regex

Type: string

HTML_HTMLHINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

HTML_HTMLHINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

HTML_HTMLHINT: Custom config file path

Type: string

HTML_HTMLHINT: Path where to find linter configuration file

HTML_HTMLHINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling HTML_HTMLHINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for HTML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for HTML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Makes MegaLinter skip files containing @generated marker (and not containing @not-generated)

Type: boolean Default: false

Makes MegaLinter skip files that are ignored by git using .gitignore

Type: boolean Default: false

Javascript default style

Type: enum (of string)

Style of javascript formatting to apply

Must be one of:

  • "standard"
  • "prettier"

Examples:

"standard"
"prettier"

JAVASCRIPT_ES: Custom arguments

Type: array of string or string

JAVASCRIPT_ES: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JAVASCRIPT_ES: CLI Executable

Type: array of string Default: [["eslint"]]
No Additional Items

Each item of this array must be:

JAVASCRIPT_ES: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JAVASCRIPT_ES: Custom remove arguments

Type: array of string or string

JAVASCRIPT_ES: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JAVASCRIPT_ES: Custom config file name

Type: string Default: ".eslintrc.json"

JAVASCRIPT_ES: User custom config file name if different from default

JAVASCRIPT_ES: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JAVASCRIPT_ES: Maximum number of errors allowed

Type: number Default: 0

JAVASCRIPT_ES: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JAVASCRIPT_ES: Custom config file name

Type: string Default: ".eslintrc.json"

JAVASCRIPT_ES: User custom config file name if different from default

JAVASCRIPT_ES: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JAVASCRIPT_ES: Excluding Regex

Type: string

JAVASCRIPT_ES: Including Regex

Type: string

JAVASCRIPT_ES: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_ES: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_ES: Custom config file path

Type: string

JAVASCRIPT_ES: Path where to find linter configuration file

JAVASCRIPT_ES: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JAVASCRIPT_ES and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for JAVASCRIPT descriptor

Type: string

Including regex filter for JAVASCRIPT descriptor

Type: string

Post commands for JAVASCRIPT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_PRETTIER: Custom arguments

Type: array of string or string

JAVASCRIPT_PRETTIER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JAVASCRIPT_PRETTIER: CLI Executable

Type: array of string Default: [["prettier"]]
No Additional Items

Each item of this array must be:

JAVASCRIPT_PRETTIER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JAVASCRIPT_PRETTIER: Custom remove arguments

Type: array of string or string

JAVASCRIPT_PRETTIER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JAVASCRIPT_PRETTIER: Custom config file name

Type: string Default: ".prettierrc.json"

JAVASCRIPT_PRETTIER: User custom config file name if different from default

JAVASCRIPT_PRETTIER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JAVASCRIPT_PRETTIER: Maximum number of errors allowed

Type: number Default: 0

JAVASCRIPT_PRETTIER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JAVASCRIPT_PRETTIER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JAVASCRIPT_PRETTIER: Excluding Regex

Type: string

JAVASCRIPT_PRETTIER: Including Regex

Type: string

JAVASCRIPT_PRETTIER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_PRETTIER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_PRETTIER: Custom config file path

Type: string

JAVASCRIPT_PRETTIER: Path where to find linter configuration file

JAVASCRIPT_PRETTIER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JAVASCRIPT_PRETTIER and its pre/post commands

No Additional Items

Each item of this array must be:

Pre commands for JAVASCRIPT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_STANDARD: Custom arguments

Type: array of string or string

JAVASCRIPT_STANDARD: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JAVASCRIPT_STANDARD: CLI Executable

Type: array of string Default: [["standard"]]
No Additional Items

Each item of this array must be:

JAVASCRIPT_STANDARD: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JAVASCRIPT_STANDARD: Custom remove arguments

Type: array of string or string

JAVASCRIPT_STANDARD: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JAVASCRIPT_STANDARD: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JAVASCRIPT_STANDARD: Maximum number of errors allowed

Type: number Default: 0

JAVASCRIPT_STANDARD: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JAVASCRIPT_STANDARD: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JAVASCRIPT_STANDARD: Excluding Regex

Type: string

JAVASCRIPT_STANDARD: Including Regex

Type: string

JAVASCRIPT_STANDARD: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_STANDARD: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVASCRIPT_STANDARD: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JAVASCRIPT_STANDARD and its pre/post commands

No Additional Items

Each item of this array must be:

JAVA_CHECKSTYLE: Custom arguments

Type: array of string or string

JAVA_CHECKSTYLE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JAVA_CHECKSTYLE: CLI Executable

Type: array of string Default: [["java"]]
No Additional Items

Each item of this array must be:

JAVA_CHECKSTYLE: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JAVA_CHECKSTYLE: Custom remove arguments

Type: array of string or string

JAVA_CHECKSTYLE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JAVA_CHECKSTYLE: Custom config file name

Type: string Default: "sun_checks.xml"

JAVA_CHECKSTYLE: User custom config file name if different from default

JAVA_CHECKSTYLE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JAVA_CHECKSTYLE: Maximum number of errors allowed

Type: number Default: 0

JAVA_CHECKSTYLE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JAVA_CHECKSTYLE: Custom config file name

Type: string Default: "sun_checks.xml"

JAVA_CHECKSTYLE: User custom config file name if different from default

JAVA_CHECKSTYLE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JAVA_CHECKSTYLE: Excluding Regex

Type: string

JAVA_CHECKSTYLE: Including Regex

Type: string

JAVA_CHECKSTYLE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVA_CHECKSTYLE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVA_CHECKSTYLE: Custom config file path

Type: string

JAVA_CHECKSTYLE: Path where to find linter configuration file

JAVA_CHECKSTYLE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JAVA_CHECKSTYLE and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for JAVA descriptor

Type: string

Including regex filter for JAVA descriptor

Type: string

JAVA_PMD: Custom arguments

Type: array of string or string

JAVA_PMD: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JAVA_PMD: CLI Executable

Type: array of string Default: [["/usr/bin/pmd/bin/pmd"]]
No Additional Items

Each item of this array must be:

JAVA_PMD: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JAVA_PMD: Custom remove arguments

Type: array of string or string

JAVA_PMD: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JAVA_PMD: Custom config file name

Type: string Default: "java-pmd-ruleset.xml"

JAVA_PMD: User custom config file name if different from default

JAVA_PMD: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JAVA_PMD: Maximum number of errors allowed

Type: number Default: 0

JAVA_PMD: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JAVA_PMD: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JAVA_PMD: Excluding Regex

Type: string

JAVA_PMD: Including Regex

Type: string

JAVA_PMD: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVA_PMD: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JAVA_PMD: Custom config file path

Type: string

JAVA_PMD: Path where to find linter configuration file

JAVA_PMD: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JAVA_PMD and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for JAVA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for JAVA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_ESLINT_PLUGIN_JSONC: Custom arguments

Type: array of string or string

JSONESLINTPLUGIN_JSONC: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSON_ESLINT_PLUGIN_JSONC: CLI Executable

Type: array of string Default: [["eslint"]]
No Additional Items

Each item of this array must be:

JSON_ESLINT_PLUGIN_JSONC: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JSON_ESLINT_PLUGIN_JSONC: Custom remove arguments

Type: array of string or string

JSONESLINTPLUGIN_JSONC: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSON_ESLINT_PLUGIN_JSONC: Custom config file name

Type: string Default: ".eslintrc-json.json"

JSONESLINTPLUGIN_JSONC: User custom config file name if different from default

JSON_ESLINT_PLUGIN_JSONC: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSON_ESLINT_PLUGIN_JSONC: Maximum number of errors allowed

Type: number Default: 0

JSON_ESLINT_PLUGIN_JSONC: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSON_ESLINT_PLUGIN_JSONC: Custom config file name

Type: string Default: ".eslintrc.json"

JSONESLINTPLUGIN_JSONC: User custom config file name if different from default

JSON_ESLINT_PLUGIN_JSONC: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSON_ESLINT_PLUGIN_JSONC: Excluding Regex

Type: string

JSON_ESLINT_PLUGIN_JSONC: Including Regex

Type: string

JSON_ESLINT_PLUGIN_JSONC: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_ESLINT_PLUGIN_JSONC: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_ESLINT_PLUGIN_JSONC: Custom config file path

Type: string

JSONESLINTPLUGIN_JSONC: Path where to find linter configuration file

JSON_ESLINT_PLUGIN_JSONC: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSONESLINTPLUGIN_JSONC and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for JSON descriptor

Type: string

Including regex filter for JSON descriptor

Type: string

JSON_JSONLINT: Custom arguments

Type: array of string or string

JSON_JSONLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSON_JSONLINT: CLI Executable

Type: array of string Default: [["jsonlint"]]
No Additional Items

Each item of this array must be:

JSON_JSONLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JSON_JSONLINT: Custom remove arguments

Type: array of string or string

JSON_JSONLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSON_JSONLINT: Custom config file name

Type: string Default: ".jsonlintrc"

JSON_JSONLINT: User custom config file name if different from default

JSON_JSONLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSON_JSONLINT: Maximum number of errors allowed

Type: number Default: 0

JSON_JSONLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSON_JSONLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSON_JSONLINT: Excluding Regex

Type: string

JSON_JSONLINT: Including Regex

Type: string

JSON_JSONLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_JSONLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_JSONLINT: Custom config file path

Type: string

JSON_JSONLINT: Path where to find linter configuration file

JSON_JSONLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSON_JSONLINT and its pre/post commands

No Additional Items

Each item of this array must be:

JSON_NPM_PACKAGE_JSON_LINT: Custom arguments

Type: array of string or string

JSONNPMPACKAGEJSONLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSON_NPM_PACKAGE_JSON_LINT: CLI Executable

Type: array of string Default: [["npmPkgJsonLint"]]
No Additional Items

Each item of this array must be:

JSON_NPM_PACKAGE_JSON_LINT: Custom remove arguments

Type: array of string or string

JSONNPMPACKAGEJSONLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSON_NPM_PACKAGE_JSON_LINT: Custom config file name

Type: string Default: ".npmpackagejsonlintrc.json"

JSONNPMPACKAGEJSONLINT: User custom config file name if different from default

JSON_NPM_PACKAGE_JSON_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSON_NPM_PACKAGE_JSON_LINT: Maximum number of errors allowed

Type: number Default: 0

JSON_NPM_PACKAGE_JSON_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSON_NPM_PACKAGE_JSON_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSON_NPM_PACKAGE_JSON_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_NPM_PACKAGE_JSON_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_NPM_PACKAGE_JSON_LINT: Custom config file path

Type: string

JSONNPMPACKAGEJSONLINT: Path where to find linter configuration file

JSON_NPM_PACKAGE_JSON_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSONNPMPACKAGEJSONLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for JSON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_PRETTIER: Custom arguments

Type: array of string or string

JSON_PRETTIER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSON_PRETTIER: CLI Executable

Type: array of string Default: [["prettier"]]
No Additional Items

Each item of this array must be:

JSON_PRETTIER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JSON_PRETTIER: Custom remove arguments

Type: array of string or string

JSON_PRETTIER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSON_PRETTIER: Custom config file name

Type: string Default: ".prettierrc.json"

JSON_PRETTIER: User custom config file name if different from default

JSON_PRETTIER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSON_PRETTIER: Maximum number of errors allowed

Type: number Default: 0

JSON_PRETTIER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSON_PRETTIER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSON_PRETTIER: Excluding Regex

Type: string

JSON_PRETTIER: Including Regex

Type: string

JSON_PRETTIER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_PRETTIER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_PRETTIER: Custom config file path

Type: string

JSON_PRETTIER: Path where to find linter configuration file

JSON_PRETTIER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSON_PRETTIER and its pre/post commands

No Additional Items

Each item of this array must be:

Pre commands for JSON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON reporter

Type: boolean Default: false

Output a large execution log in a JSON file named mega-linter-report.json

JSON reporter output detail

Type: enum (of string) Default: "simple"

Defines if output contain only error files (simple) or all files (detailed)

Must be one of:

  • "simple"
  • "detailed"

JSON_V8R: Custom arguments

Type: array of string or string

JSON_V8R: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSON_V8R: CLI Executable

Type: array of string Default: [["v8r"]]
No Additional Items

Each item of this array must be:

JSON_V8R: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JSON_V8R: Custom remove arguments

Type: array of string or string

JSON_V8R: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSON_V8R: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSON_V8R: Maximum number of errors allowed

Type: number Default: 0

JSON_V8R: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSON_V8R: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSON_V8R: Excluding Regex

Type: string

JSON_V8R: Including Regex

Type: string

JSON_V8R: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_V8R: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSON_V8R: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSON_V8R and its pre/post commands

No Additional Items

Each item of this array must be:

JSX_ESLINT: Custom arguments

Type: array of string or string

JSX_ESLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

JSX_ESLINT: CLI Executable

Type: array of string Default: [["eslint"]]
No Additional Items

Each item of this array must be:

JSX_ESLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

JSX_ESLINT: Custom remove arguments

Type: array of string or string

JSX_ESLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

JSX_ESLINT: Custom config file name

Type: string Default: ".eslintrc.json"

JSX_ESLINT: User custom config file name if different from default

JSX_ESLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

JSX_ESLINT: Maximum number of errors allowed

Type: number Default: 0

JSX_ESLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

JSX_ESLINT: Custom config file name

Type: string Default: ".eslintrc.json"

JSX_ESLINT: User custom config file name if different from default

JSX_ESLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

JSX_ESLINT: Excluding Regex

Type: string

JSX_ESLINT: Including Regex

Type: string

JSX_ESLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSX_ESLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

JSX_ESLINT: Custom config file path

Type: string

JSX_ESLINT: Path where to find linter configuration file

JSX_ESLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling JSX_ESLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for JSX descriptor

Type: string

Including regex filter for JSX descriptor

Type: string

Post commands for JSX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for JSX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KOTLIN_DETEKT: Custom arguments

Type: array of string or string

KOTLIN_DETEKT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

KOTLIN_DETEKT: CLI Executable

Type: array of string Default: [["detekt-cli"]]
No Additional Items

Each item of this array must be:

KOTLIN_DETEKT: Custom remove arguments

Type: array of string or string

KOTLIN_DETEKT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

KOTLIN_DETEKT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

KOTLIN_DETEKT: Maximum number of errors allowed

Type: number Default: 0

KOTLIN_DETEKT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

KOTLIN_DETEKT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

KOTLIN_DETEKT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KOTLIN_DETEKT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KOTLIN_DETEKT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling KOTLIN_DETEKT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for KOTLIN descriptor

Type: string

Including regex filter for KOTLIN descriptor

Type: string

KOTLIN_KTLINT: Custom arguments

Type: array of string or string

KOTLIN_KTLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

KOTLIN_KTLINT: CLI Executable

Type: array of string Default: [["ktlint"]]
No Additional Items

Each item of this array must be:

KOTLIN_KTLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

KOTLIN_KTLINT: Custom remove arguments

Type: array of string or string

KOTLIN_KTLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

KOTLIN_KTLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

KOTLIN_KTLINT: Maximum number of errors allowed

Type: number Default: 0

KOTLIN_KTLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

KOTLIN_KTLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

KOTLIN_KTLINT: Excluding Regex

Type: string

KOTLIN_KTLINT: Including Regex

Type: string

KOTLIN_KTLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KOTLIN_KTLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KOTLIN_KTLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling KOTLIN_KTLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for KOTLIN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for KOTLIN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Directory containing KUBERNETES files

Type: string

Excluding regex filter for KUBERNETES descriptor

Type: string

Including regex filter for KUBERNETES descriptor

Type: string

KUBERNETES_HELM: Custom arguments

Type: array of string or string

KUBERNETES_HELM: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

KUBERNETES_HELM: CLI Executable

Type: array of string Default: [["helm"]]
No Additional Items

Each item of this array must be:

KUBERNETES_HELM: Custom remove arguments

Type: array of string or string

KUBERNETES_HELM: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

KUBERNETES_HELM: Directory containing KUBERNETES files

Type: string Default: ""

Directory that must be found to activate linter. Use value "any" to always activate

KUBERNETES_HELM: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

KUBERNETES_HELM: Maximum number of errors allowed

Type: number Default: 0

KUBERNETES_HELM: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

KUBERNETES_HELM: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

KUBERNETES_HELM: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_HELM: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_HELM: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling KUBERNETES_HELM and its pre/post commands

No Additional Items

Each item of this array must be:

KUBERNETES_KUBECONFORM: Custom arguments

Type: array of string or string

KUBERNETES_KUBECONFORM: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

KUBERNETES_KUBECONFORM: CLI Executable

Type: array of string Default: [["kubeconform"]]
No Additional Items

Each item of this array must be:

KUBERNETES_KUBECONFORM: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

KUBERNETES_KUBECONFORM: Custom remove arguments

Type: array of string or string

KUBERNETES_KUBECONFORM: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

KUBERNETES_KUBECONFORM: Directory containing KUBERNETES files

Type: string Default: "kubernetes"

Directory that must be found to activate linter. Use value "any" to always activate

KUBERNETES_KUBECONFORM: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

KUBERNETES_KUBECONFORM: Maximum number of errors allowed

Type: number Default: 0

KUBERNETES_KUBECONFORM: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

KUBERNETES_KUBECONFORM: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

KUBERNETES_KUBECONFORM: Excluding Regex

Type: string

KUBERNETES_KUBECONFORM: Including Regex

Type: string

KUBERNETES_KUBECONFORM: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_KUBECONFORM: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_KUBECONFORM: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling KUBERNETES_KUBECONFORM and its pre/post commands

No Additional Items

Each item of this array must be:

KUBERNETES_KUBESCAPE: Custom arguments

Type: array of string or string

KUBERNETES_KUBESCAPE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

KUBERNETES_KUBESCAPE: CLI Executable

Type: array of string Default: [["kubescape"]]
No Additional Items

Each item of this array must be:

KUBERNETES_KUBESCAPE: Custom remove arguments

Type: array of string or string

KUBERNETES_KUBESCAPE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

KUBERNETES_KUBESCAPE: Directory containing KUBERNETES files

Type: string Default: ""

Directory that must be found to activate linter. Use value "any" to always activate

KUBERNETES_KUBESCAPE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

KUBERNETES_KUBESCAPE: Maximum number of errors allowed

Type: number Default: 0

KUBERNETES_KUBESCAPE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

KUBERNETES_KUBESCAPE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

KUBERNETES_KUBESCAPE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_KUBESCAPE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

KUBERNETES_KUBESCAPE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling KUBERNETES_KUBESCAPE and its pre/post commands

No Additional Items

Each item of this array must be:

(removed) KUBERNETES_KUBEVAL: Custom arguments

Type: array of string or string

KUBERNETES_KUBEVAL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) KUBERNETES_KUBEVAL: CLI Executable

Type: array of string Default: [["kubeval"]]
No Additional Items

Each item of this array must be:

(removed) KUBERNETES_KUBEVAL: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

(removed) KUBERNETES_KUBEVAL: Directory containing KUBERNETES files

Type: string Default: "kubernetes"

(removed) KUBERNETES_KUBEVAL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) KUBERNETES_KUBEVAL: Maximum number of errors allowed

Type: number Default: 0

(removed) KUBERNETES_KUBEVAL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) KUBERNETES_KUBEVAL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) KUBERNETES_KUBEVAL: Excluding Regex

Type: string

(removed) KUBERNETES_KUBEVAL: Including Regex

Type: string

(removed) KUBERNETES_KUBEVAL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) KUBERNETES_KUBEVAL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Post commands for KUBERNETES descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for KUBERNETES descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

LATEX_CHKTEX: Custom arguments

Type: array of string or string

LATEX_CHKTEX: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

LATEX_CHKTEX: CLI Executable

Type: array of string Default: [["chktex"]]
No Additional Items

Each item of this array must be:

LATEX_CHKTEX: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

LATEX_CHKTEX: Custom remove arguments

Type: array of string or string

LATEX_CHKTEX: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

LATEX_CHKTEX: Custom config file name

Type: string Default: ".chktexrc"

LATEX_CHKTEX: User custom config file name if different from default

LATEX_CHKTEX: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

LATEX_CHKTEX: Maximum number of errors allowed

Type: number Default: 0

LATEX_CHKTEX: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

LATEX_CHKTEX: Custom config file name

Type: string Default: ".chktexrc"

LATEX_CHKTEX: User custom config file name if different from default

LATEX_CHKTEX: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

LATEX_CHKTEX: Excluding Regex

Type: string

LATEX_CHKTEX: Including Regex

Type: string

LATEX_CHKTEX: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

LATEX_CHKTEX: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

LATEX_CHKTEX: Custom config file path

Type: string

LATEX_CHKTEX: Path where to find linter configuration file

LATEX_CHKTEX: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling LATEX_CHKTEX and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for LATEX descriptor

Type: string

Including regex filter for LATEX descriptor

Type: string

Post commands for LATEX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for LATEX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Linter rules path

Type: string Default: ".github/linters"

Directory for all linter configuration rules. Can be a local folder or a remote URL. Not necessary if your linters configuration files are at the root of your repository


Examples:

"myrulesfolder"
"https://raw.githubusercontent.com/some_org/some_repo/mega-linter-rules"

Log file name

Type: string Default: "mega-linter.log"

The file name for outputting logs. All output is sent to the log file regardless of LOG_LEVEL

Log level

Type: enum (of string) Default: "INFO"

How much output the script will generate to the console. One of INFO, DEBUG, WARNING or ERROR.

Must be one of:

  • "INFO"
  • "DEBUG"
  • "WARNING"
  • "ERROR"

Excluding regex filter for LUA descriptor

Type: string

Including regex filter for LUA descriptor

Type: string

LUA_LUACHECK: Custom arguments

Type: array of string or string

LUA_LUACHECK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

LUA_LUACHECK: CLI Executable

Type: array of string Default: [["luacheck"]]
No Additional Items

Each item of this array must be:

LUA_LUACHECK: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

LUA_LUACHECK: Custom remove arguments

Type: array of string or string

LUA_LUACHECK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

LUA_LUACHECK: Custom config file name

Type: string Default: ".luacheckrc"

LUA_LUACHECK: User custom config file name if different from default

LUA_LUACHECK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

LUA_LUACHECK: Maximum number of errors allowed

Type: number Default: 0

LUA_LUACHECK: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

LUA_LUACHECK: Custom config file name

Type: string Default: ".luacheckrc"

LUA_LUACHECK: User custom config file name if different from default

LUA_LUACHECK: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

LUA_LUACHECK: Excluding Regex

Type: string

LUA_LUACHECK: Including Regex

Type: string

LUA_LUACHECK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

LUA_LUACHECK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

LUA_LUACHECK: Custom config file path

Type: string

LUA_LUACHECK: Path where to find linter configuration file

LUA_LUACHECK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling LUA_LUACHECK and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for LUA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for LUA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MAKEFILE_CHECKMAKE: Custom arguments

Type: array of string or string

MAKEFILE_CHECKMAKE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

MAKEFILE_CHECKMAKE: CLI Executable

Type: array of string Default: [["checkmake"]]
No Additional Items

Each item of this array must be:

MAKEFILE_CHECKMAKE: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

MAKEFILE_CHECKMAKE: Custom remove arguments

Type: array of string or string

MAKEFILE_CHECKMAKE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

MAKEFILE_CHECKMAKE: Custom config file name

Type: string Default: ".checkmake.ini"

MAKEFILE_CHECKMAKE: User custom config file name if different from default

MAKEFILE_CHECKMAKE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

MAKEFILE_CHECKMAKE: Maximum number of errors allowed

Type: number Default: 0

MAKEFILE_CHECKMAKE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

MAKEFILE_CHECKMAKE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

MAKEFILE_CHECKMAKE: Excluding Regex

Type: string

MAKEFILE_CHECKMAKE: Including Regex

Type: string

MAKEFILE_CHECKMAKE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MAKEFILE_CHECKMAKE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MAKEFILE_CHECKMAKE: Custom config file path

Type: string

MAKEFILE_CHECKMAKE: Path where to find linter configuration file

MAKEFILE_CHECKMAKE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling MAKEFILE_CHECKMAKE and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for MAKEFILE descriptor

Type: string

Including regex filter for MAKEFILE descriptor

Type: string

Post commands for MAKEFILE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for MAKEFILE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Markdown default formatting style

Type: enum (of string)

Style of markdown formatting to apply

Must be one of:

  • "markdownlint"
  • "remark-lint"

Excluding regex filter for MARKDOWN descriptor

Type: string

Including regex filter for MARKDOWN descriptor

Type: string

MARKDOWN_MARKDOWNLINT: Custom arguments

Type: array of string or string

MARKDOWN_MARKDOWNLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWNLINT: CLI Executable

Type: array of string Default: [["markdownlint"]]
No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWNLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

MARKDOWN_MARKDOWNLINT: Custom remove arguments

Type: array of string or string

MARKDOWN_MARKDOWNLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWNLINT: Custom config file name

Type: string Default: ".markdownlint.json"

MARKDOWN_MARKDOWNLINT: User custom config file name if different from default

MARKDOWN_MARKDOWNLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

MARKDOWN_MARKDOWNLINT: Maximum number of errors allowed

Type: number Default: 0

MARKDOWN_MARKDOWNLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWNLINT: Custom config file name

Type: string Default: ".markdownlint.json"

MARKDOWN_MARKDOWNLINT: User custom config file name if different from default

MARKDOWN_MARKDOWNLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

MARKDOWN_MARKDOWNLINT: Excluding Regex

Type: string

MARKDOWN_MARKDOWNLINT: Including Regex

Type: string

MARKDOWN_MARKDOWNLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_MARKDOWNLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_MARKDOWNLINT: Custom config file path

Type: string

MARKDOWN_MARKDOWNLINT: Path where to find linter configuration file

MARKDOWN_MARKDOWNLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling MARKDOWN_MARKDOWNLINT and its pre/post commands

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_LINK_CHECK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Custom arguments

Type: array of string or string

MARKDOWNMARKDOWNTABLE_FORMATTER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_FORMATTER: CLI Executable

Type: array of string Default: [["markdown-table-formatter"]]
No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Custom remove arguments

Type: array of string or string

MARKDOWNMARKDOWNTABLE_FORMATTER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Maximum number of errors allowed

Type: number Default: 0

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Excluding Regex

Type: string

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Including Regex

Type: string

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_MARKDOWN_TABLE_FORMATTER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling MARKDOWNMARKDOWNTABLE_FORMATTER and its pre/post commands

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Custom arguments

Type: array of string

MARKDOWNMARKDOWNTABLE_PRETTIFY: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Excluding Regex

Type: string

MARKDOWN_MARKDOWN_TABLE_PRETTIFY: Including Regex

Type: string

Post commands for MARKDOWN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for MARKDOWN descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_REMARK_LINT: Custom arguments

Type: array of string or string

MARKDOWNREMARKLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

MARKDOWN_REMARK_LINT: CLI Executable

Type: array of string Default: [["remark"]]
No Additional Items

Each item of this array must be:

MARKDOWN_REMARK_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

MARKDOWN_REMARK_LINT: Custom remove arguments

Type: array of string or string

MARKDOWNREMARKLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

MARKDOWN_REMARK_LINT: Custom config file name

Type: string Default: ".remarkrc"

MARKDOWNREMARKLINT: User custom config file name if different from default

MARKDOWN_REMARK_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

MARKDOWN_REMARK_LINT: Maximum number of errors allowed

Type: number Default: 0

MARKDOWN_REMARK_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

MARKDOWN_REMARK_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

MARKDOWN_REMARK_LINT: Excluding Regex

Type: string

MARKDOWN_REMARK_LINT: Including Regex

Type: string

MARKDOWN_REMARK_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_REMARK_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

MARKDOWN_REMARK_LINT: Custom config file path

Type: string

MARKDOWNREMARKLINT: Path where to find linter configuration file

MARKDOWN_REMARK_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling MARKDOWNREMARKLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Activate SUMMARY reporter

Type: boolean Default: false

Generate SUMMARY reports that can be used to display issues directly in PR comment

SUMMARY report file name

Type: string Default: "megalinter-summary.log"

Override SUMMARY output file name

List of files to analyze

Type: array of string

Comma-separated list of files to analyze. Using this variable will bypass other file listing methods

No Additional Items

Each item of this array must be:

(DEPRECATED) Activate GitHub Status reporter

Type: boolean Default: true

(DEPRECATED, use GITHUBSTATUSREPORTER) Posts a status on the pull request for each processed linter

Excluding regex filter for OPENAPI descriptor

Type: string

Including regex filter for OPENAPI descriptor

Type: string

Post commands for OPENAPI descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for OPENAPI descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) OPENAPI_SPECTRAL: Custom arguments

Type: array of string or string

OPENAPI_SPECTRAL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(deprecated) OPENAPI_SPECTRAL: CLI Executable

Type: array of string Default: [["spectral"]]
No Additional Items

Each item of this array must be:

(deprecated) OPENAPI_SPECTRAL: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

(deprecated) OPENAPI_SPECTRAL: Custom remove arguments

Type: array of string or string

OPENAPI_SPECTRAL: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

(deprecated) OPENAPI_SPECTRAL: Custom config file name

Type: string Default: ".openapirc.yml"

OPENAPI_SPECTRAL: User custom config file name if different from default

(deprecated) OPENAPI_SPECTRAL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(deprecated) OPENAPI_SPECTRAL: Maximum number of errors allowed

Type: number Default: 0

(deprecated) OPENAPI_SPECTRAL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

OPENAPI_SPECTRAL: Custom config file name

Type: string Default: ".openapirc.yml"

OPENAPI_SPECTRAL: User custom config file name if different from default

(deprecated) OPENAPI_SPECTRAL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(deprecated) OPENAPI_SPECTRAL: Excluding Regex

Type: string

(deprecated) OPENAPI_SPECTRAL: Including Regex

Type: string

(deprecated) OPENAPI_SPECTRAL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) OPENAPI_SPECTRAL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(deprecated) OPENAPI_SPECTRAL: Custom config file path

Type: string

OPENAPI_SPECTRAL: Path where to find linter configuration file

(deprecated) OPENAPI_SPECTRAL: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling OPENAPI_SPECTRAL and its pre/post commands

No Additional Items

Each item of this array must be:

Output detail (DEPRECATED, use reporters variables instead)

Type: enum (of string)

(DEPRECATED) Output detail for text reporter: only error files (simple) or all files (detailed)

Must be one of:

  • "simple"
  • "detailed"

Output format (DEPRECATED, use reporters variables instead)

Type: enum (of string)

(DEPRECATED) Output format: text or tap

Must be one of:

  • "text"
  • "tap"

Parallel processing

Type: boolean Default: true

Process linters in parallel to improve overall MegaLinter performance. If true, linters of same language or formats are grouped in the same parallel process to avoid lock issues if fixing the same files

Parallel process number

Type: number

All available cores are used by default. If there are too many, you need to decrease the number of used cores in order to enhance performances


Example:

4

Excluding regex filter for PERL descriptor

Type: string

Including regex filter for PERL descriptor

Type: string

PERL_PERLCRITIC: Custom arguments

Type: array of string or string

PERL_PERLCRITIC: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PERL_PERLCRITIC: CLI Executable

Type: array of string Default: [["perlcritic"]]
No Additional Items

Each item of this array must be:

PERL_PERLCRITIC: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

PERL_PERLCRITIC: Custom remove arguments

Type: array of string or string

PERL_PERLCRITIC: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PERL_PERLCRITIC: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PERL_PERLCRITIC: Maximum number of errors allowed

Type: number Default: 0

PERL_PERLCRITIC: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PERL_PERLCRITIC: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PERL_PERLCRITIC: Excluding Regex

Type: string

PERL_PERLCRITIC: Including Regex

Type: string

PERL_PERLCRITIC: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PERL_PERLCRITIC: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PERL_PERLCRITIC: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PERL_PERLCRITIC and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for PERL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for PERL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) PHP_BUILTIN: Custom arguments

Type: array of string or string

PHP_BUILTIN: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) PHP_BUILTIN: Override default CLI executable for linting request

Type: string

(removed) PHP_BUILTIN: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

(removed) PHP_BUILTIN: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) PHP_BUILTIN: Maximum number of errors allowed

Type: number Default: 0

(removed) PHP_BUILTIN: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) PHP_BUILTIN: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) PHP_BUILTIN: Excluding Regex

Type: string

(removed) PHP_BUILTIN: Including Regex

Type: string

(removed) PHP_BUILTIN: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) PHP_BUILTIN: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for PHP descriptor

Type: string

Including regex filter for PHP descriptor

Type: string

PHP_PHPCS: Custom arguments

Type: array of string or string

PHP_PHPCS: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PHP_PHPCS: CLI Executable

Type: array of string Default: [["phpcs"]]
No Additional Items

Each item of this array must be:

PHP_PHPCS: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PHP_PHPCS: Custom remove arguments

Type: array of string or string

PHP_PHPCS: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PHP_PHPCS: Custom config file name

Type: string Default: "phpcs.xml"

PHP_PHPCS: User custom config file name if different from default

PHP_PHPCS: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PHP_PHPCS: Maximum number of errors allowed

Type: number Default: 0

PHP_PHPCS: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PHP_PHPCS: Custom config file name

Type: string Default: "phpcs.xml"

PHP_PHPCS: User custom config file name if different from default

PHP_PHPCS: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PHP_PHPCS: Excluding Regex

Type: string

PHP_PHPCS: Including Regex

Type: string

PHP_PHPCS: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPCS: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPCS: Custom config file path

Type: string

PHP_PHPCS: Path where to find linter configuration file

PHP_PHPCS: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PHP_PHPCS and its pre/post commands

No Additional Items

Each item of this array must be:

PHP_PHPLINT: Custom arguments

Type: array of string or string

PHP_PHPLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PHP_PHPLINT: CLI Executable

Type: array of string Default: [["phplint"]]
No Additional Items

Each item of this array must be:

PHP_PHPLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PHP_PHPLINT: Custom remove arguments

Type: array of string or string

PHP_PHPLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PHP_PHPLINT: Custom config file name

Type: string Default: ".phplint.yml"

PHP_PHPLINT: User custom config file name if different from default

PHP_PHPLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PHP_PHPLINT: Maximum number of errors allowed

Type: number Default: 0

PHP_PHPLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PHP_PHPLINT: Custom config file name

Type: string Default: ".phplint.yml"

PHP_PHPLINT: User custom config file name if different from default

PHP_PHPLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PHP_PHPLINT: Excluding Regex

Type: string

PHP_PHPLINT: Including Regex

Type: string

PHP_PHPLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPLINT: Custom config file path

Type: string

PHP_PHPLINT: Path where to find linter configuration file

PHP_PHPLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PHP_PHPLINT and its pre/post commands

No Additional Items

Each item of this array must be:

PHP_PHPSTAN: Custom arguments

Type: array of string or string

PHP_PHPSTAN: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PHP_PHPSTAN: CLI Executable

Type: array of string Default: [["phpstan"]]
No Additional Items

Each item of this array must be:

PHP_PHPSTAN: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PHP_PHPSTAN: Custom remove arguments

Type: array of string or string

PHP_PHPSTAN: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PHP_PHPSTAN: Custom config file name

Type: string Default: "phpstan.neon.dist"

PHP_PHPSTAN: User custom config file name if different from default

PHP_PHPSTAN: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PHP_PHPSTAN: Maximum number of errors allowed

Type: number Default: 0

PHP_PHPSTAN: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PHP_PHPSTAN: Custom config file name

Type: string Default: "phpstan.neon"

PHP_PHPSTAN: User custom config file name if different from default

PHP_PHPSTAN: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PHP_PHPSTAN: Excluding Regex

Type: string

PHP_PHPSTAN: Including Regex

Type: string

PHP_PHPSTAN: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPSTAN: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PHPSTAN: Custom config file path

Type: string

PHP_PHPSTAN: Path where to find linter configuration file

PHP_PHPSTAN: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PHP_PHPSTAN and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for PHP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for PHP descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PSALM: Custom arguments

Type: array of string or string

PHP_PSALM: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PHP_PSALM: CLI Executable

Type: array of string Default: [["psalm"]]
No Additional Items

Each item of this array must be:

PHP_PSALM: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PHP_PSALM: Custom remove arguments

Type: array of string or string

PHP_PSALM: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PHP_PSALM: Custom config file name

Type: string Default: "psalm.xml"

PHP_PSALM: User custom config file name if different from default

PHP_PSALM: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PHP_PSALM: Maximum number of errors allowed

Type: number Default: 0

PHP_PSALM: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PHP_PSALM: Custom config file name

Type: string Default: "psalm.xml"

PHP_PSALM: User custom config file name if different from default

PHP_PSALM: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PHP_PSALM: Excluding Regex

Type: string

PHP_PSALM: Including Regex

Type: string

PHP_PSALM: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PSALM: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PHP_PSALM: Custom config file path

Type: string

PHP_PSALM: Path where to find linter configuration file

PHP_PSALM: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PHP_PSALM and its pre/post commands

No Additional Items

Each item of this array must be:

List of plugins loaded at runtime

Type: array of string

List of MegaLinter plugins. URL must follow format https:///mega-linter-plugin-/**.mega-linter-descriptor.yml

No Additional Items

Each item of this array must be:

Type: string

Example:

[
    "https://raw.githubusercontent.com/cookiejar/megalinter-plugin-cookiejar/master/cookietemplate.mega-linter-descriptor.yml"
]

Post run commands

Type: array Default: []

Custom bash commands to run after linters

No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(DEPRECATED) Activate GitHub PR Comments reporter

Type: boolean Default: true

(DEPRECATED, use GITHUBCOMMENTREPORTER) Posts MegaLinter results summary in the comments of the related pull request (if existing)

(DEPRECATED) Activate Gitlab MR Comments reporter

Type: boolean Default: true

(DEPRECATED, use GITHUBCOMMENTREPORTER) Posts MegaLinter results summary in the comments of the related merge request (if existing)

Excluding regex filter for POWERSHELL descriptor

Type: string

Including regex filter for POWERSHELL descriptor

Type: string

Post commands for POWERSHELL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

POWERSHELL_POWERSHELL: Custom arguments

Type: array of string or string

POWERSHELL_POWERSHELL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL: CLI Executable

Type: array of string Default: [["pwsh"]]
No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

POWERSHELL_POWERSHELL: Custom remove arguments

Type: array of string or string

POWERSHELL_POWERSHELL: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL: Custom config file name

Type: string Default: ".powershell-psscriptanalyzer.psd1"

POWERSHELL_POWERSHELL: User custom config file name if different from default

POWERSHELL_POWERSHELL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

POWERSHELL_POWERSHELL: Maximum number of errors allowed

Type: number Default: 0

POWERSHELL_POWERSHELL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL: Custom config file name

Type: string Default: ".powershell-psscriptanalyzer.psd1"

POWERSHELL_POWERSHELL: User custom config file name if different from default

POWERSHELL_POWERSHELL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

POWERSHELL_POWERSHELL: Excluding Regex

Type: string

POWERSHELL_POWERSHELL: Including Regex

Type: string

POWERSHELL_POWERSHELL_FORMATTER: Custom arguments

Type: array of string or string

POWERSHELLPOWERSHELLFORMATTER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL_FORMATTER: CLI Executable

Type: array of string Default: [["pwsh"]]
No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL_FORMATTER: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

POWERSHELL_POWERSHELL_FORMATTER: Custom remove arguments

Type: array of string or string

POWERSHELLPOWERSHELLFORMATTER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL_FORMATTER: Custom config file name

Type: string Default: ".powershell-formatter.psd1"

POWERSHELLPOWERSHELLFORMATTER: User custom config file name if different from default

POWERSHELL_POWERSHELL_FORMATTER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

POWERSHELL_POWERSHELL_FORMATTER: Maximum number of errors allowed

Type: number Default: 0

POWERSHELL_POWERSHELL_FORMATTER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL_FORMATTER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

POWERSHELL_POWERSHELL_FORMATTER: Excluding Regex

Type: string

POWERSHELL_POWERSHELL_FORMATTER: Including Regex

Type: string

POWERSHELL_POWERSHELL_FORMATTER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

POWERSHELL_POWERSHELL_FORMATTER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

POWERSHELL_POWERSHELL_FORMATTER: Custom config file path

Type: string

POWERSHELLPOWERSHELLFORMATTER: Path where to find linter configuration file

POWERSHELL_POWERSHELL_FORMATTER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling POWERSHELLPOWERSHELLFORMATTER and its pre/post commands

No Additional Items

Each item of this array must be:

POWERSHELL_POWERSHELL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

POWERSHELL_POWERSHELL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

POWERSHELL_POWERSHELL: Custom config file path

Type: string

POWERSHELL_POWERSHELL: Path where to find linter configuration file

POWERSHELL_POWERSHELL: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling POWERSHELL_POWERSHELL and its pre/post commands

No Additional Items

Each item of this array must be:

Pre commands for POWERSHELL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre-run commands

Type: array Default: []

Custom bash commands to run before linters

No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm install java-caller",
        "continue_if_failed": false,
        "cwd": "root"
    },
    {
        "command": "echo \"pre-run command has been called\"",
        "cwd": "workspace"
    }
]

Excluding regex filter for PROTOBUF descriptor

Type: string

Including regex filter for PROTOBUF descriptor

Type: string

Post commands for PROTOBUF descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for PROTOBUF descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PROTOBUF_PROTOLINT: Custom arguments

Type: array of string or string

PROTOBUF_PROTOLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PROTOBUF_PROTOLINT: CLI Executable

Type: array of string Default: [["protolint"]]
No Additional Items

Each item of this array must be:

PROTOBUF_PROTOLINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

PROTOBUF_PROTOLINT: Custom remove arguments

Type: array of string or string

PROTOBUF_PROTOLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PROTOBUF_PROTOLINT: Custom config file name

Type: string Default: ".protolintrc.yml"

PROTOBUF_PROTOLINT: User custom config file name if different from default

PROTOBUF_PROTOLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PROTOBUF_PROTOLINT: Maximum number of errors allowed

Type: number Default: 0

PROTOBUF_PROTOLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PROTOBUF_PROTOLINT: Custom config file name

Type: string Default: ".protolintrc.yml"

PROTOBUF_PROTOLINT: User custom config file name if different from default

PROTOBUF_PROTOLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PROTOBUF_PROTOLINT: Excluding Regex

Type: string

PROTOBUF_PROTOLINT: Including Regex

Type: string

PROTOBUF_PROTOLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PROTOBUF_PROTOLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PROTOBUF_PROTOLINT: Custom config file path

Type: string

PROTOBUF_PROTOLINT: Path where to find linter configuration file

PROTOBUF_PROTOLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PROTOBUF_PROTOLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for PUPPET descriptor

Type: string

Including regex filter for PUPPET descriptor

Type: string

Post commands for PUPPET descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for PUPPET descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PUPPET_PUPPET_LINT: Custom arguments

Type: array of string or string

PUPPETPUPPETLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PUPPET_PUPPET_LINT: CLI Executable

Type: array of string Default: [["puppet-lint"]]
No Additional Items

Each item of this array must be:

PUPPET_PUPPET_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

PUPPET_PUPPET_LINT: Custom remove arguments

Type: array of string or string

PUPPETPUPPETLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PUPPET_PUPPET_LINT: Custom config file name

Type: string Default: ".puppet-lint.rc"

PUPPETPUPPETLINT: User custom config file name if different from default

PUPPET_PUPPET_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PUPPET_PUPPET_LINT: Maximum number of errors allowed

Type: number Default: 0

PUPPET_PUPPET_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PUPPET_PUPPET_LINT: Custom config file name

Type: string Default: ".puppet-lint.rc"

PUPPETPUPPETLINT: User custom config file name if different from default

PUPPET_PUPPET_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PUPPET_PUPPET_LINT: Excluding Regex

Type: string

PUPPET_PUPPET_LINT: Including Regex

Type: string

PUPPET_PUPPET_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PUPPET_PUPPET_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PUPPET_PUPPET_LINT: Custom config file path

Type: string

PUPPETPUPPETLINT: Path where to find linter configuration file

PUPPET_PUPPET_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PUPPETPUPPETLINT and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_BANDIT: Custom arguments

Type: array of string or string

PYTHON_BANDIT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_BANDIT: CLI Executable

Type: array of string Default: [["bandit"]]
No Additional Items

Each item of this array must be:

PYTHON_BANDIT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_BANDIT: Custom remove arguments

Type: array of string or string

PYTHON_BANDIT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_BANDIT: Custom config file name

Type: string Default: ".bandit.yml"

PYTHON_BANDIT: User custom config file name if different from default

PYTHON_BANDIT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_BANDIT: Maximum number of errors allowed

Type: number Default: 0

PYTHON_BANDIT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_BANDIT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_BANDIT: Excluding Regex

Type: string

PYTHON_BANDIT: Including Regex

Type: string

PYTHON_BANDIT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_BANDIT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_BANDIT: Custom config file path

Type: string

PYTHON_BANDIT: Path where to find linter configuration file

PYTHON_BANDIT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_BANDIT and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_BLACK: Custom arguments

Type: array of string or string

PYTHON_BLACK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_BLACK: CLI Executable

Type: array of string Default: [["black"]]
No Additional Items

Each item of this array must be:

PYTHON_BLACK: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_BLACK: Custom remove arguments

Type: array of string or string

PYTHON_BLACK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_BLACK: Custom config file name

Type: string Default: "pyproject.toml"

PYTHON_BLACK: User custom config file name if different from default

PYTHON_BLACK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_BLACK: Maximum number of errors allowed

Type: number Default: 0

PYTHON_BLACK: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_BLACK: Custom config file name

Type: string Default: ".python-black"

PYTHON_BLACK: User custom config file name if different from default

PYTHON_BLACK: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_BLACK: Excluding Regex

Type: string

PYTHON_BLACK: Including Regex

Type: string

PYTHON_BLACK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_BLACK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_BLACK: Custom config file path

Type: string

PYTHON_BLACK: Path where to find linter configuration file

PYTHON_BLACK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_BLACK and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for PYTHON descriptor

Type: string

Including regex filter for PYTHON descriptor

Type: string

PYTHON_FLAKE8: Custom arguments

Type: array of string or string

PYTHON_FLAKE8: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_FLAKE8: CLI Executable

Type: array of string Default: [["flake8"]]
No Additional Items

Each item of this array must be:

PYTHON_FLAKE8: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_FLAKE8: Custom remove arguments

Type: array of string or string

PYTHON_FLAKE8: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_FLAKE8: Custom config file name

Type: string Default: ".flake8"

PYTHON_FLAKE8: User custom config file name if different from default

PYTHON_FLAKE8: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_FLAKE8: Maximum number of errors allowed

Type: number Default: 0

PYTHON_FLAKE8: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_FLAKE8: Custom config file name

Type: string Default: ".flake8"

PYTHON_FLAKE8: User custom config file name if different from default

PYTHON_FLAKE8: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_FLAKE8: Excluding Regex

Type: string

PYTHON_FLAKE8: Including Regex

Type: string

PYTHON_FLAKE8: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_FLAKE8: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_FLAKE8: Custom config file path

Type: string

PYTHON_FLAKE8: Path where to find linter configuration file

PYTHON_FLAKE8: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_FLAKE8 and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_ISORT: Custom arguments

Type: array of string or string

PYTHON_ISORT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_ISORT: CLI Executable

Type: array of string Default: [["isort"]]
No Additional Items

Each item of this array must be:

PYTHON_ISORT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_ISORT: Custom remove arguments

Type: array of string or string

PYTHON_ISORT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_ISORT: Custom config file name

Type: string Default: ".isort.cfg"

PYTHON_ISORT: User custom config file name if different from default

PYTHON_ISORT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_ISORT: Maximum number of errors allowed

Type: number Default: 0

PYTHON_ISORT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_ISORT: Custom config file name

Type: string Default: ".isort.cfg"

PYTHON_ISORT: User custom config file name if different from default

PYTHON_ISORT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_ISORT: Excluding Regex

Type: string

PYTHON_ISORT: Including Regex

Type: string

PYTHON_ISORT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_ISORT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_ISORT: Custom config file path

Type: string

PYTHON_ISORT: Path where to find linter configuration file

PYTHON_ISORT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_ISORT and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_MYPY: Custom arguments

Type: array of string or string

PYTHON_MYPY: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_MYPY: CLI Executable

Type: array of string Default: [["mypy"]]
No Additional Items

Each item of this array must be:

PYTHON_MYPY: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_MYPY: Custom remove arguments

Type: array of string or string

PYTHON_MYPY: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_MYPY: Custom config file name

Type: string Default: ".mypy.ini"

PYTHON_MYPY: User custom config file name if different from default

PYTHON_MYPY: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_MYPY: Maximum number of errors allowed

Type: number Default: 0

PYTHON_MYPY: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_MYPY: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_MYPY: Excluding Regex

Type: string

PYTHON_MYPY: Including Regex

Type: string

PYTHON_MYPY: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_MYPY: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_MYPY: Custom config file path

Type: string

PYTHON_MYPY: Path where to find linter configuration file

PYTHON_MYPY: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_MYPY and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for PYTHON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for PYTHON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_PYLINT: Custom arguments

Type: array of string or string

PYTHON_PYLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_PYLINT: CLI Executable

Type: array of string Default: [["pylint"]]
No Additional Items

Each item of this array must be:

PYTHON_PYLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_PYLINT: Custom remove arguments

Type: array of string or string

PYTHON_PYLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_PYLINT: Custom config file name

Type: string Default: ".pylintrc"

PYTHON_PYLINT: User custom config file name if different from default

PYTHON_PYLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_PYLINT: Maximum number of errors allowed

Type: number Default: 0

PYTHON_PYLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_PYLINT: Custom config file name

Type: string Default: ".python-lint"

PYTHON_PYLINT: User custom config file name if different from default

PYTHON_PYLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_PYLINT: Excluding Regex

Type: string

PYTHON_PYLINT: Including Regex

Type: string

PYTHON_PYLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_PYLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_PYLINT: Custom config file path

Type: string

PYTHON_PYLINT: Path where to find linter configuration file

PYTHON_PYLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_PYLINT and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_PYRIGHT: Custom arguments

Type: array of string or string

PYTHON_PYRIGHT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_PYRIGHT: CLI Executable

Type: array of string Default: [["pyright"]]
No Additional Items

Each item of this array must be:

PYTHON_PYRIGHT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_PYRIGHT: Custom remove arguments

Type: array of string or string

PYTHON_PYRIGHT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_PYRIGHT: Custom config file name

Type: string Default: "pyrightconfig.json"

PYTHON_PYRIGHT: User custom config file name if different from default

PYTHON_PYRIGHT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_PYRIGHT: Maximum number of errors allowed

Type: number Default: 0

PYTHON_PYRIGHT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_PYRIGHT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_PYRIGHT: Excluding Regex

Type: string

PYTHON_PYRIGHT: Including Regex

Type: string

PYTHON_PYRIGHT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_PYRIGHT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_PYRIGHT: Custom config file path

Type: string

PYTHON_PYRIGHT: Path where to find linter configuration file

PYTHON_PYRIGHT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_PYRIGHT and its pre/post commands

No Additional Items

Each item of this array must be:

PYTHON_RUFF: Custom arguments

Type: array of string or string

PYTHON_RUFF: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

PYTHON_RUFF: CLI Executable

Type: array of string Default: [["ruff"]]
No Additional Items

Each item of this array must be:

PYTHON_RUFF: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

PYTHON_RUFF: Custom remove arguments

Type: array of string or string

PYTHON_RUFF: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

PYTHON_RUFF: Custom config file name

Type: string Default: ".ruff.toml"

PYTHON_RUFF: User custom config file name if different from default

PYTHON_RUFF: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

PYTHON_RUFF: Maximum number of errors allowed

Type: number Default: 0

PYTHON_RUFF: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

PYTHON_RUFF: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

PYTHON_RUFF: Excluding Regex

Type: string

PYTHON_RUFF: Including Regex

Type: string

PYTHON_RUFF: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_RUFF: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

PYTHON_RUFF: Custom config file path

Type: string

PYTHON_RUFF: Path where to find linter configuration file

PYTHON_RUFF: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling PYTHON_RUFF and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for RAKU descriptor

Type: string

Including regex filter for RAKU descriptor

Type: string

Post commands for RAKU descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for RAKU descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RAKU_RAKU: Custom arguments

Type: array of string or string

RAKU_RAKU: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RAKU_RAKU: CLI Executable

Type: array of string Default: [["raku"]]
No Additional Items

Each item of this array must be:

RAKU_RAKU: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

RAKU_RAKU: Custom remove arguments

Type: array of string or string

RAKU_RAKU: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RAKU_RAKU: Custom config file name

Type: string Default: "META6.json"

RAKU_RAKU: User custom config file name if different from default

RAKU_RAKU: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RAKU_RAKU: Maximum number of errors allowed

Type: number Default: 0

RAKU_RAKU: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RAKU_RAKU: Custom config file name

Type: string Default: "META6.json"

RAKU_RAKU: User custom config file name if different from default

RAKU_RAKU: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RAKU_RAKU: Excluding Regex

Type: string

RAKU_RAKU: Including Regex

Type: string

RAKU_RAKU: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RAKU_RAKU: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RAKU_RAKU: Custom config file path

Type: string

RAKU_RAKU: Path where to find linter configuration file

RAKU_RAKU: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RAKU_RAKU and its pre/post commands

No Additional Items

Each item of this array must be:

Reporters Markdown type

Type: enum (of string) Default: "advanced"

Define simple if you do not to have external images in PR/MR comments

Must be one of:

  • "simple"
  • "advanced"

Output folder

Type: string Default: "report"

The location where the output reporting will be generated to

REPOSITORY_CHECKOV: Custom arguments

Type: array of string or string

REPOSITORY_CHECKOV: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_CHECKOV: CLI Executable

Type: array of string Default: [["checkov"]]
No Additional Items

Each item of this array must be:

REPOSITORY_CHECKOV: Custom remove arguments

Type: array of string or string

REPOSITORY_CHECKOV: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_CHECKOV: Custom config file name

Type: string Default: ".checkov.yml"

REPOSITORY_CHECKOV: User custom config file name if different from default

REPOSITORY_CHECKOV: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_CHECKOV: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_CHECKOV: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_CHECKOV: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_CHECKOV: Custom config file path

Type: string

REPOSITORY_CHECKOV: Path where to find linter configuration file

REPOSITORY_CHECKOV: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_CHECKOV and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_DEVSKIM: Custom arguments

Type: array of string or string

REPOSITORY_DEVSKIM: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_DEVSKIM: CLI Executable

Type: array of string Default: [["devskim"]]
No Additional Items

Each item of this array must be:

REPOSITORY_DEVSKIM: Custom remove arguments

Type: array of string or string

REPOSITORY_DEVSKIM: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_DEVSKIM: Custom config file name

Type: string Default: ".devskim.json"

REPOSITORY_DEVSKIM: User custom config file name if different from default

REPOSITORY_DEVSKIM: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_DEVSKIM: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_DEVSKIM: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_DEVSKIM: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_DEVSKIM: Custom config file path

Type: string

REPOSITORY_DEVSKIM: Path where to find linter configuration file

REPOSITORY_DEVSKIM: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_DEVSKIM and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_DUSTILOCK: Custom arguments

Type: array of string or string

REPOSITORY_DUSTILOCK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_DUSTILOCK: CLI Executable

Type: array of string Default: [["dustilock"]]
No Additional Items

Each item of this array must be:

REPOSITORY_DUSTILOCK: Custom remove arguments

Type: array of string or string

REPOSITORY_DUSTILOCK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_DUSTILOCK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_DUSTILOCK: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_DUSTILOCK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_DUSTILOCK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_DUSTILOCK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_DUSTILOCK and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for REPOSITORY descriptor

Type: string

Including regex filter for REPOSITORY descriptor

Type: string

REPOSITORY_GITLEAKS: Custom arguments

Type: array of string or string

REPOSITORY_GITLEAKS: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_GITLEAKS: CLI Executable

Type: array of string Default: [["gitleaks"]]
No Additional Items

Each item of this array must be:

REPOSITORY_GITLEAKS: Custom remove arguments

Type: array of string or string

REPOSITORY_GITLEAKS: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_GITLEAKS: Custom config file name

Type: string Default: ".gitleaks.toml"

REPOSITORY_GITLEAKS: User custom config file name if different from default

REPOSITORY_GITLEAKS: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_GITLEAKS: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_GITLEAKS: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GITLEAKS: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GITLEAKS: Custom config file path

Type: string

REPOSITORY_GITLEAKS: Path where to find linter configuration file

REPOSITORY_GITLEAKS: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_GITLEAKS and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_GIT_DIFF: Custom arguments

Type: array of string or string

REPOSITORYGITDIFF: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_GIT_DIFF: CLI Executable

Type: array of string Default: [["git"]]
No Additional Items

Each item of this array must be:

REPOSITORY_GIT_DIFF: Custom remove arguments

Type: array of string or string

REPOSITORYGITDIFF: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_GIT_DIFF: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_GIT_DIFF: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_GIT_DIFF: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GIT_DIFF: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GIT_DIFF: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORYGITDIFF and its pre/post commands

No Additional Items

Each item of this array must be:

(removed) REPOSITORY_GOODCHECK: Custom arguments

Type: array of string or string

REPOSITORY_GOODCHECK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) REPOSITORY_GOODCHECK: CLI Executable

Type: array of string Default: [["goodcheck"]]
No Additional Items

Each item of this array must be:

(removed) REPOSITORY_GOODCHECK: Custom config file name

Type: string Default: "goodcheck.yml"

REPOSITORY_GOODCHECK: User custom config file name if different from default

(removed) REPOSITORY_GOODCHECK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) REPOSITORY_GOODCHECK: Maximum number of errors allowed

Type: number Default: 0

(removed) REPOSITORY_GOODCHECK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) REPOSITORY_GOODCHECK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) REPOSITORY_GOODCHECK: Custom config file path

Type: string

REPOSITORY_GOODCHECK: Path where to find linter configuration file

REPOSITORY_GRYPE: Custom arguments

Type: array of string or string

REPOSITORY_GRYPE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_GRYPE: CLI Executable

Type: array of string Default: [["grype"]]
No Additional Items

Each item of this array must be:

REPOSITORY_GRYPE: Custom remove arguments

Type: array of string or string

REPOSITORY_GRYPE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_GRYPE: Custom config file name

Type: string Default: ".grype.yaml"

REPOSITORY_GRYPE: User custom config file name if different from default

REPOSITORY_GRYPE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_GRYPE: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_GRYPE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GRYPE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_GRYPE: Custom config file path

Type: string

REPOSITORY_GRYPE: Path where to find linter configuration file

REPOSITORY_GRYPE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_GRYPE and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_KICS: Custom arguments

Type: array of string or string

REPOSITORY_KICS: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_KICS: CLI Executable

Type: array of string Default: [["kics"]]
No Additional Items

Each item of this array must be:

REPOSITORY_KICS: Custom remove arguments

Type: array of string or string

REPOSITORY_KICS: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_KICS: Custom config file name

Type: string Default: "kics.config"

REPOSITORY_KICS: User custom config file name if different from default

REPOSITORY_KICS: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_KICS: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_KICS: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_KICS: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_KICS: Custom config file path

Type: string

REPOSITORY_KICS: Path where to find linter configuration file

REPOSITORY_KICS: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_KICS and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for REPOSITORY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for REPOSITORY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SECRETLINT: Custom arguments

Type: array of string or string

REPOSITORY_SECRETLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_SECRETLINT: CLI Executable

Type: array of string Default: [["secretlint"]]
No Additional Items

Each item of this array must be:

REPOSITORY_SECRETLINT: Custom remove arguments

Type: array of string or string

REPOSITORY_SECRETLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_SECRETLINT: Custom config file name

Type: string Default: ".secretlintrc.json"

REPOSITORY_SECRETLINT: User custom config file name if different from default

REPOSITORY_SECRETLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_SECRETLINT: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_SECRETLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SECRETLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SECRETLINT: Custom config file path

Type: string

REPOSITORY_SECRETLINT: Path where to find linter configuration file

REPOSITORY_SECRETLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_SECRETLINT and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_SEMGREP: Custom arguments

Type: array of string or string

REPOSITORY_SEMGREP: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_SEMGREP: CLI Executable

Type: array of string Default: [["semgrep"]]
No Additional Items

Each item of this array must be:

REPOSITORY_SEMGREP: Custom remove arguments

Type: array of string or string

REPOSITORY_SEMGREP: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_SEMGREP: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_SEMGREP: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_SEMGREP: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SEMGREP: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SEMGREP: Custom arguments

Type: array of string or string

REPOSITORY_SEMGREP: Specify custom ruleset(s) for semgrep

No Additional Items

Each item of this array must be:

REPOSITORY_SEMGREP: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_SEMGREP and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_SYFT: Custom arguments

Type: array of string or string

REPOSITORY_SYFT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_SYFT: CLI Executable

Type: array of string Default: [["syft"]]
No Additional Items

Each item of this array must be:

REPOSITORY_SYFT: Custom remove arguments

Type: array of string or string

REPOSITORY_SYFT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_SYFT: Custom config file name

Type: string Default: ".syft.yaml"

REPOSITORY_SYFT: User custom config file name if different from default

REPOSITORY_SYFT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_SYFT: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_SYFT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SYFT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_SYFT: Custom config file path

Type: string

REPOSITORY_SYFT: Path where to find linter configuration file

REPOSITORY_SYFT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_SYFT and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY: Custom arguments

Type: array of string or string

REPOSITORY_TRIVY: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY: CLI Executable

Type: array of string Default: [["trivy"]]
No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY: Custom remove arguments

Type: array of string or string

REPOSITORY_TRIVY: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY: Custom config file name

Type: string Default: "trivy.yaml"

REPOSITORY_TRIVY: User custom config file name if different from default

REPOSITORY_TRIVY: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_TRIVY: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_TRIVY: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRIVY: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRIVY: Custom config file path

Type: string

REPOSITORY_TRIVY: Path where to find linter configuration file

REPOSITORY_TRIVY_SBOM: Custom arguments

Type: array of string or string

REPOSITORYTRIVYSBOM: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY_SBOM: CLI Executable

Type: array of string Default: [["trivy"]]
No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY_SBOM: Custom remove arguments

Type: array of string or string

REPOSITORYTRIVYSBOM: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY_SBOM: Custom config file name

Type: string Default: "trivy-sbom.yaml"

REPOSITORYTRIVYSBOM: User custom config file name if different from default

REPOSITORY_TRIVY_SBOM: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_TRIVY_SBOM: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_TRIVY_SBOM: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRIVY_SBOM: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRIVY_SBOM: Custom config file path

Type: string

REPOSITORYTRIVYSBOM: Path where to find linter configuration file

REPOSITORY_TRIVY_SBOM: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORYTRIVYSBOM and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_TRIVY: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_TRIVY and its pre/post commands

No Additional Items

Each item of this array must be:

REPOSITORY_TRUFFLEHOG: Custom arguments

Type: array of string or string

REPOSITORY_TRUFFLEHOG: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

REPOSITORY_TRUFFLEHOG: CLI Executable

Type: array of string Default: [["trufflehog"]]
No Additional Items

Each item of this array must be:

REPOSITORY_TRUFFLEHOG: Custom remove arguments

Type: array of string or string

REPOSITORY_TRUFFLEHOG: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

REPOSITORY_TRUFFLEHOG: Custom config file name

Type: string Default: ".trufflehog.yml"

REPOSITORY_TRUFFLEHOG: User custom config file name if different from default

REPOSITORY_TRUFFLEHOG: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

REPOSITORY_TRUFFLEHOG: Maximum number of errors allowed

Type: number Default: 0

REPOSITORY_TRUFFLEHOG: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRUFFLEHOG: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

REPOSITORY_TRUFFLEHOG: Custom config file path

Type: string

REPOSITORY_TRUFFLEHOG: Path where to find linter configuration file

REPOSITORY_TRUFFLEHOG: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling REPOSITORY_TRUFFLEHOG and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for RST descriptor

Type: string

Including regex filter for RST descriptor

Type: string

Post commands for RST descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for RST descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RSTCHECK: Custom arguments

Type: array of string or string

RST_RSTCHECK: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RST_RSTCHECK: CLI Executable

Type: array of string Default: [["rstcheck"]]
No Additional Items

Each item of this array must be:

RST_RSTCHECK: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

RST_RSTCHECK: Custom remove arguments

Type: array of string or string

RST_RSTCHECK: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RST_RSTCHECK: Custom config file name

Type: string Default: ".rstcheck.cfg"

RST_RSTCHECK: User custom config file name if different from default

RST_RSTCHECK: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RST_RSTCHECK: Maximum number of errors allowed

Type: number Default: 0

RST_RSTCHECK: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RST_RSTCHECK: Custom config file name

Type: string Default: ".rstcheck.cfg"

RST_RSTCHECK: User custom config file name if different from default

RST_RSTCHECK: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RST_RSTCHECK: Excluding Regex

Type: string

RST_RSTCHECK: Including Regex

Type: string

RST_RSTCHECK: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RSTCHECK: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RSTCHECK: Custom config file path

Type: string

RST_RSTCHECK: Path where to find linter configuration file

RST_RSTCHECK: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RST_RSTCHECK and its pre/post commands

No Additional Items

Each item of this array must be:

RST_RSTFMT: Custom arguments

Type: array of string or string

RST_RSTFMT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RST_RSTFMT: CLI Executable

Type: array of string Default: [["rstfmt"]]
No Additional Items

Each item of this array must be:

RST_RSTFMT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

RST_RSTFMT: Custom remove arguments

Type: array of string or string

RST_RSTFMT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RST_RSTFMT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RST_RSTFMT: Maximum number of errors allowed

Type: number Default: 0

RST_RSTFMT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RST_RSTFMT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RST_RSTFMT: Excluding Regex

Type: string

RST_RSTFMT: Including Regex

Type: string

RST_RSTFMT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RSTFMT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RSTFMT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RST_RSTFMT and its pre/post commands

No Additional Items

Each item of this array must be:

RST_RST_LINT: Custom arguments

Type: array of string or string

RSTRSTLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RST_RST_LINT: CLI Executable

Type: array of string Default: [["rst-lint"]]
No Additional Items

Each item of this array must be:

RST_RST_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

RST_RST_LINT: Custom remove arguments

Type: array of string or string

RSTRSTLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RST_RST_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RST_RST_LINT: Maximum number of errors allowed

Type: number Default: 0

RST_RST_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RST_RST_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RST_RST_LINT: Excluding Regex

Type: string

RST_RST_LINT: Including Regex

Type: string

RST_RST_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RST_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RST_RST_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RSTRSTLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for RUBY descriptor

Type: string

Including regex filter for RUBY descriptor

Type: string

Post commands for RUBY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for RUBY descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RUBY_RUBOCOP: Custom arguments

Type: array of string or string

RUBY_RUBOCOP: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RUBY_RUBOCOP: CLI Executable

Type: array of string Default: [["rubocop"]]
No Additional Items

Each item of this array must be:

RUBY_RUBOCOP: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

RUBY_RUBOCOP: Custom remove arguments

Type: array of string or string

RUBY_RUBOCOP: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RUBY_RUBOCOP: Custom config file name

Type: string Default: ".ruby-lint.yml"

RUBY_RUBOCOP: User custom config file name if different from default

RUBY_RUBOCOP: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RUBY_RUBOCOP: Maximum number of errors allowed

Type: number Default: 0

RUBY_RUBOCOP: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RUBY_RUBOCOP: Custom config file name

Type: string Default: ".ruby-lint.yml"

RUBY_RUBOCOP: User custom config file name if different from default

RUBY_RUBOCOP: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RUBY_RUBOCOP: Excluding Regex

Type: string

RUBY_RUBOCOP: Including Regex

Type: string

RUBY_RUBOCOP: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RUBY_RUBOCOP: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RUBY_RUBOCOP: Custom config file path

Type: string

RUBY_RUBOCOP: Path where to find linter configuration file

RUBY_RUBOCOP: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RUBY_RUBOCOP and its pre/post commands

No Additional Items

Each item of this array must be:

RUST_CLIPPY: Custom arguments

Type: array of string or string

RUST_CLIPPY: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

RUST_CLIPPY: CLI Executable

Type: array of string Default: [["cargo-clippy"]]
No Additional Items

Each item of this array must be:

RUST_CLIPPY: Custom remove arguments

Type: array of string or string

RUST_CLIPPY: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

RUST_CLIPPY: Custom config file name

Type: string Default: ".clippy.toml"

RUST_CLIPPY: User custom config file name if different from default

RUST_CLIPPY: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

RUST_CLIPPY: Maximum number of errors allowed

Type: number Default: 0

RUST_CLIPPY: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

RUST_CLIPPY: Custom config file name

Type: string Default: ".clippy.toml"

RUST_CLIPPY: User custom config file name if different from default

RUST_CLIPPY: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

RUST_CLIPPY: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RUST_CLIPPY: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

RUST_CLIPPY: Custom config file path

Type: string

RUST_CLIPPY: Path where to find linter configuration file

RUST_CLIPPY: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling RUST_CLIPPY and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for RUST descriptor

Type: string

Including regex filter for RUST descriptor

Type: string

Post commands for RUST descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for RUST descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for R descriptor

Type: string

Including regex filter for R descriptor

Type: string

R_LINTR: Custom arguments

Type: array of string or string

R_LINTR: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

R_LINTR: CLI Executable

Type: array of string Default: [["lintr"]]
No Additional Items

Each item of this array must be:

R_LINTR: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

R_LINTR: Custom remove arguments

Type: array of string or string

R_LINTR: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

R_LINTR: Custom config file name

Type: string Default: ".lintr"

R_LINTR: User custom config file name if different from default

R_LINTR: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

R_LINTR: Maximum number of errors allowed

Type: number Default: 0

R_LINTR: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

R_LINTR: Custom config file name

Type: string Default: ".lintr"

R_LINTR: User custom config file name if different from default

R_LINTR: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

R_LINTR: Excluding Regex

Type: string

R_LINTR: Including Regex

Type: string

R_LINTR: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

R_LINTR: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

R_LINTR: Custom config file path

Type: string

R_LINTR: Path where to find linter configuration file

R_LINTR: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling R_LINTR and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for R descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for R descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_DIRECTORY: Directory containing SALESFORCE files

Type: string Default: "force-app"

Excluding regex filter for SALESFORCE descriptor

Type: string

Including regex filter for SALESFORCE descriptor

Type: string

SALESFORCE_LIGHTNING_FLOW_SCANNER: Custom arguments

Type: array of string or string

SALESFORCELIGHTNINGFLOW_SCANNER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SALESFORCE_LIGHTNING_FLOW_SCANNER: CLI Executable

Type: array of string Default: [["sf"]]
No Additional Items

Each item of this array must be:

SALESFORCE_LIGHTNING_FLOW_SCANNER: Custom remove arguments

Type: array of string or string

SALESFORCELIGHTNINGFLOW_SCANNER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SALESFORCE_LIGHTNING_FLOW_SCANNER: Custom config file name

Type: string Default: ".flow-scanner.json"

SALESFORCELIGHTNINGFLOW_SCANNER: User custom config file name if different from default

SALESFORCE_LIGHTNING_FLOW_SCANNER: Directory containing SALESFORCE files

Type: string Default: "force-app"

Directory that must be found to activate linter. Use value "any" to always activate

SALESFORCE_LIGHTNING_FLOW_SCANNER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SALESFORCE_LIGHTNING_FLOW_SCANNER: Maximum number of errors allowed

Type: number Default: 0

SALESFORCE_LIGHTNING_FLOW_SCANNER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_LIGHTNING_FLOW_SCANNER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_LIGHTNING_FLOW_SCANNER: Custom config file path

Type: string

SALESFORCELIGHTNINGFLOW_SCANNER: Path where to find linter configuration file

SALESFORCE_LIGHTNING_FLOW_SCANNER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SALESFORCELIGHTNINGFLOW_SCANNER and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for SALESFORCE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SALESFORCE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_APEX: Custom arguments

Type: array of string or string

SALESFORCESFDXSCANNER_APEX: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_APEX: CLI Executable

Type: array of string Default: [["sf"]]
No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_APEX: Custom remove arguments

Type: array of string or string

SALESFORCESFDXSCANNER_APEX: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_APEX: Custom config file name

Type: string Default: "apex-pmd-ruleset.xml"

SALESFORCESFDXSCANNER_APEX: User custom config file name if different from default

SALESFORCE_SFDX_SCANNER_APEX: Directory containing SALESFORCE files

Type: string Default: "force-app"

Directory that must be found to activate linter. Use value "any" to always activate

SALESFORCE_SFDX_SCANNER_APEX: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SALESFORCE_SFDX_SCANNER_APEX: Maximum number of errors allowed

Type: number Default: 0

SALESFORCE_SFDX_SCANNER_APEX: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_APEX: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_APEX: Custom config file path

Type: string

SALESFORCESFDXSCANNER_APEX: Path where to find linter configuration file

SALESFORCE_SFDX_SCANNER_APEX: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SALESFORCESFDXSCANNER_APEX and its pre/post commands

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER: Custom arguments

Type: array of string or string

SALESFORCESFDXSCANNER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_AURA: Custom arguments

Type: array of string or string

SALESFORCESFDXSCANNER_AURA: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_AURA: CLI Executable

Type: array of string Default: [["sf"]]
No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_AURA: Custom remove arguments

Type: array of string or string

SALESFORCESFDXSCANNER_AURA: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_AURA: Custom config file name

Type: string Default: "--eslintconfig"

SALESFORCESFDXSCANNER_AURA: User custom config file name if different from default

SALESFORCE_SFDX_SCANNER_AURA: Directory containing SALESFORCE files

Type: string Default: "force-app"

Directory that must be found to activate linter. Use value "any" to always activate

SALESFORCE_SFDX_SCANNER_AURA: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SALESFORCE_SFDX_SCANNER_AURA: Maximum number of errors allowed

Type: number Default: 0

SALESFORCE_SFDX_SCANNER_AURA: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_AURA: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_AURA: Custom config file path

Type: string

SALESFORCESFDXSCANNER_AURA: Path where to find linter configuration file

SALESFORCE_SFDX_SCANNER_AURA: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SALESFORCESFDXSCANNER_AURA and its pre/post commands

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER: Directory containing SALESFORCE files

Type: string Default: "force-app"

SALESFORCE_SFDX_SCANNER: Linter does not make MegaLinter fail even if errors are found

Type: boolean Default: false

SALESFORCE_SFDX_SCANNER: Maximum number of errors allowed

Type: number Default: 0

SALESFORCE_SFDX_SCANNER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SALESFORCE_SFDX_SCANNER: Excluding Regex

Type: string

SALESFORCE_SFDX_SCANNER: Including Regex

Type: string

SALESFORCE_SFDX_SCANNER_LWC: Custom arguments

Type: array of string or string

SALESFORCESFDXSCANNER_LWC: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_LWC: CLI Executable

Type: array of string Default: [["sf"]]
No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_LWC: Custom remove arguments

Type: array of string or string

SALESFORCESFDXSCANNER_LWC: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SALESFORCE_SFDX_SCANNER_LWC: Custom config file name

Type: string Default: "--eslintconfig"

SALESFORCESFDXSCANNER_LWC: User custom config file name if different from default

SALESFORCE_SFDX_SCANNER_LWC: Directory containing SALESFORCE files

Type: string Default: "force-app"

Directory that must be found to activate linter. Use value "any" to always activate

SALESFORCE_SFDX_SCANNER_LWC: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SALESFORCE_SFDX_SCANNER_LWC: Maximum number of errors allowed

Type: number Default: 0

SALESFORCE_SFDX_SCANNER_LWC: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_LWC: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SALESFORCE_SFDX_SCANNER_LWC: Custom config file path

Type: string

SALESFORCESFDXSCANNER_LWC: Path where to find linter configuration file

SALESFORCE_SFDX_SCANNER_LWC: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SALESFORCESFDXSCANNER_LWC and its pre/post commands

No Additional Items

Each item of this array must be:

Activate SARIF reporter

Type: boolean Default: false

Generate SARIF reports that can be used to display issues directly in GitHub UI

SARIF report file name

Type: string Default: "mega-linter-report.sarif"

Override SARIF output file name

SARIF enabled linters

Type: array

If SARIFREPORTERLINTERS is set, only the linters in the list will output SARIF

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "ACTION_ACTIONLINT"
  • "ANSIBLE_ANSIBLE_LINT"
  • "API_SPECTRAL"
  • "ARM_ARM_TTK"
  • "BASH_EXEC"
  • "BASH_SHELLCHECK"
  • "BASH_SHFMT"
  • "BICEP_BICEP_LINTER"
  • "CLOJURE_CLJSTYLE"
  • "CLOJURE_CLJ_KONDO"
  • "CLOUDFORMATION_CFN_LINT"
  • "COFFEE_COFFEELINT"
  • "COPYPASTE_JSCPD"
  • "CPP_CLANG_FORMAT"
  • "CPP_CPPLINT"
  • "CREDENTIALS_SECRETLINT"
  • "CSHARP_CSHARPIER"
  • "CSHARP_DOTNET_FORMAT"
  • "CSHARP_ROSLYNATOR"
  • "CSS_SCSS_LINT"
  • "CSS_STYLELINT"
  • "C_CLANG_FORMAT"
  • "C_CPPLINT"
  • "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_DJLINT"
  • "HTML_HTMLHINT"
  • "JAVASCRIPT_ES"
  • "JAVASCRIPT_PRETTIER"
  • "JAVASCRIPT_STANDARD"
  • "JAVA_CHECKSTYLE"
  • "JAVA_PMD"
  • "JSON_ESLINT_PLUGIN_JSONC"
  • "JSON_JSONLINT"
  • "JSON_NPM_PACKAGE_JSON_LINT"
  • "JSON_PRETTIER"
  • "JSON_V8R"
  • "JSX_ESLINT"
  • "KOTLIN_DETEKT"
  • "KOTLIN_KTLINT"
  • "KUBERNETES_HELM"
  • "KUBERNETES_KUBECONFORM"
  • "KUBERNETES_KUBESCAPE"
  • "KUBERNETES_KUBEVAL"
  • "LATEX_CHKTEX"
  • "LUA_LUACHECK"
  • "MAKEFILE_CHECKMAKE"
  • "MARKDOWN_MARKDOWNLINT"
  • "MARKDOWN_MARKDOWN_LINK_CHECK"
  • "MARKDOWN_MARKDOWN_TABLE_FORMATTER"
  • "MARKDOWN_REMARK_LINT"
  • "OPENAPI_SPECTRAL"
  • "PERL_PERLCRITIC"
  • "PHP_BUILTIN"
  • "PHP_PHPCS"
  • "PHP_PHPLINT"
  • "PHP_PHPSTAN"
  • "PHP_PSALM"
  • "POWERSHELL_POWERSHELL"
  • "POWERSHELL_POWERSHELL_FORMATTER"
  • "PROTOBUF_PROTOLINT"
  • "PUPPET_PUPPET_LINT"
  • "PYTHON_BANDIT"
  • "PYTHON_BLACK"
  • "PYTHON_FLAKE8"
  • "PYTHON_ISORT"
  • "PYTHON_MYPY"
  • "PYTHON_PYLINT"
  • "PYTHON_PYRIGHT"
  • "PYTHON_RUFF"
  • "RAKU_RAKU"
  • "REPOSITORY_CHECKOV"
  • "REPOSITORY_DEVSKIM"
  • "REPOSITORY_DUSTILOCK"
  • "REPOSITORY_GITLEAKS"
  • "REPOSITORY_GIT_DIFF"
  • "REPOSITORY_GOODCHECK"
  • "REPOSITORY_GRYPE"
  • "REPOSITORY_KICS"
  • "REPOSITORY_SECRETLINT"
  • "REPOSITORY_SEMGREP"
  • "REPOSITORY_SYFT"
  • "REPOSITORY_TRIVY"
  • "REPOSITORY_TRIVY_SBOM"
  • "REPOSITORY_TRUFFLEHOG"
  • "RST_RSTCHECK"
  • "RST_RSTFMT"
  • "RST_RST_LINT"
  • "RUBY_RUBOCOP"
  • "RUST_CLIPPY"
  • "R_LINTR"
  • "SALESFORCE_LIGHTNING_FLOW_SCANNER"
  • "SALESFORCE_SFDX_SCANNER_APEX"
  • "SALESFORCE_SFDX_SCANNER_AURA"
  • "SALESFORCE_SFDX_SCANNER_LWC"
  • "SCALA_SCALAFIX"
  • "SNAKEMAKE_LINT"
  • "SNAKEMAKE_SNAKEFMT"
  • "SPELL_CSPELL"
  • "SPELL_LYCHEE"
  • "SPELL_MISSPELL"
  • "SPELL_PROSELINT"
  • "SPELL_VALE"
  • "SQL_SQLFLUFF"
  • "SQL_SQL_LINT"
  • "SQL_TSQLLINT"
  • "SWIFT_SWIFTLINT"
  • "TEKTON_TEKTON_LINT"
  • "TERRAFORM_CHECKOV"
  • "TERRAFORM_KICS"
  • "TERRAFORM_TERRAFORM_FMT"
  • "TERRAFORM_TERRAGRUNT"
  • "TERRAFORM_TERRASCAN"
  • "TERRAFORM_TFLINT"
  • "TSX_ESLINT"
  • "TYPESCRIPT_ES"
  • "TYPESCRIPT_PRETTIER"
  • "TYPESCRIPT_STANDARD"
  • "VBDOTNET_DOTNET_FORMAT"
  • "XML_XMLLINT"
  • "YAML_PRETTIER"
  • "YAML_V8R"
  • "YAML_YAMLLINT"

Example:

[
    "BASH_BASH_SHFMT",
    "JAVASCRIPT_STANDARD"
]

Excluding regex filter for SCALA descriptor

Type: string

Including regex filter for SCALA descriptor

Type: string

Post commands for SCALA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SCALA descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SCALA_SCALAFIX: Custom arguments

Type: array of string or string

SCALA_SCALAFIX: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SCALA_SCALAFIX: CLI Executable

Type: array of string Default: [["scalafix"]]
No Additional Items

Each item of this array must be:

SCALA_SCALAFIX: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

SCALA_SCALAFIX: Custom remove arguments

Type: array of string or string

SCALA_SCALAFIX: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SCALA_SCALAFIX: Custom config file name

Type: string Default: ".scalafix.conf"

SCALA_SCALAFIX: User custom config file name if different from default

SCALA_SCALAFIX: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SCALA_SCALAFIX: Maximum number of errors allowed

Type: number Default: 0

SCALA_SCALAFIX: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SCALA_SCALAFIX: Custom config file name

Type: string Default: ".scalafix.conf"

SCALA_SCALAFIX: User custom config file name if different from default

SCALA_SCALAFIX: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SCALA_SCALAFIX: Excluding Regex

Type: string

SCALA_SCALAFIX: Including Regex

Type: string

SCALA_SCALAFIX: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SCALA_SCALAFIX: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SCALA_SCALAFIX: Custom config file path

Type: string

SCALA_SCALAFIX: Path where to find linter configuration file

SCALA_SCALAFIX: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SCALA_SCALAFIX and its pre/post commands

No Additional Items

Each item of this array must be:

Secured environment variables

Type: array of string Default: ["GITHUB_TOKEN", "PAT", "SYSTEM_ACCESSTOKEN", "GIT_AUTHORIZATION_BEARER", "CI_JOB_TOKEN", "GITLAB_ACCESS_TOKEN_MEGALINTER", "GITLAB_CUSTOM_CERTIFICATE", "WEBHOOK_REPORTER_BEARER_TOKEN"]

List of secured environment variables to hide when calling linters

No Additional Items

Each item of this array must be:

Show elapsed time

Type: boolean Default: false

Displays elapsed time for each linter in reports

Show skipped Linters

Type: boolean Default: true

Displays all linters that mega-linter could run but didn't

List of CLI lint modes to skip

Type: array of enum (of string)

Comma-separated list of clilintmodes. To use if you want to skip linters with some CLI lint modes (ex: "file,project"). Available values: file,clilintmode,project

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

Excluding regex filter for SNAKEMAKE descriptor

Type: string

Including regex filter for SNAKEMAKE descriptor

Type: string

SNAKEMAKE_LINT: Custom arguments

Type: array of string or string

SNAKEMAKE_LINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SNAKEMAKE_LINT: CLI Executable

Type: array of string Default: [["snakemake"]]
No Additional Items

Each item of this array must be:

SNAKEMAKE_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

SNAKEMAKE_LINT: Custom remove arguments

Type: array of string or string

SNAKEMAKE_LINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SNAKEMAKE_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SNAKEMAKE_LINT: Maximum number of errors allowed

Type: number Default: 0

SNAKEMAKE_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SNAKEMAKE_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SNAKEMAKE_LINT: Excluding Regex

Type: string

SNAKEMAKE_LINT: Including Regex

Type: string

SNAKEMAKE_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SNAKEMAKE_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SNAKEMAKE_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SNAKEMAKE_LINT and its pre/post commands

No Additional Items

Each item of this array must be:

Post commands for SNAKEMAKE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SNAKEMAKE descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SNAKEMAKE_SNAKEFMT: Custom arguments

Type: array of string or string

SNAKEMAKE_SNAKEFMT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SNAKEMAKE_SNAKEFMT: CLI Executable

Type: array of string Default: [["snakefmt"]]
No Additional Items

Each item of this array must be:

SNAKEMAKE_SNAKEFMT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

SNAKEMAKE_SNAKEFMT: Custom remove arguments

Type: array of string or string

SNAKEMAKE_SNAKEFMT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SNAKEMAKE_SNAKEFMT: Custom config file name

Type: string Default: ".snakefmt.toml"

SNAKEMAKE_SNAKEFMT: User custom config file name if different from default

SNAKEMAKE_SNAKEFMT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SNAKEMAKE_SNAKEFMT: Maximum number of errors allowed

Type: number Default: 0

SNAKEMAKE_SNAKEFMT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SNAKEMAKE_SNAKEFMT: Custom config file name

Type: string Default: ".snakefmt.toml"

SNAKEMAKE_SNAKEFMT: User custom config file name if different from default

SNAKEMAKE_SNAKEFMT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SNAKEMAKE_SNAKEFMT: Excluding Regex

Type: string

SNAKEMAKE_SNAKEFMT: Including Regex

Type: string

SNAKEMAKE_SNAKEFMT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SNAKEMAKE_SNAKEFMT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SNAKEMAKE_SNAKEFMT: Custom config file path

Type: string

SNAKEMAKE_SNAKEFMT: Path where to find linter configuration file

SNAKEMAKE_SNAKEFMT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SNAKEMAKE_SNAKEFMT and its pre/post commands

No Additional Items

Each item of this array must be:

SPELL_CSPELL: Analyze file names

Type: boolean Default: false

If set to true, MegaLinter will also send file names to cspell for analysis.

SPELL_CSPELL: Custom arguments

Type: array of string or string

SPELL_CSPELL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SPELL_CSPELL: CLI Executable

Type: array of string Default: [["cspell"]]
No Additional Items

Each item of this array must be:

SPELL_CSPELL: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SPELL_CSPELL: Custom remove arguments

Type: array of string or string

SPELL_CSPELL: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SPELL_CSPELL: Custom config file name

Type: string Default: ".cspell.json"

SPELL_CSPELL: User custom config file name if different from default

SPELL_CSPELL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SPELL_CSPELL: Maximum number of errors allowed

Type: number Default: 0

SPELL_CSPELL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SPELL_CSPELL: Custom config file name

Type: string Default: ".cspell.json"

SPELL_CSPELL: User custom config file name if different from default

SPELL_CSPELL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SPELL_CSPELL: Excluding Regex

Type: string

SPELL_CSPELL: Including Regex

Type: string

SPELL_CSPELL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_CSPELL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_CSPELL: Custom config file path

Type: string

SPELL_CSPELL: Path where to find linter configuration file

SPELL_CSPELL: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SPELL_CSPELL and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for SPELL descriptor

Type: string

Including regex filter for SPELL descriptor

Type: string

SPELL_LYCHEE: Custom arguments

Type: array of string or string

SPELL_LYCHEE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SPELL_LYCHEE: CLI Executable

Type: array of string Default: [["lychee"]]
No Additional Items

Each item of this array must be:

SPELL_LYCHEE: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SPELL_LYCHEE: Custom remove arguments

Type: array of string or string

SPELL_LYCHEE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SPELL_LYCHEE: Custom config file name

Type: string Default: "lychee.toml"

SPELL_LYCHEE: User custom config file name if different from default

SPELL_LYCHEE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SPELL_LYCHEE: Maximum number of errors allowed

Type: number Default: 0

SPELL_LYCHEE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SPELL_LYCHEE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SPELL_LYCHEE: Excluding Regex

Type: string

SPELL_LYCHEE: Including Regex

Type: string

SPELL_LYCHEE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_LYCHEE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_LYCHEE: Custom config file path

Type: string

SPELL_LYCHEE: Path where to find linter configuration file

SPELL_LYCHEE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SPELL_LYCHEE and its pre/post commands

No Additional Items

Each item of this array must be:

SPELL_MISSPELL: Custom arguments

Type: array of string or string

SPELL_MISSPELL: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SPELL_MISSPELL: CLI Executable

Type: array of string Default: [["misspell"]]
No Additional Items

Each item of this array must be:

SPELL_MISSPELL: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SPELL_MISSPELL: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SPELL_MISSPELL: Maximum number of errors allowed

Type: number Default: 0

SPELL_MISSPELL: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SPELL_MISSPELL: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SPELL_MISSPELL: Excluding Regex

Type: string

SPELL_MISSPELL: Including Regex

Type: string

SPELL_MISSPELL: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_MISSPELL: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Post commands for SPELL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SPELL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_PROSELINT: Custom arguments

Type: array of string or string

SPELL_PROSELINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SPELL_PROSELINT: CLI Executable

Type: array of string Default: [["proselint"]]
No Additional Items

Each item of this array must be:

SPELL_PROSELINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SPELL_PROSELINT: Custom remove arguments

Type: array of string or string

SPELL_PROSELINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SPELL_PROSELINT: Custom config file name

Type: string Default: ".proselintrc"

SPELL_PROSELINT: User custom config file name if different from default

SPELL_PROSELINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SPELL_PROSELINT: Maximum number of errors allowed

Type: number Default: 0

SPELL_PROSELINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SPELL_PROSELINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SPELL_PROSELINT: Excluding Regex

Type: string

SPELL_PROSELINT: Including Regex

Type: string

SPELL_PROSELINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_PROSELINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_PROSELINT: Custom config file path

Type: string

SPELL_PROSELINT: Path where to find linter configuration file

SPELL_PROSELINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SPELL_PROSELINT and its pre/post commands

No Additional Items

Each item of this array must be:

SPELL_VALE: Custom arguments

Type: array of string or string

SPELL_VALE: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SPELL_VALE: CLI Executable

Type: array of string Default: [["vale"]]
No Additional Items

Each item of this array must be:

SPELL_VALE: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SPELL_VALE: Custom remove arguments

Type: array of string or string

SPELL_VALE: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SPELL_VALE: Custom config file name

Type: string Default: ".vale.ini"

SPELL_VALE: User custom config file name if different from default

SPELL_VALE: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SPELL_VALE: Maximum number of errors allowed

Type: number Default: 0

SPELL_VALE: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SPELL_VALE: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SPELL_VALE: Excluding Regex

Type: string

SPELL_VALE: Including Regex

Type: string

SPELL_VALE: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_VALE: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SPELL_VALE: Custom config file path

Type: string

SPELL_VALE: Path where to find linter configuration file

SPELL_VALE: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SPELL_VALE and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for SQL descriptor

Type: string

Including regex filter for SQL descriptor

Type: string

Post commands for SQL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SQL descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_SQLFLUFF: Custom arguments

Type: array of string or string

SQL_SQLFLUFF: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SQL_SQLFLUFF: CLI Executable

Type: array of string Default: [["sqlfluff"]]
No Additional Items

Each item of this array must be:

SQL_SQLFLUFF: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SQL_SQLFLUFF: Custom remove arguments

Type: array of string or string

SQL_SQLFLUFF: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SQL_SQLFLUFF: Custom config file name

Type: string Default: ".sqlfluff"

SQL_SQLFLUFF: User custom config file name if different from default

SQL_SQLFLUFF: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SQL_SQLFLUFF: Maximum number of errors allowed

Type: number Default: 0

SQL_SQLFLUFF: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SQL_SQLFLUFF: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SQL_SQLFLUFF: Excluding Regex

Type: string

SQL_SQLFLUFF: Including Regex

Type: string

SQL_SQLFLUFF: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_SQLFLUFF: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_SQLFLUFF: Custom config file path

Type: string

SQL_SQLFLUFF: Path where to find linter configuration file

SQL_SQLFLUFF: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SQL_SQLFLUFF and its pre/post commands

No Additional Items

Each item of this array must be:

SQL_SQL_LINT: Custom arguments

Type: array of string or string

SQLSQLLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SQL_SQL_LINT: CLI Executable

Type: array of string Default: [["sql-lint"]]
No Additional Items

Each item of this array must be:

SQL_SQL_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

SQL_SQL_LINT: Custom remove arguments

Type: array of string or string

SQLSQLLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SQL_SQL_LINT: Custom config file name

Type: string Default: ".sql-config.json"

SQLSQLLINT: User custom config file name if different from default

SQL_SQL_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SQL_SQL_LINT: Maximum number of errors allowed

Type: number Default: 0

SQL_SQL_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SQL_SQL_LINT: Custom config file name

Type: string Default: ".sql-config.json"

SQLSQLLINT: User custom config file name if different from default

SQL_SQL_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SQL_SQL_LINT: Excluding Regex

Type: string

SQL_SQL_LINT: Including Regex

Type: string

SQL_SQL_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_SQL_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_SQL_LINT: Custom config file path

Type: string

SQLSQLLINT: Path where to find linter configuration file

SQL_SQL_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SQLSQLLINT and its pre/post commands

No Additional Items

Each item of this array must be:

SQL_TSQLLINT: Custom arguments

Type: array of string or string

SQL_TSQLLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SQL_TSQLLINT: CLI Executable

Type: array of string Default: [["tsqllint"]]
No Additional Items

Each item of this array must be:

SQL_TSQLLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

SQL_TSQLLINT: Custom remove arguments

Type: array of string or string

SQL_TSQLLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SQL_TSQLLINT: Custom config file name

Type: string Default: ".tsqllintrc"

SQL_TSQLLINT: User custom config file name if different from default

SQL_TSQLLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SQL_TSQLLINT: Maximum number of errors allowed

Type: number Default: 0

SQL_TSQLLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SQL_TSQLLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SQL_TSQLLINT: Excluding Regex

Type: string

SQL_TSQLLINT: Including Regex

Type: string

SQL_TSQLLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_TSQLLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SQL_TSQLLINT: Custom config file path

Type: string

SQL_TSQLLINT: Path where to find linter configuration file

SQL_TSQLLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SQL_TSQLLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for SWIFT descriptor

Type: string

Including regex filter for SWIFT descriptor

Type: string

Post commands for SWIFT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for SWIFT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SWIFT_SWIFTLINT: Custom arguments

Type: array of string or string

SWIFT_SWIFTLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

SWIFT_SWIFTLINT: CLI Executable

Type: array of string Default: [["swiftlint"]]
No Additional Items

Each item of this array must be:

SWIFT_SWIFTLINT: Custom remove arguments

Type: array of string or string

SWIFT_SWIFTLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

SWIFT_SWIFTLINT: Custom config file name

Type: string Default: ".swiftlint.yml"

SWIFT_SWIFTLINT: User custom config file name if different from default

SWIFT_SWIFTLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

SWIFT_SWIFTLINT: Maximum number of errors allowed

Type: number Default: 0

SWIFT_SWIFTLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

SWIFT_SWIFTLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

SWIFT_SWIFTLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SWIFT_SWIFTLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

SWIFT_SWIFTLINT: Custom config file path

Type: string

SWIFT_SWIFTLINT: Path where to find linter configuration file

SWIFT_SWIFTLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling SWIFT_SWIFTLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Activate TAP reporter

Type: boolean Default: false

General execution log mega-linter.log (same as ConsoleReporter log) + a separate log file for each processed linter

TAP reporter sub folder

Type: string Default: "tap"

Sub-folder of reports folder containing TAP logs

Excluding regex filter for TEKTON descriptor

Type: string

Including regex filter for TEKTON descriptor

Type: string

Post commands for TEKTON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for TEKTON descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TEKTON_TEKTON_LINT: Custom arguments

Type: array of string or string

TEKTONTEKTONLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TEKTON_TEKTON_LINT: CLI Executable

Type: array of string Default: [["tekton-lint"]]
No Additional Items

Each item of this array must be:

TEKTON_TEKTON_LINT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

TEKTON_TEKTON_LINT: Custom remove arguments

Type: array of string or string

TEKTONTEKTONLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TEKTON_TEKTON_LINT: Custom config file name

Type: string Default: ".tektonlintrc.yaml"

TEKTONTEKTONLINT: User custom config file name if different from default

TEKTON_TEKTON_LINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TEKTON_TEKTON_LINT: Maximum number of errors allowed

Type: number Default: 0

TEKTON_TEKTON_LINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TEKTON_TEKTON_LINT: Custom config file name

Type: string Default: ".tektonlintrc.yaml"

TEKTONTEKTONLINT: User custom config file name if different from default

TEKTON_TEKTON_LINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TEKTON_TEKTON_LINT: Excluding Regex

Type: string

TEKTON_TEKTON_LINT: Including Regex

Type: string

TEKTON_TEKTON_LINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TEKTON_TEKTON_LINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TEKTON_TEKTON_LINT: Custom config file path

Type: string

TEKTONTEKTONLINT: Path where to find linter configuration file

TEKTON_TEKTON_LINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TEKTONTEKTONLINT and its pre/post commands

No Additional Items

Each item of this array must be:

(removed) TERRAFORM_CHECKOV: Custom arguments

Type: array of string or string

TERRAFORM_CHECKOV: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) TERRAFORM_CHECKOV: CLI Executable

Type: array of string Default: [["checkov"]]
No Additional Items

Each item of this array must be:

(removed) TERRAFORM_CHECKOV: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

(removed) TERRAFORM_CHECKOV: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) TERRAFORM_CHECKOV: Maximum number of errors allowed

Type: number Default: 0

(removed) TERRAFORM_CHECKOV: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) TERRAFORM_CHECKOV: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) TERRAFORM_CHECKOV: Excluding Regex

Type: string

(removed) TERRAFORM_CHECKOV: Including Regex

Type: string

(removed) TERRAFORM_CHECKOV: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) TERRAFORM_CHECKOV: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for TERRAFORM descriptor

Type: string

Including regex filter for TERRAFORM descriptor

Type: string

(removed) TERRAFORM_KICS: Custom arguments

Type: array of string or string

TERRAFORM_KICS: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

(removed) TERRAFORM_KICS: CLI Executable

Type: array of string Default: [["kics"]]
No Additional Items

Each item of this array must be:

(removed) TERRAFORM_KICS: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

(removed) TERRAFORM_KICS: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

(removed) TERRAFORM_KICS: Maximum number of errors allowed

Type: number Default: 0

(removed) TERRAFORM_KICS: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

(removed) TERRAFORM_KICS: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

(removed) TERRAFORM_KICS: Excluding Regex

Type: string

(removed) TERRAFORM_KICS: Including Regex

Type: string

(removed) TERRAFORM_KICS: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

(removed) TERRAFORM_KICS: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Post commands for TERRAFORM descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for TERRAFORM descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRAFORM_FMT: Custom arguments

Type: array of string or string

TERRAFORMTERRAFORMFMT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TERRAFORM_TERRAFORM_FMT: CLI Executable

Type: array of string Default: [["terraform"]]
No Additional Items

Each item of this array must be:

TERRAFORM_TERRAFORM_FMT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

TERRAFORM_TERRAFORM_FMT: Custom remove arguments

Type: array of string or string

TERRAFORMTERRAFORMFMT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TERRAFORM_TERRAFORM_FMT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TERRAFORM_TERRAFORM_FMT: Maximum number of errors allowed

Type: number Default: 0

TERRAFORM_TERRAFORM_FMT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TERRAFORM_TERRAFORM_FMT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TERRAFORM_TERRAFORM_FMT: Excluding Regex

Type: string

TERRAFORM_TERRAFORM_FMT: Including Regex

Type: string

TERRAFORM_TERRAFORM_FMT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRAFORM_FMT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRAFORM_FMT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TERRAFORMTERRAFORMFMT and its pre/post commands

No Additional Items

Each item of this array must be:

TERRAFORM_TERRAGRUNT: Custom arguments

Type: array of string or string

TERRAFORM_TERRAGRUNT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TERRAFORM_TERRAGRUNT: CLI Executable

Type: array of string Default: [["terragrunt"]]
No Additional Items

Each item of this array must be:

TERRAFORM_TERRAGRUNT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

TERRAFORM_TERRAGRUNT: Custom remove arguments

Type: array of string or string

TERRAFORM_TERRAGRUNT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TERRAFORM_TERRAGRUNT: Custom config file name

Type: string Default: "terragrunt.hcl"

TERRAFORM_TERRAGRUNT: User custom config file name if different from default

TERRAFORM_TERRAGRUNT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TERRAFORM_TERRAGRUNT: Maximum number of errors allowed

Type: number Default: 0

TERRAFORM_TERRAGRUNT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TERRAFORM_TERRAGRUNT: Custom config file name

Type: string Default: "terragrunt.hcl"

TERRAFORM_TERRAGRUNT: User custom config file name if different from default

TERRAFORM_TERRAGRUNT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TERRAFORM_TERRAGRUNT: Excluding Regex

Type: string

TERRAFORM_TERRAGRUNT: Including Regex

Type: string

TERRAFORM_TERRAGRUNT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRAGRUNT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRAGRUNT: Custom config file path

Type: string

TERRAFORM_TERRAGRUNT: Path where to find linter configuration file

TERRAFORM_TERRAGRUNT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TERRAFORM_TERRAGRUNT and its pre/post commands

No Additional Items

Each item of this array must be:

TERRAFORM_TERRASCAN: Custom arguments

Type: array of string or string

TERRAFORM_TERRASCAN: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TERRAFORM_TERRASCAN: CLI Executable

Type: array of string Default: [["terrascan"]]
No Additional Items

Each item of this array must be:

TERRAFORM_TERRASCAN: Custom remove arguments

Type: array of string or string

TERRAFORM_TERRASCAN: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TERRAFORM_TERRASCAN: Custom config file name

Type: string Default: "terrascan-config.toml"

TERRAFORM_TERRASCAN: User custom config file name if different from default

TERRAFORM_TERRASCAN: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TERRAFORM_TERRASCAN: Maximum number of errors allowed

Type: number Default: 0

TERRAFORM_TERRASCAN: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TERRAFORM_TERRASCAN: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TERRAFORM_TERRASCAN: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRASCAN: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TERRASCAN: Custom config file path

Type: string

TERRAFORM_TERRASCAN: Path where to find linter configuration file

TERRAFORM_TERRASCAN: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TERRAFORM_TERRASCAN and its pre/post commands

No Additional Items

Each item of this array must be:

TERRAFORM_TFLINT: Custom arguments

Type: array of string or string

TERRAFORM_TFLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TERRAFORM_TFLINT: CLI Executable

Type: array of string Default: [["tflint"]]
No Additional Items

Each item of this array must be:

TERRAFORM_TFLINT: Custom remove arguments

Type: array of string or string

TERRAFORM_TFLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TERRAFORM_TFLINT: Custom config file name

Type: string Default: ".tflint.hcl"

TERRAFORM_TFLINT: User custom config file name if different from default

TERRAFORM_TFLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TERRAFORM_TFLINT: Maximum number of errors allowed

Type: number Default: 0

TERRAFORM_TFLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TERRAFORM_TFLINT: Custom config file name

Type: string Default: ".tflint.hcl"

TERRAFORM_TFLINT: User custom config file name if different from default

TERRAFORM_TFLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TERRAFORM_TFLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TFLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TERRAFORM_TFLINT: Custom config file path

Type: string

TERRAFORM_TFLINT: Path where to find linter configuration file

TERRAFORM_TFLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TERRAFORM_TFLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Activate text reporter

Type: boolean Default: true

General execution log mega-linter.log (same as ConsoleReporter log) + a separate log file for each processed linter

Text reporter sub folder

Type: string Default: "linters_logs"

Sub-folder of reports folder containing text logs

TSX_ESLINT: Custom arguments

Type: array of string or string

TSX_ESLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TSX_ESLINT: CLI Executable

Type: array of string Default: [["eslint"]]
No Additional Items

Each item of this array must be:

TSX_ESLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

TSX_ESLINT: Custom remove arguments

Type: array of string or string

TSX_ESLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TSX_ESLINT: Custom config file name

Type: string Default: ".eslintrc.json"

TSX_ESLINT: User custom config file name if different from default

TSX_ESLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TSX_ESLINT: Maximum number of errors allowed

Type: number Default: 0

TSX_ESLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TSX_ESLINT: Custom config file name

Type: string Default: ".eslintrc.json"

TSX_ESLINT: User custom config file name if different from default

TSX_ESLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TSX_ESLINT: Excluding Regex

Type: string

TSX_ESLINT: Including Regex

Type: string

TSX_ESLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TSX_ESLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TSX_ESLINT: Custom config file path

Type: string

TSX_ESLINT: Path where to find linter configuration file

TSX_ESLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TSX_ESLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for TSX descriptor

Type: string

Including regex filter for TSX descriptor

Type: string

Post commands for TSX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for TSX descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Typescript default style

Type: enum (of string)

Style of typescript formatting to apply

Must be one of:

  • "standard"
  • "prettier"

Examples:

"standard"
"prettier"

TYPESCRIPT_ES: Custom arguments

Type: array of string or string

TYPESCRIPT_ES: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TYPESCRIPT_ES: CLI Executable

Type: array of string Default: [["eslint"]]
No Additional Items

Each item of this array must be:

TYPESCRIPT_ES: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

TYPESCRIPT_ES: Custom remove arguments

Type: array of string or string

TYPESCRIPT_ES: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TYPESCRIPT_ES: Custom config file name

Type: string Default: ".eslintrc.json"

TYPESCRIPT_ES: User custom config file name if different from default

TYPESCRIPT_ES: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TYPESCRIPT_ES: Maximum number of errors allowed

Type: number Default: 0

TYPESCRIPT_ES: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TYPESCRIPT_ES: Custom config file name

Type: string Default: ".eslintrc.json"

TYPESCRIPT_ES: User custom config file name if different from default

TYPESCRIPT_ES: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TYPESCRIPT_ES: Excluding Regex

Type: string

TYPESCRIPT_ES: Including Regex

Type: string

TYPESCRIPT_ES: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_ES: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_ES: Custom config file path

Type: string

TYPESCRIPT_ES: Path where to find linter configuration file

TYPESCRIPT_ES: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TYPESCRIPT_ES and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for TYPESCRIPT descriptor

Type: string

Including regex filter for TYPESCRIPT descriptor

Type: string

Post commands for TYPESCRIPT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_PRETTIER: Custom arguments

Type: array of string or string

TYPESCRIPT_PRETTIER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TYPESCRIPT_PRETTIER: CLI Executable

Type: array of string Default: [["prettier"]]
No Additional Items

Each item of this array must be:

TYPESCRIPT_PRETTIER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

TYPESCRIPT_PRETTIER: Custom remove arguments

Type: array of string or string

TYPESCRIPT_PRETTIER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TYPESCRIPT_PRETTIER: Custom config file name

Type: string Default: ".prettierrc.json"

TYPESCRIPT_PRETTIER: User custom config file name if different from default

TYPESCRIPT_PRETTIER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TYPESCRIPT_PRETTIER: Maximum number of errors allowed

Type: number Default: 0

TYPESCRIPT_PRETTIER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TYPESCRIPT_PRETTIER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TYPESCRIPT_PRETTIER: Excluding Regex

Type: string

TYPESCRIPT_PRETTIER: Including Regex

Type: string

TYPESCRIPT_PRETTIER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_PRETTIER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_PRETTIER: Custom config file path

Type: string

TYPESCRIPT_PRETTIER: Path where to find linter configuration file

TYPESCRIPT_PRETTIER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TYPESCRIPT_PRETTIER and its pre/post commands

No Additional Items

Each item of this array must be:

Pre commands for TYPESCRIPT descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_STANDARD: Custom arguments

Type: array of string or string

TYPESCRIPT_STANDARD: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

TYPESCRIPT_STANDARD: CLI Executable

Type: array of string Default: [["ts-standard"]]
No Additional Items

Each item of this array must be:

TYPESCRIPT_STANDARD: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

TYPESCRIPT_STANDARD: Custom remove arguments

Type: array of string or string

TYPESCRIPT_STANDARD: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

TYPESCRIPT_STANDARD: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

TYPESCRIPT_STANDARD: Maximum number of errors allowed

Type: number Default: 0

TYPESCRIPT_STANDARD: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

TYPESCRIPT_STANDARD: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

TYPESCRIPT_STANDARD: Excluding Regex

Type: string

TYPESCRIPT_STANDARD: Including Regex

Type: string

TYPESCRIPT_STANDARD: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_STANDARD: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

TYPESCRIPT_STANDARD: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling TYPESCRIPT_STANDARD and its pre/post commands

No Additional Items

Each item of this array must be:

Activates/Deactivates updated sources reporter

Type: boolean

Sub-folder of reports folder containing updated sources

Type: string

Validate all code base

Type: boolean Default: true

Will parse the entire repository and find all files to validate across all types. When set to false, only new or edited files will be parsed for validation.

VBDOTNET_DOTNET_FORMAT: Custom arguments

Type: array of string or string

VBDOTNETDOTNETFORMAT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

VBDOTNET_DOTNET_FORMAT: CLI Executable

Type: array of string Default: [["dotnet"]]
No Additional Items

Each item of this array must be:

VBDOTNET_DOTNET_FORMAT: Override default cli lint mode

Type: enum (of string) Default: "file"

Must be one of:

  • "file"
  • "project"

VBDOTNET_DOTNET_FORMAT: Custom remove arguments

Type: array of string or string

VBDOTNETDOTNETFORMAT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

VBDOTNET_DOTNET_FORMAT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

VBDOTNET_DOTNET_FORMAT: Maximum number of errors allowed

Type: number Default: 0

VBDOTNET_DOTNET_FORMAT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

VBDOTNET_DOTNET_FORMAT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

VBDOTNET_DOTNET_FORMAT: Excluding Regex

Type: string

VBDOTNET_DOTNET_FORMAT: Including Regex

Type: string

VBDOTNET_DOTNET_FORMAT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

VBDOTNET_DOTNET_FORMAT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

VBDOTNET_DOTNET_FORMAT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling VBDOTNETDOTNETFORMAT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for VBDOTNET descriptor

Type: string

Including regex filter for VBDOTNET descriptor

Type: string

Post commands for VBDOTNET descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for VBDOTNET descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Excluding regex filter for XML descriptor

Type: string

Including regex filter for XML descriptor

Type: string

Post commands for XML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

Pre commands for XML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

XML_XMLLINT: Custom arguments

Type: array of string or string

XML_XMLLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

XML_XMLLINT: CLI Executable

Type: array of string Default: [["xmllint"]]
No Additional Items

Each item of this array must be:

XML_XMLLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

XML_XMLLINT: Custom remove arguments

Type: array of string or string

XML_XMLLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

XML_XMLLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

XML_XMLLINT: Maximum number of errors allowed

Type: number Default: 0

XML_XMLLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

XML_XMLLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

XML_XMLLINT: Excluding Regex

Type: string

XML_XMLLINT: Including Regex

Type: string

XML_XMLLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

XML_XMLLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

XML_XMLLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling XML_XMLLINT and its pre/post commands

No Additional Items

Each item of this array must be:

Excluding regex filter for YAML descriptor

Type: string

Including regex filter for YAML descriptor

Type: string

Post commands for YAML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_PRETTIER: Custom arguments

Type: array of string or string

YAML_PRETTIER: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

YAML_PRETTIER: CLI Executable

Type: array of string Default: [["prettier"]]
No Additional Items

Each item of this array must be:

YAML_PRETTIER: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

YAML_PRETTIER: Custom remove arguments

Type: array of string or string

YAML_PRETTIER: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

YAML_PRETTIER: Custom config file name

Type: string Default: ".prettierrc.json"

YAML_PRETTIER: User custom config file name if different from default

YAML_PRETTIER: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

YAML_PRETTIER: Maximum number of errors allowed

Type: number Default: 0

YAML_PRETTIER: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

YAML_PRETTIER: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

YAML_PRETTIER: Excluding Regex

Type: string

YAML_PRETTIER: Including Regex

Type: string

YAML_PRETTIER: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_PRETTIER: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_PRETTIER: Custom config file path

Type: string

YAML_PRETTIER: Path where to find linter configuration file

YAML_PRETTIER: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling YAML_PRETTIER and its pre/post commands

No Additional Items

Each item of this array must be:

Pre commands for YAML descriptor

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "composer install",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_V8R: Custom arguments

Type: array of string or string

YAML_V8R: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

YAML_V8R: CLI Executable

Type: array of string Default: [["v8r"]]
No Additional Items

Each item of this array must be:

YAML_V8R: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

YAML_V8R: Custom remove arguments

Type: array of string or string

YAML_V8R: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

YAML_V8R: Custom config file name

Type: string Default: ".v8rrc.yml"

YAML_V8R: User custom config file name if different from default

YAML_V8R: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

YAML_V8R: Maximum number of errors allowed

Type: number Default: 0

YAML_V8R: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

YAML_V8R: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

YAML_V8R: Excluding Regex

Type: string

YAML_V8R: Including Regex

Type: string

YAML_V8R: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_V8R: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_V8R: Custom config file path

Type: string

YAML_V8R: Path where to find linter configuration file

YAML_V8R: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling YAML_V8R and its pre/post commands

No Additional Items

Each item of this array must be:

YAML_YAMLLINT: Custom arguments

Type: array of string or string

YAML_YAMLLINT: User custom arguments to add in linter CLI call

No Additional Items

Each item of this array must be:

YAML_YAMLLINT: CLI Executable

Type: array of string Default: [["yamllint"]]
No Additional Items

Each item of this array must be:

YAML_YAMLLINT: Override default cli lint mode

Type: enum (of string) Default: "list_of_files"

Must be one of:

  • "file"
  • "list_of_files"
  • "project"

YAML_YAMLLINT: Custom remove arguments

Type: array of string or string

YAML_YAMLLINT: User custom arguments to remove before calling linter

No Additional Items

Each item of this array must be:

YAML_YAMLLINT: Custom config file name

Type: string Default: ".yamllint.yml"

YAML_YAMLLINT: User custom config file name if different from default

YAML_YAMLLINT: Linter doesn't make MegaLinter fail even if errors are found

Type: boolean Default: false

YAML_YAMLLINT: Maximum number of errors allowed

Type: number Default: 0

YAML_YAMLLINT: Override descriptor/linter matching files extensions

Type: array of string
No Additional Items

Each item of this array must be:

YAML_YAMLLINT: Custom config file name

Type: string Default: ".yaml-lint.yml"

YAML_YAMLLINT: User custom config file name if different from default

YAML_YAMLLINT: Override descriptor/linter matching file name regex

Type: array of string
No Additional Items

Each item of this array must be:


Examples:

"Dockerfile(-.+)?"
"Jenkinsfile"

YAML_YAMLLINT: Excluding Regex

Type: string

YAML_YAMLLINT: Including Regex

Type: string

YAML_YAMLLINT: Define or override a list of bash commands to run after the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "npm run test",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_YAMLLINT: Define or override a list of bash commands to run before the linter

Type: array
No Additional Items

Each item of this array must be:

Type: object

Command information

Bash command to run

Type: string

Examples:

"npm run test"
"echo \"This is a custom command\""

Continue if failed

Type: boolean Default: true

Folder where to run the command

Type: enum (of string)

Must be one of:

  • "root"
  • "workspace"

Examples:

"root"
"workspace"

Example:

[
    {
        "command": "tflint --init",
        "continue_if_failed": false,
        "cwd": "workspace"
    }
]

YAML_YAMLLINT: Custom config file path

Type: string

YAML_YAMLLINT: Path where to find linter configuration file

YAML_YAMLLINT: Unsecured env variables

Type: array of string Default: []

List of env variables explicitly not filtered before calling YAML_YAMLLINT and its pre/post commands

No Additional Items

Each item of this array must be: