0.1.3 • Published 6 years ago
@teachers/tslint-config-tpt v0.1.3
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-tptUsage
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.