@robot-inventor/oxlint-config 0.1.0 → 0.1.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.
- 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 +3 -3
package/dist/base-rules.d.ts
CHANGED
|
@@ -20,7 +20,9 @@ declare const baseRules: {
|
|
|
20
20
|
readonly "grouped-accessor-pairs": "error";
|
|
21
21
|
readonly "guard-for-in": "error";
|
|
22
22
|
readonly "id-denylist": "error";
|
|
23
|
-
readonly "id-length": "error"
|
|
23
|
+
readonly "id-length": ["error", {
|
|
24
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
25
|
+
}];
|
|
24
26
|
readonly "id-match": "error";
|
|
25
27
|
readonly "init-declarations": "error";
|
|
26
28
|
readonly "logical-assignment-operators": "error";
|
package/dist/base-rules.js
CHANGED
|
@@ -20,7 +20,12 @@ const migratedRules = {
|
|
|
20
20
|
"grouped-accessor-pairs": "error",
|
|
21
21
|
"guard-for-in": "error",
|
|
22
22
|
"id-denylist": "error",
|
|
23
|
-
"id-length":
|
|
23
|
+
"id-length": [
|
|
24
|
+
"error",
|
|
25
|
+
{
|
|
26
|
+
exceptions: ["T", "K", "i", "j", "x", "y", "z"]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
24
29
|
"id-match": "error",
|
|
25
30
|
"init-declarations": "error",
|
|
26
31
|
"logical-assignment-operators": "error",
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,9 @@ declare const oxlintConfigNoJSDoc: {
|
|
|
33
33
|
"grouped-accessor-pairs": "error";
|
|
34
34
|
"guard-for-in": "error";
|
|
35
35
|
"id-denylist": "error";
|
|
36
|
-
"id-length": "error"
|
|
36
|
+
"id-length": ["error", {
|
|
37
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
38
|
+
}];
|
|
37
39
|
"id-match": "error";
|
|
38
40
|
"init-declarations": "error";
|
|
39
41
|
"logical-assignment-operators": "error";
|
|
@@ -471,7 +473,9 @@ declare const oxlintConfig: {
|
|
|
471
473
|
"grouped-accessor-pairs": "error";
|
|
472
474
|
"guard-for-in": "error";
|
|
473
475
|
"id-denylist": "error";
|
|
474
|
-
"id-length": "error"
|
|
476
|
+
"id-length": ["error", {
|
|
477
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
478
|
+
}];
|
|
475
479
|
"id-match": "error";
|
|
476
480
|
"init-declarations": "error";
|
|
477
481
|
"logical-assignment-operators": "error";
|
|
@@ -928,7 +932,9 @@ declare const oxlintReactConfigNoJSDoc: {
|
|
|
928
932
|
"grouped-accessor-pairs": "error";
|
|
929
933
|
"guard-for-in": "error";
|
|
930
934
|
"id-denylist": "error";
|
|
931
|
-
"id-length": "error"
|
|
935
|
+
"id-length": ["error", {
|
|
936
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
937
|
+
}];
|
|
932
938
|
"id-match": "error";
|
|
933
939
|
"init-declarations": "error";
|
|
934
940
|
"logical-assignment-operators": "error";
|
|
@@ -1437,7 +1443,9 @@ declare const oxlintReactConfig: {
|
|
|
1437
1443
|
"grouped-accessor-pairs": "error";
|
|
1438
1444
|
"guard-for-in": "error";
|
|
1439
1445
|
"id-denylist": "error";
|
|
1440
|
-
"id-length": "error"
|
|
1446
|
+
"id-length": ["error", {
|
|
1447
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
1448
|
+
}];
|
|
1441
1449
|
"id-match": "error";
|
|
1442
1450
|
"init-declarations": "error";
|
|
1443
1451
|
"logical-assignment-operators": "error";
|
|
@@ -1965,7 +1973,9 @@ declare const oxlintNextConfigNoJSDoc: {
|
|
|
1965
1973
|
"grouped-accessor-pairs": "error";
|
|
1966
1974
|
"guard-for-in": "error";
|
|
1967
1975
|
"id-denylist": "error";
|
|
1968
|
-
"id-length": "error"
|
|
1976
|
+
"id-length": ["error", {
|
|
1977
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
1978
|
+
}];
|
|
1969
1979
|
"id-match": "error";
|
|
1970
1980
|
"init-declarations": "error";
|
|
1971
1981
|
"logical-assignment-operators": "error";
|
|
@@ -2503,7 +2513,9 @@ declare const oxlintNextConfig: {
|
|
|
2503
2513
|
"grouped-accessor-pairs": "error";
|
|
2504
2514
|
"guard-for-in": "error";
|
|
2505
2515
|
"id-denylist": "error";
|
|
2506
|
-
"id-length": "error"
|
|
2516
|
+
"id-length": ["error", {
|
|
2517
|
+
readonly exceptions: ["T", "K", "i", "j", "x", "y", "z"];
|
|
2518
|
+
}];
|
|
2507
2519
|
"id-match": "error";
|
|
2508
2520
|
"init-declarations": "error";
|
|
2509
2521
|
"logical-assignment-operators": "error";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robot-inventor/oxlint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "My Oxlint config preset",
|
|
5
5
|
"homepage": "https://github.com/Robot-Inventor/oxlint-config#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@next/eslint-plugin-next": "^16.3.4",
|
|
47
|
-
"eslint": "^10.
|
|
47
|
+
"eslint": "^10.10.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.3.
|
|
51
|
+
"eslint-plugin-jsdoc": "^64.3.9",
|
|
52
52
|
"oxlint": "^1.82.0",
|
|
53
53
|
"oxlint-plugin-react-doctor": "^0.9.13",
|
|
54
54
|
"oxlint-tsgolint": "^7.0.2001"
|