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": {
"*.ts": "eslint --cache --fix"
"*.ts": "eslint --cache --fix",
"*.json": "prettier --write",
"*.scss": "prettier --write"
}
}

View file

@ -51,7 +51,6 @@
margin-top: 0px;
padding-top: 0px;
}
}
}