Add prettier and run prettier command via lint-staged (#448)

This commit is contained in:
Nihal Maskey
2023-10-16 20:07:16 +05:45
committed by GitHub
parent c908a32448
commit dbc954e7f1
186 changed files with 4263 additions and 1409 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"
]
}