Enforce import order

This commit is contained in:
Asher
2020-08-04 15:51:39 -05:00
parent f7790c9719
commit d8568ebaa9
4 changed files with 6 additions and 4 deletions

View File

@@ -24,6 +24,8 @@ rules:
"@typescript-eslint/no-use-before-define": off
"@typescript-eslint/no-non-null-assertion": off
eqeqeq: error
import/order:
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]
settings:
# Does not work with CommonJS unfortunately.