yarn add --dev @aaronchenwei/tslint-config
In file tslint.json
{
"extends": ["@aaronchenwei/tslint-config"]
}
In order to configure pretitier
, install packages and then add following to file package.json
yarn add --dev husky prettier pretty-quick tslint
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
+----- Major version.
| +--- Minor version has BREAKING CHANGE and feat.
| | +- Patch version has patch.
| | |
x.x.x
MIT