Contributing to prettier-tslint
April 17, 2018 ยท View on GitHub
Thanks for contributing to prettier-tslint! Here's a quick-start guide.
Pre-requisites
Setup
-
Clone this repository:
git clone https://github.com/azz/prettier-tslint.git cd prettier-tslint -
Install dependencies:
yarn
Development
All of the source code lives in src/ and the tests are in test/.
Tests are written with jest and can be run with:
yarn test
All code is linted with eslint with
prettier integration. To validate your files, run:
yarn lint
To fix any auto-fixable problems, run:
yarn lint --fix
With
yarnbefore v1, this isyarn lint -- --fix