title | description |
---|---|
JAVASCRIPT linters in MegaLinter |
eslint, standard, prettier are available to analyze JAVASCRIPT files in MegaLinter |
Linter | Additional |
---|---|
eslint JAVASCRIPT_ES |
|
standard JAVASCRIPT_STANDARD |
|
prettier JAVASCRIPT_PRETTIER |
- File extensions:
.js
Variable | Description | Default value |
---|---|---|
JAVASCRIPT_PRE_COMMANDS | List of bash commands to run before the linters | None |
JAVASCRIPT_POST_COMMANDS | List of bash commands to run after the linters | None |
JAVASCRIPT_FILTER_REGEX_INCLUDE | Custom regex including filter | |
JAVASCRIPT_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |