Skip to content

ci_light MegaLinter Flavor

Docker Image Size (tag) Docker Pulls

Description

Optimized for CI items (Dockerfile, Jenkinsfile, JSON/YAML schemas,XML

Usage

  • GitHub Action: oxsecurity/megalinter/flavors/ci_light@v6.15.0
  • Docker image: oxsecurity/megalinter-ci_light:v6.15.0
  • mega-linter-runner: mega-linter-runner --flavor ci_light

Embedded linters

Languages

Language Linter Configuration key Additional
shellcheck BASH_SHELLCHECK GitHub stars sarif
shfmt BASH_SHFMT GitHub stars formatter
GROOVY npm-groovy-lint GROOVY_NPM_GROOVY_LINT GitHub stars autofix sarif
MAKEFILE checkmake MAKEFILE_CHECKMAKE GitHub stars

Formats

Format Linter Configuration key Additional
ENV dotenv-linter ENV_DOTENV_LINTER GitHub stars autofix
JSON jsonlint JSON_JSONLINT GitHub stars
eslint-plugin-jsonc JSON_ESLINT_PLUGIN_JSONC GitHub stars autofix sarif
v8r JSON_V8R GitHub stars
prettier JSON_PRETTIER GitHub stars formatter
XML xmllint XML_XMLLINT
YAML prettier YAML_PRETTIER GitHub stars formatter
yamllint YAML_YAMLLINT GitHub stars
v8r YAML_V8R GitHub stars

Tooling formats

Tooling format Linter Configuration key Additional
DOCKERFILE hadolint DOCKERFILE_HADOLINT GitHub stars sarif

Other

Code quality checker Linter Configuration key Additional
COPYPASTE jscpd COPYPASTE_JSCPD GitHub stars
git_diff REPOSITORY_GIT_DIFF GitHub stars
gitleaks REPOSITORY_GITLEAKS GitHub stars sarif
goodcheck REPOSITORY_GOODCHECK GitHub stars
secretlint REPOSITORY_SECRETLINT GitHub stars sarif
trivy REPOSITORY_TRIVY GitHub stars sarif