JAVASCRIPT
Linters
| Linter | Additional |
|---|---|
| eslint JAVASCRIPT_ES |
|
| standard JAVASCRIPT_STANDARD |
|
| prettier JAVASCRIPT_PRETTIER |
Linted files
- File extensions:
.js
Configuration in MegaLinter
| 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 |