TpT TSLint config
This is a fairly opinionated lint configuration which assumes:
- Use of Prettier to enforce consistent code style
- Use of TSLint for non-style-related static analysis intended to catch
bugs or use of patterns that can lead to bugs.
Installation
yarn add --dev @teachers/tslint-config-tpt
Usage
Add a tslint.json
file to your repository containing:
{
"extends": "@teachers/tslint-config-tpt"
}
And yarn add --dev tslint
if you have not done so already.
It is recommended to add TSLint and Prettier integrations to your
editor.