Skip to content

TYPESCRIPT

Linters

Linter Additional
eslint
TYPESCRIPT_ES
GitHub stars autofix sarif
ts-standard
TYPESCRIPT_STANDARD
GitHub stars autofix
prettier
TYPESCRIPT_PRETTIER
GitHub stars formatter

Linted files

  • File extensions:
    • .ts

Configuration in MegaLinter

Variable Description Default value
TYPESCRIPT_PRE_COMMANDS List of bash commands to run before the linters None
TYPESCRIPT_POST_COMMANDS List of bash commands to run after the linters None
TYPESCRIPT_FILTER_REGEX_INCLUDE Custom regex including filter
TYPESCRIPT_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation