Skip to content

Commit 1298dd7

Browse files
committed
fix: fix lint-staged script
close #19
1 parent 8671913 commit 1298dd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/generators/app/templates/_root/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@
4242
"unocss": "^0.58.6"
4343
},
4444
"lint-staged": {
45-
"src/**": [
45+
"*.ts": [
4646
"eslint --fix",
4747
"prettier --write"
48+
],
49+
"*.css": [
50+
"prettier --write"
4851
]
4952
}
5053
}

0 commit comments

Comments
 (0)