add prettier
This commit is contained in:
1 parent
6a9a45a4cc
commit
07fc6c0b6c
35 files changed
+530
-461
No files matched your search
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"trailingComma": "none",
|
||||
"tabWidth": 2,
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"quoteProps": "preserve",
|
||||
"arrowParens": "always",
|
||||
"bracketSpacing": true,
|
||||
"bracketSameLine": false,
|
||||
"proseWrap": "never",
|
||||
"htmlWhitespaceSensitivity": "strict",
|
||||
"plugins": ["@trivago/prettier-plugin-sort-imports"],
|
||||
"useTabs": false,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.tsx",
|
||||
"options": {
|
||||
"parser": "typescript"
|
||||
}
|
||||
}
|
||||
],
|
||||
"importOrder": [
|
||||
"^@core/(.*)$",
|
||||
"^@ui/(.*)$",
|
||||
"^@components/(.*)$",
|
||||
"^@widgets/(.*)$",
|
||||
"^@pages/(.*)$",
|
||||
"^@utils/(.*)$",
|
||||
"^@hooks/(.*)$",
|
||||
"^@assets/(.*)$",
|
||||
"^@api/(.*)$",
|
||||
"^@store/(.*)$",
|
||||
"^@routes/(.*)$",
|
||||
"^[./]",
|
||||
".(scss|css)$"
|
||||
],
|
||||
"importOrderSeparation": true
|
||||
}
|
||||
Reference in new issue
Block a user