npm.io
0.0.3 • Published 7 years agoCLI

ptlint

Licence
MIT
Version
0.0.3
Deps
9
Size
5 kB
Vulns
0
Weekly
0

Ptlint

Combine prettier and eslint.

Install

$ npm install --save-dev ptlint

Lint a project

$ prettylint ./path-to-lint

Add to npm scripts:

"scripts": {
    "lint": "prettylint --scope react --ignore-path .gitignore ./src/**/*.js && echo 'Lint complete.'"
}
$ npm run lint

More options:

npx prettylint --help

TODO

  • Support lint typescript
  • Refactor with typescript
  • Unit Tests
  • CI/CD

Similar repos

Keywords