added tons of features
This commit is contained in:
50
.prettierrc.json
Normal file
50
.prettierrc.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"trailingComma": "none",
|
||||
"tabWidth": 2,
|
||||
"useTabs": true,
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": true,
|
||||
"arrowParens": "avoid",
|
||||
"bracketSpacing": false,
|
||||
"importOrderSeparation": true,
|
||||
"importOrderSortSpecifiers": true,
|
||||
"importOrder": [
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
"^@api/(.*)$",
|
||||
"^@app/(.*)$",
|
||||
"^@components/(.*)$",
|
||||
"^@config/(.*)$",
|
||||
"^@constants/(.*)$",
|
||||
"^@hooks/(.*)$",
|
||||
"^@services/(.*)$",
|
||||
"^@shared/(.*)$",
|
||||
"^@store/(.*)$",
|
||||
"^@utils/(.*)$",
|
||||
"^@ui/(.*)$",
|
||||
"^../(.*)$",
|
||||
"^./(.*)$",
|
||||
"^[./]"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.test.js",
|
||||
"options": {
|
||||
"semi": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"*.html",
|
||||
"legacy/**/*.js"
|
||||
],
|
||||
"options": {
|
||||
"tabWidth": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"plugins": [
|
||||
"@trivago/prettier-plugin-sort-imports",
|
||||
"prettier-plugin-tailwindcss"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user