-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add type check to command lint
- Loading branch information
linfeng
committed
Oct 15, 2019
1 parent
7b26151
commit 920088e
Showing
4 changed files
with
13 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
import * as path from 'path'; | ||
import * as colors from 'colors'; | ||
import { spinner, logFatal, logSuccess, logInfo } from '../../../utils/log'; | ||
import { pri, srcPath } from '../../../node'; | ||
import { lint } from '../../../utils/lint'; | ||
|
||
export const CommandLint = async () => { | ||
await lint({ | ||
lintAll: true, | ||
showBreakError: true, | ||
needFix: true, | ||
typeCheck: true, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters