qts-mini-lint
v2.1.6
Published
a tool for mini-program
Downloads
10
Readme
qts-mini-lint
a eslint tool for mini-program
Commands
| Commands | Description | | -------------------------- | ----------------------------- | | init | init husky && eslint config | | lint | run eslint | | add-ptp < type > [list...] | add ptp point |
Install
cnpm i qts-mini-lint -g
How to use
1.check the version make sure installed success
mini-lint --version
2.make sure the directory is a git repository
3.init husky && eslint config
mini-lint init
4.start watching the directory && eslint js in a real time
mini-lint lint
Features
1.eslint js in a real time
2.before commit will eslint js again && add ptp point automatically