@robot-inventor/oxlint-config 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-rules.d.ts +4 -2
- package/dist/base-rules.js +7 -2
- package/dist/index.d.ts +24 -12
- package/package.json +4 -4
package/dist/base-rules.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare const baseRules: {
|
|
|
3
3
|
readonly "array-callback-return": "error";
|
|
4
4
|
readonly "arrow-body-style": "error";
|
|
5
5
|
readonly "block-scoped-var": "error";
|
|
6
|
-
readonly "capitalized-comments": "
|
|
6
|
+
readonly "capitalized-comments": "off";
|
|
7
7
|
readonly "class-methods-use-this": "error";
|
|
8
8
|
readonly complexity: "error";
|
|
9
9
|
readonly "constructor-super": "error";
|
|
@@ -220,7 +220,9 @@ declare const baseRules: {
|
|
|
220
220
|
readonly "import/group-exports": "error";
|
|
221
221
|
readonly "import/max-dependencies": "error";
|
|
222
222
|
readonly "import/newline-after-import": "error";
|
|
223
|
-
readonly "import/no-unassigned-import": "error"
|
|
223
|
+
readonly "import/no-unassigned-import": ["error", {
|
|
224
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
225
|
+
}];
|
|
224
226
|
readonly "typescript/consistent-return": "off";
|
|
225
227
|
readonly "typescript/dot-notation": "error";
|
|
226
228
|
readonly "typescript/await-thenable": "error";
|
package/dist/base-rules.js
CHANGED
|
@@ -3,7 +3,7 @@ const migratedRules = {
|
|
|
3
3
|
"array-callback-return": "error",
|
|
4
4
|
"arrow-body-style": "error",
|
|
5
5
|
"block-scoped-var": "error",
|
|
6
|
-
"capitalized-comments": "
|
|
6
|
+
"capitalized-comments": "off",
|
|
7
7
|
"class-methods-use-this": "error",
|
|
8
8
|
complexity: "error",
|
|
9
9
|
"constructor-super": "error",
|
|
@@ -238,7 +238,12 @@ const migratedRules = {
|
|
|
238
238
|
"import/group-exports": "error",
|
|
239
239
|
"import/max-dependencies": "error",
|
|
240
240
|
"import/newline-after-import": "error",
|
|
241
|
-
"import/no-unassigned-import":
|
|
241
|
+
"import/no-unassigned-import": [
|
|
242
|
+
"error",
|
|
243
|
+
{
|
|
244
|
+
allow: ["**/*.css", "server-only", "client-only"]
|
|
245
|
+
}
|
|
246
|
+
],
|
|
242
247
|
"typescript/consistent-return": "off",
|
|
243
248
|
"typescript/dot-notation": "error",
|
|
244
249
|
"typescript/await-thenable": "error",
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const oxlintConfigNoJSDoc: {
|
|
|
16
16
|
"array-callback-return": "error";
|
|
17
17
|
"arrow-body-style": "error";
|
|
18
18
|
"block-scoped-var": "error";
|
|
19
|
-
"capitalized-comments": "
|
|
19
|
+
"capitalized-comments": "off";
|
|
20
20
|
"class-methods-use-this": "error";
|
|
21
21
|
complexity: "error";
|
|
22
22
|
"constructor-super": "error";
|
|
@@ -233,7 +233,9 @@ declare const oxlintConfigNoJSDoc: {
|
|
|
233
233
|
"import/group-exports": "error";
|
|
234
234
|
"import/max-dependencies": "error";
|
|
235
235
|
"import/newline-after-import": "error";
|
|
236
|
-
"import/no-unassigned-import": "error"
|
|
236
|
+
"import/no-unassigned-import": ["error", {
|
|
237
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
238
|
+
}];
|
|
237
239
|
"typescript/consistent-return": "off";
|
|
238
240
|
"typescript/dot-notation": "error";
|
|
239
241
|
"typescript/await-thenable": "error";
|
|
@@ -460,7 +462,7 @@ declare const oxlintConfig: {
|
|
|
460
462
|
"array-callback-return": "error";
|
|
461
463
|
"arrow-body-style": "error";
|
|
462
464
|
"block-scoped-var": "error";
|
|
463
|
-
"capitalized-comments": "
|
|
465
|
+
"capitalized-comments": "off";
|
|
464
466
|
"class-methods-use-this": "error";
|
|
465
467
|
complexity: "error";
|
|
466
468
|
"constructor-super": "error";
|
|
@@ -677,7 +679,9 @@ declare const oxlintConfig: {
|
|
|
677
679
|
"import/group-exports": "error";
|
|
678
680
|
"import/max-dependencies": "error";
|
|
679
681
|
"import/newline-after-import": "error";
|
|
680
|
-
"import/no-unassigned-import": "error"
|
|
682
|
+
"import/no-unassigned-import": ["error", {
|
|
683
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
684
|
+
}];
|
|
681
685
|
"typescript/consistent-return": "off";
|
|
682
686
|
"typescript/dot-notation": "error";
|
|
683
687
|
"typescript/await-thenable": "error";
|
|
@@ -923,7 +927,7 @@ declare const oxlintReactConfigNoJSDoc: {
|
|
|
923
927
|
"array-callback-return": "error";
|
|
924
928
|
"arrow-body-style": "error";
|
|
925
929
|
"block-scoped-var": "error";
|
|
926
|
-
"capitalized-comments": "
|
|
930
|
+
"capitalized-comments": "off";
|
|
927
931
|
"class-methods-use-this": "error";
|
|
928
932
|
complexity: "error";
|
|
929
933
|
"constructor-super": "error";
|
|
@@ -1140,7 +1144,9 @@ declare const oxlintReactConfigNoJSDoc: {
|
|
|
1140
1144
|
"import/group-exports": "error";
|
|
1141
1145
|
"import/max-dependencies": "error";
|
|
1142
1146
|
"import/newline-after-import": "error";
|
|
1143
|
-
"import/no-unassigned-import": "error"
|
|
1147
|
+
"import/no-unassigned-import": ["error", {
|
|
1148
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
1149
|
+
}];
|
|
1144
1150
|
"typescript/consistent-return": "off";
|
|
1145
1151
|
"typescript/dot-notation": "error";
|
|
1146
1152
|
"typescript/await-thenable": "error";
|
|
@@ -1441,7 +1447,7 @@ declare const oxlintReactConfig: {
|
|
|
1441
1447
|
"array-callback-return": "error";
|
|
1442
1448
|
"arrow-body-style": "error";
|
|
1443
1449
|
"block-scoped-var": "error";
|
|
1444
|
-
"capitalized-comments": "
|
|
1450
|
+
"capitalized-comments": "off";
|
|
1445
1451
|
"class-methods-use-this": "error";
|
|
1446
1452
|
complexity: "error";
|
|
1447
1453
|
"constructor-super": "error";
|
|
@@ -1658,7 +1664,9 @@ declare const oxlintReactConfig: {
|
|
|
1658
1664
|
"import/group-exports": "error";
|
|
1659
1665
|
"import/max-dependencies": "error";
|
|
1660
1666
|
"import/newline-after-import": "error";
|
|
1661
|
-
"import/no-unassigned-import": "error"
|
|
1667
|
+
"import/no-unassigned-import": ["error", {
|
|
1668
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
1669
|
+
}];
|
|
1662
1670
|
"typescript/consistent-return": "off";
|
|
1663
1671
|
"typescript/dot-notation": "error";
|
|
1664
1672
|
"typescript/await-thenable": "error";
|
|
@@ -1978,7 +1986,7 @@ declare const oxlintNextConfigNoJSDoc: {
|
|
|
1978
1986
|
"array-callback-return": "error";
|
|
1979
1987
|
"arrow-body-style": "error";
|
|
1980
1988
|
"block-scoped-var": "error";
|
|
1981
|
-
"capitalized-comments": "
|
|
1989
|
+
"capitalized-comments": "off";
|
|
1982
1990
|
"class-methods-use-this": "error";
|
|
1983
1991
|
complexity: "error";
|
|
1984
1992
|
"constructor-super": "error";
|
|
@@ -2195,7 +2203,9 @@ declare const oxlintNextConfigNoJSDoc: {
|
|
|
2195
2203
|
"import/group-exports": "error";
|
|
2196
2204
|
"import/max-dependencies": "error";
|
|
2197
2205
|
"import/newline-after-import": "error";
|
|
2198
|
-
"import/no-unassigned-import": "error"
|
|
2206
|
+
"import/no-unassigned-import": ["error", {
|
|
2207
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
2208
|
+
}];
|
|
2199
2209
|
"typescript/consistent-return": "off";
|
|
2200
2210
|
"typescript/dot-notation": "error";
|
|
2201
2211
|
"typescript/await-thenable": "error";
|
|
@@ -2525,7 +2535,7 @@ declare const oxlintNextConfig: {
|
|
|
2525
2535
|
"array-callback-return": "error";
|
|
2526
2536
|
"arrow-body-style": "error";
|
|
2527
2537
|
"block-scoped-var": "error";
|
|
2528
|
-
"capitalized-comments": "
|
|
2538
|
+
"capitalized-comments": "off";
|
|
2529
2539
|
"class-methods-use-this": "error";
|
|
2530
2540
|
complexity: "error";
|
|
2531
2541
|
"constructor-super": "error";
|
|
@@ -2742,7 +2752,9 @@ declare const oxlintNextConfig: {
|
|
|
2742
2752
|
"import/group-exports": "error";
|
|
2743
2753
|
"import/max-dependencies": "error";
|
|
2744
2754
|
"import/newline-after-import": "error";
|
|
2745
|
-
"import/no-unassigned-import": "error"
|
|
2755
|
+
"import/no-unassigned-import": ["error", {
|
|
2756
|
+
readonly allow: ["**/*.css", "server-only", "client-only"];
|
|
2757
|
+
}];
|
|
2746
2758
|
"typescript/consistent-return": "off";
|
|
2747
2759
|
"typescript/dot-notation": "error";
|
|
2748
2760
|
"typescript/await-thenable": "error";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robot-inventor/oxlint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "My Oxlint config preset",
|
|
5
5
|
"homepage": "https://github.com/Robot-Inventor/oxlint-config#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"typescript": "^7.0.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@next/eslint-plugin-next": "^16.3.
|
|
46
|
+
"@next/eslint-plugin-next": "^16.3.7",
|
|
47
47
|
"eslint": "^10.11.0",
|
|
48
48
|
"eslint-import-resolver-node": "^0.4.0",
|
|
49
49
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
50
50
|
"eslint-plugin-import-x": "^4.17.1",
|
|
51
|
-
"eslint-plugin-jsdoc": "^
|
|
52
|
-
"oxlint": "^1.
|
|
51
|
+
"eslint-plugin-jsdoc": "^65.0.0",
|
|
52
|
+
"oxlint": "^1.86.0",
|
|
53
53
|
"oxlint-plugin-react-doctor": "^0.9.14",
|
|
54
54
|
"oxlint-tsgolint": "^7.0.2003"
|
|
55
55
|
}
|