Add reasonable defaults to prettier.

This commit is contained in:
Paul 2021-07-05 11:15:02 +01:00
parent 7067627027
commit b2d73f2382
2 changed files with 9 additions and 1 deletions

View file

@ -1 +0,0 @@
tabWidth: 4

9
.prettierrc.js Normal file
View file

@ -0,0 +1,9 @@
module.exports = {
"tabWidth": 4,
"useTabs": true,
"trailingComma": "all",
"jsxBracketSameLine": true,
"importOrder": ["/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],
"importOrderSeparation": true,
}