@robot-inventor/oxlint-config 0.4.2 → 0.5.1

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.
@@ -21,7 +21,7 @@ declare const baseRules: {
21
21
  readonly "guard-for-in": "error";
22
22
  readonly "id-denylist": "error";
23
23
  readonly "id-length": ["error", {
24
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
24
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
25
25
  }];
26
26
  readonly "id-match": "error";
27
27
  readonly "init-declarations": "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";
@@ -23,7 +23,7 @@ const migratedRules = {
23
23
  "id-length": [
24
24
  "error",
25
25
  {
26
- exceptions: ["T", "K", "i", "j", "x", "y", "z"]
26
+ exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"]
27
27
  }
28
28
  ],
29
29
  "id-match": "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": "error",
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
@@ -34,7 +34,7 @@ declare const oxlintConfigNoJSDoc: {
34
34
  "guard-for-in": "error";
35
35
  "id-denylist": "error";
36
36
  "id-length": ["error", {
37
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
37
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
38
38
  }];
39
39
  "id-match": "error";
40
40
  "init-declarations": "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";
@@ -478,7 +480,7 @@ declare const oxlintConfig: {
478
480
  "guard-for-in": "error";
479
481
  "id-denylist": "error";
480
482
  "id-length": ["error", {
481
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
483
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
482
484
  }];
483
485
  "id-match": "error";
484
486
  "init-declarations": "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";
@@ -941,7 +945,7 @@ declare const oxlintReactConfigNoJSDoc: {
941
945
  "guard-for-in": "error";
942
946
  "id-denylist": "error";
943
947
  "id-length": ["error", {
944
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
948
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
945
949
  }];
946
950
  "id-match": "error";
947
951
  "init-declarations": "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";
@@ -1459,7 +1465,7 @@ declare const oxlintReactConfig: {
1459
1465
  "guard-for-in": "error";
1460
1466
  "id-denylist": "error";
1461
1467
  "id-length": ["error", {
1462
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
1468
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
1463
1469
  }];
1464
1470
  "id-match": "error";
1465
1471
  "init-declarations": "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";
@@ -1996,7 +2004,7 @@ declare const oxlintNextConfigNoJSDoc: {
1996
2004
  "guard-for-in": "error";
1997
2005
  "id-denylist": "error";
1998
2006
  "id-length": ["error", {
1999
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
2007
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
2000
2008
  }];
2001
2009
  "id-match": "error";
2002
2010
  "init-declarations": "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";
@@ -2543,7 +2553,7 @@ declare const oxlintNextConfig: {
2543
2553
  "guard-for-in": "error";
2544
2554
  "id-denylist": "error";
2545
2555
  "id-length": ["error", {
2546
- readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
2556
+ readonly exceptions: ["S", "T", "K", "i", "j", "x", "y", "z"];
2547
2557
  }];
2548
2558
  "id-match": "error";
2549
2559
  "init-declarations": "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.4.2",
3
+ "version": "0.5.1",
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.6",
46
+ "@next/eslint-plugin-next": "^16.3.8",
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": "^64.5.4",
52
- "oxlint": "^1.85.0",
51
+ "eslint-plugin-jsdoc": "^65.0.1",
52
+ "oxlint": "^1.86.0",
53
53
  "oxlint-plugin-react-doctor": "^0.9.14",
54
54
  "oxlint-tsgolint": "^7.0.2003"
55
55
  }