commit 2 refactor
This commit is contained in:
parent
588f666943
commit
32e43c9243
310 changed files with 33318 additions and 31189 deletions
21
.prettierrc
21
.prettierrc
|
|
@ -10,7 +10,9 @@
|
|||
"bracketSpacing": true,
|
||||
"bracketSameLine": false,
|
||||
"quoteProps": "as-needed",
|
||||
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
||||
"plugins": [
|
||||
"@ianvs/prettier-plugin-sort-imports"
|
||||
],
|
||||
"importOrder": [
|
||||
"^(node:.*|fs|path|crypto|url|os|util|events|stream|buffer|child_process|cluster|http|https|net|tls|dgram|dns|readline|repl|vm|zlib|querystring|punycode|assert|timers|constants)$",
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
|
|
@ -22,5 +24,20 @@
|
|||
"^\\.(?!/?$)",
|
||||
"^\\./?$"
|
||||
],
|
||||
"importOrderParserPlugins": ["typescript", "decorators-legacy"]
|
||||
"importOrderParserPlugins": [
|
||||
"typescript",
|
||||
"decorators-legacy"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": "**/*.tsx",
|
||||
"options": {
|
||||
"importOrderParserPlugins": [
|
||||
"typescript",
|
||||
"jsx",
|
||||
"decorators-legacy"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue