0.0.3 • Published 7 years ago
ptlint v0.0.3
Ptlint
Combine prettier and eslint.
Install
$ npm install --save-dev ptlintLint a project
$ prettylint ./path-to-lintAdd to npm scripts:
"scripts": {
"lint": "prettylint --scope react --ignore-path .gitignore ./src/**/*.js && echo 'Lint complete.'"
}$ npm run lintMore options:
npx prettylint --helpTODO
- Support lint typescript
- Refactor with typescript
- Unit Tests
- CI/CD