Skip to content

JAVASCRIPT

Linters

Linter Additional
eslint
JAVASCRIPT_ES
GitHub stars autofix sarif
standard
JAVASCRIPT_STANDARD
GitHub stars autofix
prettier
JAVASCRIPT_PRETTIER
GitHub stars formatter

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