Skip to content

Latest commit

History

History
31 lines (24 loc) 路 2.66 KB

javascript.md

File metadata and controls

31 lines (24 loc) 路 2.66 KB
title description
JAVASCRIPT linters in MegaLinter
eslint, standard, prettier are available to analyze JAVASCRIPT files in MegaLinter

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