mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-04-26 01:02:54 -05:00
add import order
This commit is contained in:
parent
50a3d47ee4
commit
df48ee9c2b
11
.eslintrc
11
.eslintrc
|
|
@ -54,6 +54,17 @@
|
||||||
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
|
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
|
||||||
"no-unused-vars": ["warn", { "argsIgnorePattern": "props|context|e", "varsIgnorePattern": "s" }],
|
"no-unused-vars": ["warn", { "argsIgnorePattern": "props|context|e", "varsIgnorePattern": "s" }],
|
||||||
"no-useless-escape": "off",
|
"no-useless-escape": "off",
|
||||||
|
"import/order": ["warn", {
|
||||||
|
"groups": [
|
||||||
|
["builtin", "external", "internal"],
|
||||||
|
["parent", "sibling", "index"]
|
||||||
|
],
|
||||||
|
"newlines-between": "always-and-inside-groups",
|
||||||
|
"alphabetize": {
|
||||||
|
"order": "asc",
|
||||||
|
"caseInsensitive":true
|
||||||
|
}
|
||||||
|
}],
|
||||||
"object-curly-newline": "off",
|
"object-curly-newline": "off",
|
||||||
"object-curly-spacing": ["warn", "always", {"objectsInObjects": false, "arraysInObjects": false}],
|
"object-curly-spacing": ["warn", "always", {"objectsInObjects": false, "arraysInObjects": false}],
|
||||||
"prefer-destructuring": ["warn", {
|
"prefer-destructuring": ["warn", {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user