style: run fmt

This commit is contained in:
LongYinan 2020-10-03 22:34:52 +08:00
parent e713d647f5
commit d1870d2be2
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -58,23 +58,12 @@
"trailingComma": "all", "trailingComma": "all",
"arrowParens": "always" "arrowParens": "always"
}, },
"files": [ "files": ["scripts", "LICENSE"],
"scripts",
"LICENSE"
],
"lint-staged": { "lint-staged": {
"*.js": [ "*.js": ["prettier --write"],
"prettier --write" "*.@(yml|yaml)": ["prettier --parser yaml --write"],
], "*.json": ["prettier --parser json --write"],
"*.@(yml|yaml)": [ "*.md": ["prettier --parser markdown --write"]
"prettier --parser yaml --write"
],
"*.json": [
"prettier --parser json --write"
],
"*.md": [
"prettier --parser markdown --write"
]
}, },
"husky": { "husky": {
"hooks": { "hooks": {