qts-mini-lint
v2.1.6
Published
a tool for mini-program
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 -gHow to use
1.check the version make sure installed success
mini-lint --version2.make sure the directory is a git repository
3.init husky && eslint config
mini-lint init4.start watching the directory && eslint js in a real time
mini-lint lintFeatures
1.eslint js in a real time
2.before commit will eslint js again && add ptp point automatically
