tslint-config-lalilo
Lalilo shared tslint rules.
install
yarn add --dev tslint tslint-config-lalilo tslint-config-prettier
Then create a file tslint.json
lint integration
We recommend you also set up these points:
make sure lint script is setup and run during continuous integration
automatically lint before commit
yarn add --dev lint-staged husky pretty-quick
In package.json:
how to deploy a new version?
Pick one of these commands:
yarn version --patch
yarn version --minor
yarn version --major
Then:
git push
CircleCI takes care of deploying to npm registry from tagged commits (yarn version tags the commit).
how to test the config locally?
In this repo run:
yarn link
In the repo where you use this package run:
yarn link tslint-config-lalilo