Add reasonable defaults to prettier.

pull/1049/head
Paul 2021-07-05 11:15:02 +01:00
parent e0dd6df552
commit d5d0a2db0c
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,
}