We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f362ac commit 4ccf979Copy full SHA for 4ccf979
scripts/lint-script.ts
@@ -2,12 +2,14 @@ import { eslintFix } from "@/command/eslint-fix";
2
import { checkGitUserEmail } from "@/command/git-user";
3
import { prettierFormat } from "@/command/prettier-format";
4
import { execCommand } from "@/helper";
5
+import { impSort } from "@/command/eslint-import-sort";
6
7
async function lint() {
8
await checkGitUserEmail("^[a-zA-Z0-9._%+-]+@(gmail)\\.(com)$");
9
await prettierFormat(["./src/", "./scripts/"]);
10
await execCommand("git", ["add", "."]);
11
await eslintFix(["./src/", "./scripts/"]);
12
+ await impSort(["./src/", "./scripts/"]);
13
}
14
15
lint();
0 commit comments