add auto formatting for .scss and .json files

This commit is contained in:
Johannes Loher 2020-12-30 23:00:06 +01:00
parent 410cea05c5
commit 2e7197a0a2
2 changed files with 4 additions and 3 deletions

View file

@ -44,6 +44,8 @@
} }
}, },
"lint-staged": { "lint-staged": {
"*.ts": "eslint --cache --fix" "*.ts": "eslint --cache --fix",
"*.json": "prettier --write",
"*.scss": "prettier --write"
} }
} }

View file

@ -51,7 +51,6 @@
margin-top: 0px; margin-top: 0px;
padding-top: 0px; padding-top: 0px;
} }
} }
} }
@ -61,4 +60,4 @@
padding-left: 1em; padding-left: 1em;
border-bottom: 2px groove $c-border-groove; border-bottom: 2px groove $c-border-groove;
font-weight: bold; font-weight: bold;
} }