@robot-inventor/oxlint-config 0.4.2 → 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 +3 -1
- package/dist/base-rules.js +6 -1
- package/dist/index.d.ts +18 -6
- package/package.json +4 -4
package/dist/base-rules.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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
|
}
|