Skip to content

sstruct/ptlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Combine prettier and eslint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published