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": {
|
"lint-staged": {
|
||||||
"*.ts": "eslint --cache --fix"
|
"*.ts": "eslint --cache --fix",
|
||||||
|
"*.json": "prettier --write",
|
||||||
|
"*.scss": "prettier --write"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue