Skip to content

Commit 53ca9ce

Browse files
authored
Move build to rspack (#17)
Move build to rspack; Add lazy loading for setting tabs; Update dependencies
1 parent fc1d77c commit 53ca9ce

13 files changed

+4426
-2129
lines changed

.eslintrc

+11-10
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-hooks",
2727
"unicorn",
2828
"simple-import-sort",
29-
"import"
29+
"import-x"
3030
],
3131
"rules": {
3232
"prettier/prettier": [
@@ -56,15 +56,15 @@
5656
}
5757
],
5858
"import/prefer-default-export": "off",
59-
"import/extensions": [
59+
"import-x/extensions": [
6060
"error",
6161
"ignorePackages",
6262
{
6363
"ts": "never",
6464
"tsx": "never"
6565
}
6666
],
67-
"import/no-extraneous-dependencies": "off",
67+
"import-x/no-extraneous-dependencies": "off",
6868
"unicorn/filename-case": "off",
6969
"no-use-before-define": "off",
7070
"@typescript-eslint/explicit-module-boundary-types": "off",
@@ -175,12 +175,12 @@
175175
]
176176
}
177177
],
178-
"import/no-import-module-exports": "off",
178+
"import-x/no-import-module-exports": "off",
179179
"react/jsx-uses-react": "off",
180180
"react/react-in-jsx-scope": "off",
181181
"react/jsx-max-props-per-line": "off",
182182
"no-nested-ternary": "error",
183-
"import/order": "off",
183+
"import-x/order": "off",
184184
"simple-import-sort/imports": [
185185
"error",
186186
{
@@ -196,9 +196,9 @@
196196
}
197197
],
198198
"simple-import-sort/exports": "error",
199-
"import/first": "error",
200-
"import/newline-after-import": "error",
201-
"import/no-duplicates": "error",
199+
"import-x/first": "error",
200+
"import-x/newline-after-import": "error",
201+
"import-x/no-duplicates": "error",
202202
"no-continue": "off",
203203
"jsx-a11y/label-has-associated-control": [
204204
"error",
@@ -211,8 +211,9 @@
211211
"no-console": "off"
212212
},
213213
"settings": {
214-
"import/resolver": {
215-
"typescript": {}
214+
"import-x/resolver": {
215+
"typescript": true,
216+
"node": true
216217
},
217218
"react": {
218219
"version": "detect"

0 commit comments

Comments
 (0)