chore: initial commit
This commit is contained in:
29
.prettierrc.json
Normal file
29
.prettierrc.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/prettierrc",
|
||||
"printWidth": 100,
|
||||
"tabWidth": 2,
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": true,
|
||||
"trailingComma": "all",
|
||||
"semi": false,
|
||||
"bracketSpacing": true,
|
||||
"arrowParens": "always",
|
||||
"endOfLine": "lf",
|
||||
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
||||
"importOrderParserPlugins": ["typescript", "jsx", "classProperties", "decorators-legacy"],
|
||||
"importOrder": [
|
||||
"^react$",
|
||||
"",
|
||||
"<BUILTIN_MODULES>",
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
"",
|
||||
"^@/[^/]+(/.*)?$",
|
||||
"",
|
||||
"^(?!.*[.](css|less)$)[./].*$",
|
||||
"",
|
||||
".*\\.(css|less)$"
|
||||
],
|
||||
"importOrderSeparation": true,
|
||||
"importOrderSortSpecifiers": true,
|
||||
"importOrderCombineTypeAndValueImports": true
|
||||
}
|
||||
Reference in New Issue
Block a user