add prettier

This commit is contained in:
veselovnk committed 2024-04-04 10:54:10 +03:00
1 parent 6a9a45a4cc
commit 07fc6c0b6c
35 files changed
+530 -461

No files matched your search

+38
View File
@@ -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
}