JSON
Linters
Linter | Additional |
---|---|
jsonlint JSON_JSONLINT |
|
eslint-plugin-jsonc JSON_ESLINT_PLUGIN_JSONC |
|
v8r JSON_V8R |
|
prettier JSON_PRETTIER |
|
npm-package-json-lint JSON_NPM_PACKAGE_JSON_LINT |
Linted files
- File extensions:
.json
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
JSON_PRE_COMMANDS | List of bash commands to run before the linters | None |
JSON_POST_COMMANDS | List of bash commands to run after the linters | None |
JSON_FILTER_REGEX_INCLUDE | Custom regex including filter | |
JSON_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |