Skip to content

Commit

Permalink
Merge pull request #241 from thornbill/import-lint-take-2
Browse files Browse the repository at this point in the history
Update import sorting lint rule
  • Loading branch information
thornbill authored Mar 22, 2021
2 parents 1d0631b + 02f1261 commit 9e82d3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"react-native/no-color-literals": ["error"],
"react-native/no-raw-text": ["error"],

"import/order": ["warn", {
"alphabetize": { "order": "asc", "caseInsensitive": true },
"newlines-between": "always-and-inside-groups"
}],

"array-bracket-spacing": ["error", "always", { "objectsInArrays": false, "arraysInArrays": false }],
"array-callback-return": ["error"],
"arrow-spacing": ["error"],
Expand Down Expand Up @@ -70,7 +75,6 @@
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }],
"radix": ["error"],
"semi": ["error"],
"sort-imports": ["warn", { "ignoreCase": true, "memberSyntaxSortOrder": ["all", "multiple", "single", "none"], "allowSeparatedGroups": true }],
"space-before-blocks": ["error"],
"space-in-parens": ["error"],
"space-infix-ops": ["error"],
Expand Down

0 comments on commit 9e82d3d

Please sign in to comment.