Add prettier and run prettier command via lint-staged

This commit is contained in:
maskeynihal
2023-10-10 13:17:18 +05:45
parent c908a32448
commit 39908dcadd
5 changed files with 80 additions and 21 deletions

9
.lintstagedrc.json Normal file
View File

@@ -0,0 +1,9 @@
{
"*.{js,vue}": [
"prettier --write",
"eslint --quiet --cache --fix"
],
"*.scss": [
"stylelint --config node_modules/do-bulma/.stylelintrc.json --fix"
]
}