Skip to content

Commit

Permalink
fix: 修改eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
罗学 committed Apr 13, 2021
1 parent d3be7f1 commit 04cccb7
Show file tree
Hide file tree
Showing 3 changed files with 1,399 additions and 18 deletions.
9 changes: 9 additions & 0 deletions packages/cli/commands/eslint.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
exports.registerCommand = (params) => {
const { program, cleanArgs } = params
program
.command('eslint')
.description('js代码检查')
.action((cmd) => {
require('@pkb/plugin-eslint/lint')()
})
}
Loading

0 comments on commit 04cccb7

Please sign in to comment.