ESLint is the primary tool that powers linting in ts-engine.
To lint code run the following command:
Auto fixing lint issues
Some linting issues are automatically fixable.
To auto fix linting issues run the following command:
You can lint codebases with React and JSX in them. When linting with React support React specific rules and a11y rules are applied.
To support React run the following command:
- Node.js App
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:
.eslintrc file in your packages root directory: