Skip to content

Commit 695c224

Browse files
committed
Add rules
1 parent 7c34268 commit 695c224

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
"@typescript-eslint/no-unsafe-return": "warn",
4444
"@typescript-eslint/no-non-null-assertion": "warn",
4545
"@typescript-eslint/ban-types": "warn",
46+
"@typescript-eslint/consistent-type-imports": "error",
47+
"@typescript-eslint/consistent-type-exports": "error",
4648

4749
// common
4850
"@typescript-eslint/explicit-module-boundary-types": "off",
@@ -85,6 +87,7 @@
8587
],
8688
"curly": "error",
8789
"spaced-comment": "error",
88-
"no-alert": "warn"
90+
"no-alert": "warn",
91+
"sort-imports": "error"
8992
}
9093
}

0 commit comments

Comments
 (0)