mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Format Markdown and CSS files on commit
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
"*.{js,md,css}": [
|
||||
"prettier --trailing-comma es5 --single-quote --write",
|
||||
"git add"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user