Skip to content

Commit 04cccb7

Browse files
author
罗学
committed
fix: 修改eslint
1 parent d3be7f1 commit 04cccb7

File tree

3 files changed

+1399
-18
lines changed

3 files changed

+1399
-18
lines changed

packages/cli/commands/eslint.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
exports.registerCommand = (params) => {
2+
const { program, cleanArgs } = params
3+
program
4+
.command('eslint')
5+
.description('js代码检查')
6+
.action((cmd) => {
7+
require('@pkb/plugin-eslint/lint')()
8+
})
9+
}

0 commit comments

Comments
 (0)