Skip to content

Commit d8336dd

Browse files
authored
refactor!: add the sort-imports rule
1 parent e80baff commit d8336dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default [
142142
radix: "error",
143143
"require-await": "error",
144144
"require-unicode-regexp": "error",
145-
"sort-imports": "off",
145+
"sort-imports": "error",
146146
"sort-keys": "off",
147147
"sort-vars": "error",
148148
"spaced-comment": ["error", "always"],

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ declare const _default: [
142142
radix: "error";
143143
"require-await": "error";
144144
"require-unicode-regexp": "error";
145-
"sort-imports": "off";
145+
"sort-imports": "error";
146146
"sort-keys": "off";
147147
"sort-vars": "error";
148148
"spaced-comment": ["error", "always"];

0 commit comments

Comments
 (0)