1 | # @patrickhulce/lint
|
2 |
|
3 | [![NPM Package](https://img.shields.io/badge/npm-@patrickhulce/lint-brightgreen.svg)](https://www.npmjs.com/package/@patrickhulce/lint)
|
4 | [![Build Status](https://travis-ci.org/patrickhulce/lint.svg?branch=master)](https://travis-ci.org/patrickhulce/lint)
|
5 | [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
|
6 | [![Dependencies](https://david-dm.org/patrickhulce/lint.svg)](https://david-dm.org/patrickhulce/lint)
|
7 |
|
8 | Lints JavaScript and TypeScript.
|
9 |
|
10 | ## Usage
|
11 |
|
12 | ```bash
|
13 | lint # lints default js+ts in src/lib/bin and test files
|
14 | lint --fix # lints, fixes, and prettifies default files
|
15 | lint --fix --no-prettify # lints and fixes default files
|
16 | lint -t react # lints jsx in src/lib/bin and test files
|
17 | lint -t typescript './stuff/**/*.ts' # lints ts in ./stuff
|
18 | ```
|