TYPESCRIPT
Linters
| Linter | Additional |
|---|---|
| eslint TYPESCRIPT_ES |
|
| ts-standard TYPESCRIPT_STANDARD |
|
| prettier TYPESCRIPT_PRETTIER |
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
- NPM packages (node.js):