Skip to content

Commit 6c721b0

Browse files
chore(lint): update .lintstagedrc to prettify other extensions
1 parent cd1263f commit 6c721b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.lintstagedrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"*.js": ["npm run lint:fix", "git add"]
2+
"*.js": ["npm run lint:fix", "git add"],
3+
"*.{html,json,md,yml}": ["prettier --write", "git add"],
4+
"*.*rc": ["prettier --write --parser json", "git add"]
35
}

0 commit comments

Comments
 (0)