Version: 1.5.0

Lint

ESLint is the primary tool that powers linting in ts-engine.

Linting code

To lint code run the following command:

ts-engine lint

Auto fixing lint issues

Some linting issues are automatically fixable.

To auto fix linting issues run the following command:

ts-engine lint --fix

Extending ESLint config

ESLint config does not need to be provided to ts-engine, however it is possible to extend the config it uses.

Install ts-engine's default eslint config:

yarn add --dev @ts-engine/eslint-config

Add an .eslintrc file in your packages root directory:

.eslintrc
{
"extends": "@ts-engine/eslint-config",
"rules" {
// your rules go here
}
}