ci_light Mega-Linter Flavor
Description
Optimized for CI items (Dockerfile, Jenkinsfile, JSON/YAML schemas,XML
Usage
- GitHub Action: megalinter/megalinter/flavors/ci_light@v5
- Docker image: megalinter/megalinter-ci_light:v5
- mega-linter-runner:
mega-linter-runner --flavor ci_light
Embedded linters
Languages
Language | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
GROOVY | npm-groovy-lint | GROOVY_NPM_GROOVY_LINT |
Formats
Format | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
ENV | dotenv-linter | ENV_DOTENV_LINTER | ||
JSON | jsonlint | JSON_JSONLINT | ||
eslint-plugin-jsonc | JSON_ESLINT_PLUGIN_JSONC | |||
v8r | JSON_V8R | |||
prettier | JSON_PRETTIER | |||
XML | xmllint | XML_XMLLINT | ||
YAML | prettier | YAML_PRETTIER | ||
yamllint | YAML_YAMLLINT | |||
v8r | YAML_V8R |
Tooling formats
Tooling format | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
DOCKERFILE | dockerfilelint | DOCKERFILE_DOCKERFILELINT | ||
hadolint | DOCKERFILE_HADOLINT |
Other
Code quality checker | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
GIT | git_diff | GIT_GIT_DIFF |