add auto formatting for .scss and .json files
This commit is contained in:
parent
410cea05c5
commit
2e7197a0a2
2 changed files with 4 additions and 3 deletions
|
@ -44,6 +44,8 @@
|
|||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": "eslint --cache --fix"
|
||||
"*.ts": "eslint --cache --fix",
|
||||
"*.json": "prettier --write",
|
||||
"*.scss": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
margin-top: 0px;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,4 +60,4 @@
|
|||
padding-left: 1em;
|
||||
border-bottom: 2px groove $c-border-groove;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue