0.0.3 • Published 5 years ago

ptlint v0.0.3

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

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