mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 00:53:13 +08:00
chore: add Lint Staged
This commit is contained in:
8
.lintstagedrc.json
Normal file
8
.lintstagedrc.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"*.{ts,tsx}": ["eslint --fix", "tsc-files --noEmit"],
|
||||
"*.{js,jsx}": "eslint --fix",
|
||||
"*.{json,md}": "prettier --write",
|
||||
"*.css": "stylelint --fix",
|
||||
"*.astro": ["eslint --fix", "stylelint --fix"],
|
||||
"*.html": ["prettier --write", "stylelint --fix"]
|
||||
}
|
||||
Reference in New Issue
Block a user