mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-03 08:53:05 +08:00
Add prettier and run prettier command via lint-staged
This commit is contained in:
9
.lintstagedrc.json
Normal file
9
.lintstagedrc.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"*.{js,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --quiet --cache --fix"
|
||||
],
|
||||
"*.scss": [
|
||||
"stylelint --config node_modules/do-bulma/.stylelintrc.json --fix"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user