0.0.1 • Published 6 years ago
rmv-bikeshed v0.0.1
bikeshed
End-all solution to typescript code style in a handy wrapper. Using tslint with (almost) standard config, and pre-configured prettier. Optionally also run jest.
This bundles all the stuff I usually end up using in a single place.
Standard config, but with comma dangle. No-semi, yes-comma just makes it easier to add, remove, or reorder lines. Additional lint rules to check import/property order to keep things even more consistent. And that's it.
Installation and usage
Use together with husky
yarn add --dev husky bikeshed
in package.json scripts:
"scripts": {
"precommit": "bikeshed -c"
"prepush": "bikeshed"
}
TODO:
- tests
- fix arguments
- fix project
- fix staged
features
- fix arguments
- fix project
- fix staged
maybe:
jest with findRelatedFiles
- watch mode (on git-add?)