@apst/oxlint 0.0.0-dev.20260324.019d1d21

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.
Files changed (157) hide show
  1. package/LICENSE +21 -0
  2. package/dist/@types/preset.d.ts +25 -0
  3. package/dist/constants/default.d.ts +8 -0
  4. package/dist/constants/default.js +10 -0
  5. package/dist/constants/default.js.map +1 -0
  6. package/dist/constants/default.mjs +9 -0
  7. package/dist/constants/default.mjs.map +1 -0
  8. package/dist/constants/ignore-patterns.d.ts +3 -0
  9. package/dist/constants/ignore-patterns.js +26 -0
  10. package/dist/constants/ignore-patterns.js.map +1 -0
  11. package/dist/constants/ignore-patterns.mjs +24 -0
  12. package/dist/constants/ignore-patterns.mjs.map +1 -0
  13. package/dist/functions/define.d.ts +46 -0
  14. package/dist/functions/define.js +19 -0
  15. package/dist/functions/define.js.map +1 -0
  16. package/dist/functions/define.mjs +19 -0
  17. package/dist/functions/define.mjs.map +1 -0
  18. package/dist/functions/merge.js +11 -0
  19. package/dist/functions/merge.js.map +1 -0
  20. package/dist/functions/merge.mjs +11 -0
  21. package/dist/functions/merge.mjs.map +1 -0
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.js +4 -0
  24. package/dist/index.mjs +3 -0
  25. package/dist/presets/common/index.d.ts +9 -0
  26. package/dist/presets/common/index.js +45 -0
  27. package/dist/presets/common/index.mjs +10 -0
  28. package/dist/presets/common/plugin/index.d.ts +3 -0
  29. package/dist/presets/common/plugin/index.js +12 -0
  30. package/dist/presets/common/plugin/index.js.map +1 -0
  31. package/dist/presets/common/plugin/index.mjs +11 -0
  32. package/dist/presets/common/plugin/index.mjs.map +1 -0
  33. package/dist/presets/common/preset/index.d.ts +4 -0
  34. package/dist/presets/common/preset/index.js +27 -0
  35. package/dist/presets/common/preset/index.js.map +1 -0
  36. package/dist/presets/common/preset/index.mjs +27 -0
  37. package/dist/presets/common/preset/index.mjs.map +1 -0
  38. package/dist/presets/common/rules/eslint.d.ts +174 -0
  39. package/dist/presets/common/rules/eslint.js +93 -0
  40. package/dist/presets/common/rules/eslint.js.map +1 -0
  41. package/dist/presets/common/rules/eslint.mjs +86 -0
  42. package/dist/presets/common/rules/eslint.mjs.map +1 -0
  43. package/dist/presets/common/rules/import.d.ts +64 -0
  44. package/dist/presets/common/rules/import.js +55 -0
  45. package/dist/presets/common/rules/import.js.map +1 -0
  46. package/dist/presets/common/rules/import.mjs +49 -0
  47. package/dist/presets/common/rules/import.mjs.map +1 -0
  48. package/dist/presets/common/rules/oxc.d.ts +15 -0
  49. package/dist/presets/common/rules/oxc.js +18 -0
  50. package/dist/presets/common/rules/oxc.js.map +1 -0
  51. package/dist/presets/common/rules/oxc.mjs +15 -0
  52. package/dist/presets/common/rules/oxc.mjs.map +1 -0
  53. package/dist/presets/common/rules/promise.d.ts +34 -0
  54. package/dist/presets/common/rules/promise.js +30 -0
  55. package/dist/presets/common/rules/promise.js.map +1 -0
  56. package/dist/presets/common/rules/promise.mjs +24 -0
  57. package/dist/presets/common/rules/promise.mjs.map +1 -0
  58. package/dist/presets/common/rules/typescript.d.ts +288 -0
  59. package/dist/presets/common/rules/typescript.js +149 -0
  60. package/dist/presets/common/rules/typescript.js.map +1 -0
  61. package/dist/presets/common/rules/typescript.mjs +143 -0
  62. package/dist/presets/common/rules/typescript.mjs.map +1 -0
  63. package/dist/presets/common/rules/unicorn.d.ts +168 -0
  64. package/dist/presets/common/rules/unicorn.js +90 -0
  65. package/dist/presets/common/rules/unicorn.js.map +1 -0
  66. package/dist/presets/common/rules/unicorn.mjs +85 -0
  67. package/dist/presets/common/rules/unicorn.mjs.map +1 -0
  68. package/dist/presets/jsx/index.d.ts +4 -0
  69. package/dist/presets/jsx/index.js +9 -0
  70. package/dist/presets/jsx/index.mjs +5 -0
  71. package/dist/presets/jsx/plugin/index.d.ts +3 -0
  72. package/dist/presets/jsx/plugin/index.js +5 -0
  73. package/dist/presets/jsx/plugin/index.js.map +1 -0
  74. package/dist/presets/jsx/plugin/index.mjs +4 -0
  75. package/dist/presets/jsx/plugin/index.mjs.map +1 -0
  76. package/dist/presets/jsx/preset/index.d.ts +4 -0
  77. package/dist/presets/jsx/preset/index.js +15 -0
  78. package/dist/presets/jsx/preset/index.js.map +1 -0
  79. package/dist/presets/jsx/preset/index.mjs +15 -0
  80. package/dist/presets/jsx/preset/index.mjs.map +1 -0
  81. package/dist/presets/jsx/rules/jsx-a11y.d.ts +36 -0
  82. package/dist/presets/jsx/rules/jsx-a11y.js +23 -0
  83. package/dist/presets/jsx/rules/jsx-a11y.js.map +1 -0
  84. package/dist/presets/jsx/rules/jsx-a11y.mjs +21 -0
  85. package/dist/presets/jsx/rules/jsx-a11y.mjs.map +1 -0
  86. package/dist/presets/next/index.d.ts +3 -0
  87. package/dist/presets/next/index.js +6 -0
  88. package/dist/presets/next/index.mjs +4 -0
  89. package/dist/presets/next/plugin/index.d.ts +3 -0
  90. package/dist/presets/next/plugin/index.js +5 -0
  91. package/dist/presets/next/plugin/index.js.map +1 -0
  92. package/dist/presets/next/plugin/index.mjs +4 -0
  93. package/dist/presets/next/plugin/index.mjs.map +1 -0
  94. package/dist/presets/next/preset/index.d.ts +4 -0
  95. package/dist/presets/next/preset/index.js +15 -0
  96. package/dist/presets/next/preset/index.js.map +1 -0
  97. package/dist/presets/next/preset/index.mjs +15 -0
  98. package/dist/presets/next/preset/index.mjs.map +1 -0
  99. package/dist/presets/next/rules/nextjs.js +26 -0
  100. package/dist/presets/next/rules/nextjs.js.map +1 -0
  101. package/dist/presets/next/rules/nextjs.mjs +25 -0
  102. package/dist/presets/next/rules/nextjs.mjs.map +1 -0
  103. package/dist/presets/node/index.d.ts +4 -0
  104. package/dist/presets/node/index.js +10 -0
  105. package/dist/presets/node/index.mjs +5 -0
  106. package/dist/presets/node/plugin/index.d.ts +3 -0
  107. package/dist/presets/node/plugin/index.js +5 -0
  108. package/dist/presets/node/plugin/index.js.map +1 -0
  109. package/dist/presets/node/plugin/index.mjs +4 -0
  110. package/dist/presets/node/plugin/index.mjs.map +1 -0
  111. package/dist/presets/node/preset/index.d.ts +4 -0
  112. package/dist/presets/node/preset/index.js +15 -0
  113. package/dist/presets/node/preset/index.js.map +1 -0
  114. package/dist/presets/node/preset/index.mjs +15 -0
  115. package/dist/presets/node/preset/index.mjs.map +1 -0
  116. package/dist/presets/node/rules/node.d.ts +16 -0
  117. package/dist/presets/node/rules/node.js +16 -0
  118. package/dist/presets/node/rules/node.js.map +1 -0
  119. package/dist/presets/node/rules/node.mjs +13 -0
  120. package/dist/presets/node/rules/node.mjs.map +1 -0
  121. package/dist/presets/react/index.d.ts +4 -0
  122. package/dist/presets/react/index.js +14 -0
  123. package/dist/presets/react/index.mjs +5 -0
  124. package/dist/presets/react/plugin/index.d.ts +3 -0
  125. package/dist/presets/react/plugin/index.js +5 -0
  126. package/dist/presets/react/plugin/index.js.map +1 -0
  127. package/dist/presets/react/plugin/index.mjs +4 -0
  128. package/dist/presets/react/plugin/index.mjs.map +1 -0
  129. package/dist/presets/react/preset/index.d.ts +4 -0
  130. package/dist/presets/react/preset/index.js +15 -0
  131. package/dist/presets/react/preset/index.js.map +1 -0
  132. package/dist/presets/react/preset/index.mjs +15 -0
  133. package/dist/presets/react/preset/index.mjs.map +1 -0
  134. package/dist/presets/react/rules/react.d.ts +130 -0
  135. package/dist/presets/react/rules/react.js +83 -0
  136. package/dist/presets/react/rules/react.js.map +1 -0
  137. package/dist/presets/react/rules/react.mjs +76 -0
  138. package/dist/presets/react/rules/react.mjs.map +1 -0
  139. package/dist/presets/vitest/index.d.ts +4 -0
  140. package/dist/presets/vitest/index.js +10 -0
  141. package/dist/presets/vitest/index.mjs +5 -0
  142. package/dist/presets/vitest/plugin/index.d.ts +3 -0
  143. package/dist/presets/vitest/plugin/index.js +5 -0
  144. package/dist/presets/vitest/plugin/index.js.map +1 -0
  145. package/dist/presets/vitest/plugin/index.mjs +4 -0
  146. package/dist/presets/vitest/plugin/index.mjs.map +1 -0
  147. package/dist/presets/vitest/preset/index.d.ts +4 -0
  148. package/dist/presets/vitest/preset/index.js +15 -0
  149. package/dist/presets/vitest/preset/index.js.map +1 -0
  150. package/dist/presets/vitest/preset/index.mjs +15 -0
  151. package/dist/presets/vitest/preset/index.mjs.map +1 -0
  152. package/dist/presets/vitest/rules/vitest.d.ts +42 -0
  153. package/dist/presets/vitest/rules/vitest.js +27 -0
  154. package/dist/presets/vitest/rules/vitest.js.map +1 -0
  155. package/dist/presets/vitest/rules/vitest.mjs +24 -0
  156. package/dist/presets/vitest/rules/vitest.mjs.map +1 -0
  157. package/package.json +97 -0
@@ -0,0 +1,34 @@
1
+ declare const RULES_PROMISE_CORRECTNESS: {
2
+ readonly "promise/no-new-statics": "error";
3
+ readonly "promise/valid-params": "error";
4
+ };
5
+ declare const RULES_PROMISE_NURSERY: {
6
+ readonly "promise/no-return-in-finally": "error";
7
+ };
8
+ declare const RULES_PROMISE_RESTRICTION: {
9
+ readonly "promise/catch-or-return": ["error", {
10
+ readonly allowFinally: true;
11
+ readonly allowThen: false;
12
+ }];
13
+ readonly "promise/spec-only": "error";
14
+ };
15
+ declare const RULES_PROMISE_STYLE: {
16
+ readonly "promise/prefer-catch": "error";
17
+ };
18
+ declare const RULES_PROMISE_SUSPICIOUS: {
19
+ readonly "promise/no-multiple-resolved": "error";
20
+ };
21
+ declare const RULES_PROMISE: {
22
+ readonly "promise/no-multiple-resolved": "error";
23
+ readonly "promise/prefer-catch": "error";
24
+ readonly "promise/catch-or-return": ["error", {
25
+ readonly allowFinally: true;
26
+ readonly allowThen: false;
27
+ }];
28
+ readonly "promise/spec-only": "error";
29
+ readonly "promise/no-return-in-finally": "error";
30
+ readonly "promise/no-new-statics": "error";
31
+ readonly "promise/valid-params": "error";
32
+ };
33
+ export { RULES_PROMISE, RULES_PROMISE_CORRECTNESS, RULES_PROMISE_NURSERY, RULES_PROMISE_RESTRICTION, RULES_PROMISE_STYLE, RULES_PROMISE_SUSPICIOUS };
34
+ //# sourceMappingURL=promise.d.ts.map
@@ -0,0 +1,30 @@
1
+
2
+ const RULES_PROMISE_CORRECTNESS = {
3
+ "promise/no-new-statics": "error",
4
+ "promise/valid-params": "error"
5
+ };
6
+ const RULES_PROMISE_NURSERY = { "promise/no-return-in-finally": "error" };
7
+ const RULES_PROMISE_RESTRICTION = {
8
+ "promise/catch-or-return": ["error", {
9
+ allowFinally: true,
10
+ allowThen: false
11
+ }],
12
+ "promise/spec-only": "error"
13
+ };
14
+ const RULES_PROMISE_STYLE = { "promise/prefer-catch": "error" };
15
+ const RULES_PROMISE_SUSPICIOUS = { "promise/no-multiple-resolved": "error" };
16
+ const RULES_PROMISE = {
17
+ ...RULES_PROMISE_CORRECTNESS,
18
+ ...RULES_PROMISE_NURSERY,
19
+ ...RULES_PROMISE_RESTRICTION,
20
+ ...RULES_PROMISE_STYLE,
21
+ ...RULES_PROMISE_SUSPICIOUS
22
+ };
23
+
24
+ exports.RULES_PROMISE = RULES_PROMISE;
25
+ exports.RULES_PROMISE_CORRECTNESS = RULES_PROMISE_CORRECTNESS;
26
+ exports.RULES_PROMISE_NURSERY = RULES_PROMISE_NURSERY;
27
+ exports.RULES_PROMISE_RESTRICTION = RULES_PROMISE_RESTRICTION;
28
+ exports.RULES_PROMISE_STYLE = RULES_PROMISE_STYLE;
29
+ exports.RULES_PROMISE_SUSPICIOUS = RULES_PROMISE_SUSPICIOUS;
30
+ //# sourceMappingURL=promise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promise.js","names":[],"sources":["../../../../src/presets/common/rules/promise.ts"],"sourcesContent":["import type { LintRules } from \"#/@types/oxlint\";\n\nconst RULES_PROMISE_CORRECTNESS = {\n \"promise/no-new-statics\": \"error\",\n \"promise/valid-params\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_NURSERY = {\n \"promise/no-return-in-finally\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_RESTRICTION = {\n \"promise/catch-or-return\": [\n \"error\",\n {\n allowFinally: true,\n allowThen: false,\n },\n ],\n \"promise/spec-only\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_STYLE = {\n \"promise/prefer-catch\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_SUSPICIOUS = {\n \"promise/no-multiple-resolved\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE = {\n ...RULES_PROMISE_CORRECTNESS,\n ...RULES_PROMISE_NURSERY,\n ...RULES_PROMISE_RESTRICTION,\n ...RULES_PROMISE_STYLE,\n ...RULES_PROMISE_SUSPICIOUS,\n} as const satisfies LintRules;\n\nexport {\n RULES_PROMISE,\n RULES_PROMISE_CORRECTNESS,\n RULES_PROMISE_NURSERY,\n RULES_PROMISE_RESTRICTION,\n RULES_PROMISE_STYLE,\n RULES_PROMISE_SUSPICIOUS,\n};\n"],"mappings":";AAEA,MAAM,4BAA4B;CAC9B,0BAA0B;CAC1B,wBAAwB;CAC3B;AAED,MAAM,wBAAwB,EAC1B,gCAAgC,SACnC;AAED,MAAM,4BAA4B;CAC9B,2BAA2B,CACvB,SACA;EACI,cAAc;EACd,WAAW;EACd,CACJ;CACD,qBAAqB;CACxB;AAED,MAAM,sBAAsB,EACxB,wBAAwB,SAC3B;AAED,MAAM,2BAA2B,EAC7B,gCAAgC,SACnC;AAED,MAAM,gBAAgB;CAClB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACN"}
@@ -0,0 +1,24 @@
1
+ const RULES_PROMISE_CORRECTNESS = {
2
+ "promise/no-new-statics": "error",
3
+ "promise/valid-params": "error"
4
+ };
5
+ const RULES_PROMISE_NURSERY = { "promise/no-return-in-finally": "error" };
6
+ const RULES_PROMISE_RESTRICTION = {
7
+ "promise/catch-or-return": ["error", {
8
+ allowFinally: true,
9
+ allowThen: false
10
+ }],
11
+ "promise/spec-only": "error"
12
+ };
13
+ const RULES_PROMISE_STYLE = { "promise/prefer-catch": "error" };
14
+ const RULES_PROMISE_SUSPICIOUS = { "promise/no-multiple-resolved": "error" };
15
+ const RULES_PROMISE = {
16
+ ...RULES_PROMISE_CORRECTNESS,
17
+ ...RULES_PROMISE_NURSERY,
18
+ ...RULES_PROMISE_RESTRICTION,
19
+ ...RULES_PROMISE_STYLE,
20
+ ...RULES_PROMISE_SUSPICIOUS
21
+ };
22
+
23
+ export { RULES_PROMISE, RULES_PROMISE_CORRECTNESS, RULES_PROMISE_NURSERY, RULES_PROMISE_RESTRICTION, RULES_PROMISE_STYLE, RULES_PROMISE_SUSPICIOUS };
24
+ //# sourceMappingURL=promise.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promise.mjs","names":[],"sources":["../../../../src/presets/common/rules/promise.ts"],"sourcesContent":["import type { LintRules } from \"#/@types/oxlint\";\n\nconst RULES_PROMISE_CORRECTNESS = {\n \"promise/no-new-statics\": \"error\",\n \"promise/valid-params\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_NURSERY = {\n \"promise/no-return-in-finally\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_RESTRICTION = {\n \"promise/catch-or-return\": [\n \"error\",\n {\n allowFinally: true,\n allowThen: false,\n },\n ],\n \"promise/spec-only\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_STYLE = {\n \"promise/prefer-catch\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE_SUSPICIOUS = {\n \"promise/no-multiple-resolved\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_PROMISE = {\n ...RULES_PROMISE_CORRECTNESS,\n ...RULES_PROMISE_NURSERY,\n ...RULES_PROMISE_RESTRICTION,\n ...RULES_PROMISE_STYLE,\n ...RULES_PROMISE_SUSPICIOUS,\n} as const satisfies LintRules;\n\nexport {\n RULES_PROMISE,\n RULES_PROMISE_CORRECTNESS,\n RULES_PROMISE_NURSERY,\n RULES_PROMISE_RESTRICTION,\n RULES_PROMISE_STYLE,\n RULES_PROMISE_SUSPICIOUS,\n};\n"],"mappings":"AAEA,MAAM,4BAA4B;CAC9B,0BAA0B;CAC1B,wBAAwB;CAC3B;AAED,MAAM,wBAAwB,EAC1B,gCAAgC,SACnC;AAED,MAAM,4BAA4B;CAC9B,2BAA2B,CACvB,SACA;EACI,cAAc;EACd,WAAW;EACd,CACJ;CACD,qBAAqB;CACxB;AAED,MAAM,sBAAsB,EACxB,wBAAwB,SAC3B;AAED,MAAM,2BAA2B,EAC7B,gCAAgC,SACnC;AAED,MAAM,gBAAgB;CAClB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACN"}
@@ -0,0 +1,288 @@
1
+ declare const RULES_TYPESCRIPT_NURSERY: {
2
+ readonly "typescript/consistent-return": ["error", {
3
+ readonly treatUndefinedAsUnspecified: false;
4
+ }];
5
+ readonly "typescript/consistent-type-exports": ["error", {
6
+ readonly fixMixedExportsWithInlineTypeSpecifier: false;
7
+ }];
8
+ readonly "typescript/dot-notation": ["error", {
9
+ readonly allowIndexSignaturePropertyAccess: false;
10
+ readonly allowKeywords: true;
11
+ readonly allowPrivateClassPropertyAccess: false;
12
+ readonly allowProtectedClassPropertyAccess: false;
13
+ }];
14
+ readonly "typescript/no-unnecessary-type-conversion": "error";
15
+ readonly "typescript/no-unnecessary-type-parameters": "error";
16
+ readonly "typescript/no-useless-default-assignment": "error";
17
+ readonly "typescript/prefer-optional-chain": ["error", {
18
+ readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
19
+ readonly checkAny: true;
20
+ readonly checkBigInt: true;
21
+ readonly checkBoolean: true;
22
+ readonly checkNumber: true;
23
+ readonly checkString: true;
24
+ readonly checkUnknown: true;
25
+ readonly requireNullish: false;
26
+ }];
27
+ readonly "typescript/prefer-readonly": ["error", {
28
+ readonly onlyInlineLambdas: false;
29
+ }];
30
+ readonly "typescript/prefer-regexp-exec": "error";
31
+ readonly "typescript/strict-void-return": ["error", {
32
+ readonly allowReturnAny: false;
33
+ }];
34
+ };
35
+ declare const RULES_TYPESCRIPT_PEDANTIC: {
36
+ readonly "typescript/no-misused-promises": ["error", {
37
+ readonly checksConditionals: true;
38
+ readonly checksSpreads: true;
39
+ readonly checksVoidReturn: {
40
+ readonly arguments: true;
41
+ readonly attributes: true;
42
+ readonly inheritedMethods: true;
43
+ readonly properties: true;
44
+ readonly returns: true;
45
+ readonly variables: true;
46
+ };
47
+ }];
48
+ readonly "typescript/no-mixed-enums": "error";
49
+ readonly "typescript/no-unsafe-argument": "error";
50
+ readonly "typescript/no-unsafe-assignment": "error";
51
+ readonly "typescript/no-unsafe-call": "error";
52
+ readonly "typescript/no-unsafe-function-type": "error";
53
+ readonly "typescript/no-unsafe-member-access": "error";
54
+ readonly "typescript/no-unsafe-return": "error";
55
+ readonly "typescript/only-throw-error": "error";
56
+ readonly "typescript/prefer-includes": "error";
57
+ readonly "typescript/prefer-nullish-coalescing": ["error", {
58
+ readonly ignoreBooleanCoercion: false;
59
+ readonly ignoreConditionalTests: false;
60
+ readonly ignoreIfStatements: false;
61
+ readonly ignoreMixedLogicalExpressions: false;
62
+ readonly ignorePrimitives: {
63
+ readonly bigint: false;
64
+ readonly boolean: false;
65
+ readonly number: false;
66
+ readonly string: false;
67
+ };
68
+ readonly ignoreTernaryTests: false;
69
+ }];
70
+ readonly "typescript/prefer-promise-reject-errors": ["error", {
71
+ readonly allowEmptyReject: false;
72
+ readonly allowThrowingAny: false;
73
+ readonly allowThrowingUnknown: false;
74
+ }];
75
+ readonly "typescript/prefer-ts-expect-error": "error";
76
+ readonly "typescript/restrict-plus-operands": ["error", {
77
+ readonly allowAny: true;
78
+ readonly allowBoolean: true;
79
+ readonly allowNullish: true;
80
+ readonly allowNumberAndString: true;
81
+ readonly allowRegExp: true;
82
+ readonly skipCompoundAssignments: false;
83
+ }];
84
+ readonly "typescript/return-await": ["error", "always"];
85
+ readonly "typescript/strict-boolean-expressions": ["error", {
86
+ readonly allowAny: true;
87
+ readonly allowNullableBoolean: false;
88
+ readonly allowNullableEnum: false;
89
+ readonly allowNullableNumber: false;
90
+ readonly allowNullableObject: true;
91
+ readonly allowNullableString: false;
92
+ readonly allowNumber: true;
93
+ readonly allowString: true;
94
+ }];
95
+ readonly "typescript/switch-exhaustiveness-check": ["error", {
96
+ readonly allowDefaultCaseForExhaustiveSwitch: true;
97
+ readonly considerDefaultExhaustiveForUnions: true;
98
+ readonly requireDefaultForNonUnion: false;
99
+ }];
100
+ };
101
+ declare const RULES_TYPESCRIPT_RESTRICTION: {
102
+ readonly "typescript/no-empty-object-type": ["error", {
103
+ readonly allowInterfaces: "with-single-extends";
104
+ readonly allowObjectTypes: "never";
105
+ }];
106
+ readonly "typescript/no-import-type-side-effects": "error";
107
+ readonly "typescript/no-namespace": ["error", {
108
+ readonly allowDeclarations: false;
109
+ readonly allowDefinitionFiles: true;
110
+ }];
111
+ readonly "typescript/no-non-null-asserted-nullish-coalescing": "error";
112
+ readonly "typescript/no-non-null-assertion": "error";
113
+ readonly "typescript/promise-function-async": ["error", {
114
+ readonly allowAny: true;
115
+ readonly checkArrowFunctions: true;
116
+ readonly checkFunctionDeclarations: true;
117
+ readonly checkFunctionExpressions: true;
118
+ readonly checkMethodDeclarations: true;
119
+ }];
120
+ readonly "typescript/use-unknown-in-catch-callback-variable": "error";
121
+ };
122
+ declare const RULES_TYPESCRIPT_STYLE: {
123
+ readonly "typescript/consistent-type-assertions": ["error", {
124
+ readonly assertionStyle: "as";
125
+ }];
126
+ readonly "typescript/consistent-type-definitions": ["error", "type"];
127
+ readonly "typescript/consistent-type-imports": ["error", {
128
+ readonly disallowTypeImports: true;
129
+ readonly fixStyle: "separate-type-imports";
130
+ readonly prefer: "type-imports";
131
+ }];
132
+ readonly "typescript/no-empty-interface": ["error", {
133
+ readonly allowSingleExtends: true;
134
+ }];
135
+ readonly "typescript/parameter-properties": ["error", {
136
+ readonly prefer: "class-property";
137
+ }];
138
+ readonly "typescript/prefer-function-type": "error";
139
+ readonly "typescript/prefer-reduce-type-parametertypescript/prefer-reduce-type-parameter": "error";
140
+ readonly "typescript/prefer-return-this-type": "error";
141
+ };
142
+ declare const RULES_TYPESCRIPT_SUSPICIOUS: {
143
+ readonly "typescript/no-confusing-non-null-assertion": "error";
144
+ readonly "typescript/no-unnecessary-template-expression": "error";
145
+ readonly "typescript/no-unnecessary-type-constraint": "error";
146
+ readonly "typescript/no-unsafe-enum-comparison": "error";
147
+ };
148
+ declare const RULES_TYPESCRIPT: {
149
+ readonly "typescript/no-confusing-non-null-assertion": "error";
150
+ readonly "typescript/no-unnecessary-template-expression": "error";
151
+ readonly "typescript/no-unnecessary-type-constraint": "error";
152
+ readonly "typescript/no-unsafe-enum-comparison": "error";
153
+ readonly "typescript/consistent-type-assertions": ["error", {
154
+ readonly assertionStyle: "as";
155
+ }];
156
+ readonly "typescript/consistent-type-definitions": ["error", "type"];
157
+ readonly "typescript/consistent-type-imports": ["error", {
158
+ readonly disallowTypeImports: true;
159
+ readonly fixStyle: "separate-type-imports";
160
+ readonly prefer: "type-imports";
161
+ }];
162
+ readonly "typescript/no-empty-interface": ["error", {
163
+ readonly allowSingleExtends: true;
164
+ }];
165
+ readonly "typescript/parameter-properties": ["error", {
166
+ readonly prefer: "class-property";
167
+ }];
168
+ readonly "typescript/prefer-function-type": "error";
169
+ readonly "typescript/prefer-reduce-type-parametertypescript/prefer-reduce-type-parameter": "error";
170
+ readonly "typescript/prefer-return-this-type": "error";
171
+ readonly "typescript/no-empty-object-type": ["error", {
172
+ readonly allowInterfaces: "with-single-extends";
173
+ readonly allowObjectTypes: "never";
174
+ }];
175
+ readonly "typescript/no-import-type-side-effects": "error";
176
+ readonly "typescript/no-namespace": ["error", {
177
+ readonly allowDeclarations: false;
178
+ readonly allowDefinitionFiles: true;
179
+ }];
180
+ readonly "typescript/no-non-null-asserted-nullish-coalescing": "error";
181
+ readonly "typescript/no-non-null-assertion": "error";
182
+ readonly "typescript/promise-function-async": ["error", {
183
+ readonly allowAny: true;
184
+ readonly checkArrowFunctions: true;
185
+ readonly checkFunctionDeclarations: true;
186
+ readonly checkFunctionExpressions: true;
187
+ readonly checkMethodDeclarations: true;
188
+ }];
189
+ readonly "typescript/use-unknown-in-catch-callback-variable": "error";
190
+ readonly "typescript/no-misused-promises": ["error", {
191
+ readonly checksConditionals: true;
192
+ readonly checksSpreads: true;
193
+ readonly checksVoidReturn: {
194
+ readonly arguments: true;
195
+ readonly attributes: true;
196
+ readonly inheritedMethods: true;
197
+ readonly properties: true;
198
+ readonly returns: true;
199
+ readonly variables: true;
200
+ };
201
+ }];
202
+ readonly "typescript/no-mixed-enums": "error";
203
+ readonly "typescript/no-unsafe-argument": "error";
204
+ readonly "typescript/no-unsafe-assignment": "error";
205
+ readonly "typescript/no-unsafe-call": "error";
206
+ readonly "typescript/no-unsafe-function-type": "error";
207
+ readonly "typescript/no-unsafe-member-access": "error";
208
+ readonly "typescript/no-unsafe-return": "error";
209
+ readonly "typescript/only-throw-error": "error";
210
+ readonly "typescript/prefer-includes": "error";
211
+ readonly "typescript/prefer-nullish-coalescing": ["error", {
212
+ readonly ignoreBooleanCoercion: false;
213
+ readonly ignoreConditionalTests: false;
214
+ readonly ignoreIfStatements: false;
215
+ readonly ignoreMixedLogicalExpressions: false;
216
+ readonly ignorePrimitives: {
217
+ readonly bigint: false;
218
+ readonly boolean: false;
219
+ readonly number: false;
220
+ readonly string: false;
221
+ };
222
+ readonly ignoreTernaryTests: false;
223
+ }];
224
+ readonly "typescript/prefer-promise-reject-errors": ["error", {
225
+ readonly allowEmptyReject: false;
226
+ readonly allowThrowingAny: false;
227
+ readonly allowThrowingUnknown: false;
228
+ }];
229
+ readonly "typescript/prefer-ts-expect-error": "error";
230
+ readonly "typescript/restrict-plus-operands": ["error", {
231
+ readonly allowAny: true;
232
+ readonly allowBoolean: true;
233
+ readonly allowNullish: true;
234
+ readonly allowNumberAndString: true;
235
+ readonly allowRegExp: true;
236
+ readonly skipCompoundAssignments: false;
237
+ }];
238
+ readonly "typescript/return-await": ["error", "always"];
239
+ readonly "typescript/strict-boolean-expressions": ["error", {
240
+ readonly allowAny: true;
241
+ readonly allowNullableBoolean: false;
242
+ readonly allowNullableEnum: false;
243
+ readonly allowNullableNumber: false;
244
+ readonly allowNullableObject: true;
245
+ readonly allowNullableString: false;
246
+ readonly allowNumber: true;
247
+ readonly allowString: true;
248
+ }];
249
+ readonly "typescript/switch-exhaustiveness-check": ["error", {
250
+ readonly allowDefaultCaseForExhaustiveSwitch: true;
251
+ readonly considerDefaultExhaustiveForUnions: true;
252
+ readonly requireDefaultForNonUnion: false;
253
+ }];
254
+ readonly "typescript/consistent-return": ["error", {
255
+ readonly treatUndefinedAsUnspecified: false;
256
+ }];
257
+ readonly "typescript/consistent-type-exports": ["error", {
258
+ readonly fixMixedExportsWithInlineTypeSpecifier: false;
259
+ }];
260
+ readonly "typescript/dot-notation": ["error", {
261
+ readonly allowIndexSignaturePropertyAccess: false;
262
+ readonly allowKeywords: true;
263
+ readonly allowPrivateClassPropertyAccess: false;
264
+ readonly allowProtectedClassPropertyAccess: false;
265
+ }];
266
+ readonly "typescript/no-unnecessary-type-conversion": "error";
267
+ readonly "typescript/no-unnecessary-type-parameters": "error";
268
+ readonly "typescript/no-useless-default-assignment": "error";
269
+ readonly "typescript/prefer-optional-chain": ["error", {
270
+ readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
271
+ readonly checkAny: true;
272
+ readonly checkBigInt: true;
273
+ readonly checkBoolean: true;
274
+ readonly checkNumber: true;
275
+ readonly checkString: true;
276
+ readonly checkUnknown: true;
277
+ readonly requireNullish: false;
278
+ }];
279
+ readonly "typescript/prefer-readonly": ["error", {
280
+ readonly onlyInlineLambdas: false;
281
+ }];
282
+ readonly "typescript/prefer-regexp-exec": "error";
283
+ readonly "typescript/strict-void-return": ["error", {
284
+ readonly allowReturnAny: false;
285
+ }];
286
+ };
287
+ export { RULES_TYPESCRIPT, RULES_TYPESCRIPT_NURSERY, RULES_TYPESCRIPT_PEDANTIC, RULES_TYPESCRIPT_RESTRICTION, RULES_TYPESCRIPT_STYLE, RULES_TYPESCRIPT_SUSPICIOUS };
288
+ //# sourceMappingURL=typescript.d.ts.map
@@ -0,0 +1,149 @@
1
+
2
+ const RULES_TYPESCRIPT_NURSERY = {
3
+ "typescript/consistent-return": ["error", { treatUndefinedAsUnspecified: false }],
4
+ "typescript/consistent-type-exports": ["error", { fixMixedExportsWithInlineTypeSpecifier: false }],
5
+ "typescript/dot-notation": ["error", {
6
+ allowIndexSignaturePropertyAccess: false,
7
+ allowKeywords: true,
8
+ allowPrivateClassPropertyAccess: false,
9
+ allowProtectedClassPropertyAccess: false
10
+ }],
11
+ "typescript/no-unnecessary-type-conversion": "error",
12
+ "typescript/no-unnecessary-type-parameters": "error",
13
+ "typescript/no-useless-default-assignment": "error",
14
+ "typescript/prefer-optional-chain": ["error", {
15
+ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
16
+ checkAny: true,
17
+ checkBigInt: true,
18
+ checkBoolean: true,
19
+ checkNumber: true,
20
+ checkString: true,
21
+ checkUnknown: true,
22
+ requireNullish: false
23
+ }],
24
+ "typescript/prefer-readonly": ["error", { onlyInlineLambdas: false }],
25
+ "typescript/prefer-regexp-exec": "error",
26
+ "typescript/strict-void-return": ["error", { allowReturnAny: false }]
27
+ };
28
+ const RULES_TYPESCRIPT_PEDANTIC = {
29
+ "typescript/no-misused-promises": ["error", {
30
+ checksConditionals: true,
31
+ checksSpreads: true,
32
+ checksVoidReturn: {
33
+ arguments: true,
34
+ attributes: true,
35
+ inheritedMethods: true,
36
+ properties: true,
37
+ returns: true,
38
+ variables: true
39
+ }
40
+ }],
41
+ "typescript/no-mixed-enums": "error",
42
+ "typescript/no-unsafe-argument": "error",
43
+ "typescript/no-unsafe-assignment": "error",
44
+ "typescript/no-unsafe-call": "error",
45
+ "typescript/no-unsafe-function-type": "error",
46
+ "typescript/no-unsafe-member-access": "error",
47
+ "typescript/no-unsafe-return": "error",
48
+ "typescript/only-throw-error": "error",
49
+ "typescript/prefer-includes": "error",
50
+ "typescript/prefer-nullish-coalescing": ["error", {
51
+ ignoreBooleanCoercion: false,
52
+ ignoreConditionalTests: false,
53
+ ignoreIfStatements: false,
54
+ ignoreMixedLogicalExpressions: false,
55
+ ignorePrimitives: {
56
+ bigint: false,
57
+ boolean: false,
58
+ number: false,
59
+ string: false
60
+ },
61
+ ignoreTernaryTests: false
62
+ }],
63
+ "typescript/prefer-promise-reject-errors": ["error", {
64
+ allowEmptyReject: false,
65
+ allowThrowingAny: false,
66
+ allowThrowingUnknown: false
67
+ }],
68
+ "typescript/prefer-ts-expect-error": "error",
69
+ "typescript/restrict-plus-operands": ["error", {
70
+ allowAny: true,
71
+ allowBoolean: true,
72
+ allowNullish: true,
73
+ allowNumberAndString: true,
74
+ allowRegExp: true,
75
+ skipCompoundAssignments: false
76
+ }],
77
+ "typescript/return-await": ["error", "always"],
78
+ "typescript/strict-boolean-expressions": ["error", {
79
+ allowAny: true,
80
+ allowNullableBoolean: false,
81
+ allowNullableEnum: false,
82
+ allowNullableNumber: false,
83
+ allowNullableObject: true,
84
+ allowNullableString: false,
85
+ allowNumber: true,
86
+ allowString: true
87
+ }],
88
+ "typescript/switch-exhaustiveness-check": ["error", {
89
+ allowDefaultCaseForExhaustiveSwitch: true,
90
+ considerDefaultExhaustiveForUnions: true,
91
+ requireDefaultForNonUnion: false
92
+ }]
93
+ };
94
+ const RULES_TYPESCRIPT_RESTRICTION = {
95
+ "typescript/no-empty-object-type": ["error", {
96
+ allowInterfaces: "with-single-extends",
97
+ allowObjectTypes: "never"
98
+ }],
99
+ "typescript/no-import-type-side-effects": "error",
100
+ "typescript/no-namespace": ["error", {
101
+ allowDeclarations: false,
102
+ allowDefinitionFiles: true
103
+ }],
104
+ "typescript/no-non-null-asserted-nullish-coalescing": "error",
105
+ "typescript/no-non-null-assertion": "error",
106
+ "typescript/promise-function-async": ["error", {
107
+ allowAny: true,
108
+ checkArrowFunctions: true,
109
+ checkFunctionDeclarations: true,
110
+ checkFunctionExpressions: true,
111
+ checkMethodDeclarations: true
112
+ }],
113
+ "typescript/use-unknown-in-catch-callback-variable": "error"
114
+ };
115
+ const RULES_TYPESCRIPT_STYLE = {
116
+ "typescript/consistent-type-assertions": ["error", { assertionStyle: "as" }],
117
+ "typescript/consistent-type-definitions": ["error", "type"],
118
+ "typescript/consistent-type-imports": ["error", {
119
+ disallowTypeImports: true,
120
+ fixStyle: "separate-type-imports",
121
+ prefer: "type-imports"
122
+ }],
123
+ "typescript/no-empty-interface": ["error", { allowSingleExtends: true }],
124
+ "typescript/parameter-properties": ["error", { prefer: "class-property" }],
125
+ "typescript/prefer-function-type": "error",
126
+ "typescript/prefer-reduce-type-parametertypescript/prefer-reduce-type-parameter": "error",
127
+ "typescript/prefer-return-this-type": "error"
128
+ };
129
+ const RULES_TYPESCRIPT_SUSPICIOUS = {
130
+ "typescript/no-confusing-non-null-assertion": "error",
131
+ "typescript/no-unnecessary-template-expression": "error",
132
+ "typescript/no-unnecessary-type-constraint": "error",
133
+ "typescript/no-unsafe-enum-comparison": "error"
134
+ };
135
+ const RULES_TYPESCRIPT = {
136
+ ...RULES_TYPESCRIPT_NURSERY,
137
+ ...RULES_TYPESCRIPT_PEDANTIC,
138
+ ...RULES_TYPESCRIPT_RESTRICTION,
139
+ ...RULES_TYPESCRIPT_STYLE,
140
+ ...RULES_TYPESCRIPT_SUSPICIOUS
141
+ };
142
+
143
+ exports.RULES_TYPESCRIPT = RULES_TYPESCRIPT;
144
+ exports.RULES_TYPESCRIPT_NURSERY = RULES_TYPESCRIPT_NURSERY;
145
+ exports.RULES_TYPESCRIPT_PEDANTIC = RULES_TYPESCRIPT_PEDANTIC;
146
+ exports.RULES_TYPESCRIPT_RESTRICTION = RULES_TYPESCRIPT_RESTRICTION;
147
+ exports.RULES_TYPESCRIPT_STYLE = RULES_TYPESCRIPT_STYLE;
148
+ exports.RULES_TYPESCRIPT_SUSPICIOUS = RULES_TYPESCRIPT_SUSPICIOUS;
149
+ //# sourceMappingURL=typescript.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript.js","names":[],"sources":["../../../../src/presets/common/rules/typescript.ts"],"sourcesContent":["import type { LintRules } from \"#/@types/oxlint\";\n\nconst RULES_TYPESCRIPT_NURSERY = {\n \"typescript/consistent-return\": [\n \"error\",\n {\n treatUndefinedAsUnspecified: false,\n },\n ],\n \"typescript/consistent-type-exports\": [\n \"error\",\n {\n fixMixedExportsWithInlineTypeSpecifier: false,\n },\n ],\n \"typescript/dot-notation\": [\n \"error\",\n {\n allowIndexSignaturePropertyAccess: false,\n allowKeywords: true,\n allowPrivateClassPropertyAccess: false,\n allowProtectedClassPropertyAccess: false,\n },\n ],\n \"typescript/no-unnecessary-type-conversion\": \"error\",\n \"typescript/no-unnecessary-type-parameters\": \"error\",\n \"typescript/no-useless-default-assignment\": \"error\",\n \"typescript/prefer-optional-chain\": [\n \"error\",\n {\n allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,\n checkAny: true,\n checkBigInt: true,\n checkBoolean: true,\n checkNumber: true,\n checkString: true,\n checkUnknown: true,\n requireNullish: false,\n },\n ],\n \"typescript/prefer-readonly\": [\n \"error\",\n {\n onlyInlineLambdas: false,\n },\n ],\n \"typescript/prefer-regexp-exec\": \"error\",\n \"typescript/strict-void-return\": [\n \"error\",\n {\n allowReturnAny: false,\n },\n ],\n} as const satisfies LintRules;\n\nconst RULES_TYPESCRIPT_PEDANTIC = {\n \"typescript/no-misused-promises\": [\n \"error\",\n {\n checksConditionals: true,\n checksSpreads: true,\n checksVoidReturn: {\n arguments: true,\n attributes: true,\n inheritedMethods: true,\n properties: true,\n returns: true,\n variables: true,\n },\n },\n ],\n \"typescript/no-mixed-enums\": \"error\",\n \"typescript/no-unsafe-argument\": \"error\",\n \"typescript/no-unsafe-assignment\": \"error\",\n \"typescript/no-unsafe-call\": \"error\",\n \"typescript/no-unsafe-function-type\": \"error\",\n \"typescript/no-unsafe-member-access\": \"error\",\n \"typescript/no-unsafe-return\": \"error\",\n \"typescript/only-throw-error\": \"error\",\n \"typescript/prefer-includes\": \"error\",\n \"typescript/prefer-nullish-coalescing\": [\n \"error\",\n {\n ignoreBooleanCoercion: false,\n ignoreConditionalTests: false,\n ignoreIfStatements: false,\n ignoreMixedLogicalExpressions: false,\n ignorePrimitives: {\n bigint: false,\n boolean: false,\n number: false,\n string: false,\n },\n ignoreTernaryTests: false,\n },\n ],\n \"typescript/prefer-promise-reject-errors\": [\n \"error\",\n {\n allowEmptyReject: false,\n allowThrowingAny: false,\n allowThrowingUnknown: false,\n },\n ],\n \"typescript/prefer-ts-expect-error\": \"error\",\n \"typescript/restrict-plus-operands\": [\n \"error\",\n {\n allowAny: true,\n allowBoolean: true,\n allowNullish: true,\n allowNumberAndString: true,\n allowRegExp: true,\n skipCompoundAssignments: false,\n },\n ],\n \"typescript/return-await\": [\n \"error\",\n \"always\",\n ],\n \"typescript/strict-boolean-expressions\": [\n \"error\",\n {\n allowAny: true,\n allowNullableBoolean: false,\n allowNullableEnum: false,\n allowNullableNumber: false,\n allowNullableObject: true,\n allowNullableString: false,\n allowNumber: true,\n allowString: true,\n },\n ],\n \"typescript/switch-exhaustiveness-check\": [\n \"error\",\n {\n allowDefaultCaseForExhaustiveSwitch: true,\n considerDefaultExhaustiveForUnions: true,\n requireDefaultForNonUnion: false,\n },\n ],\n} as const satisfies LintRules;\n\nconst RULES_TYPESCRIPT_RESTRICTION = {\n \"typescript/no-empty-object-type\": [\n \"error\",\n {\n allowInterfaces: \"with-single-extends\",\n allowObjectTypes: \"never\",\n },\n ],\n \"typescript/no-import-type-side-effects\": \"error\",\n \"typescript/no-namespace\": [\n \"error\",\n {\n allowDeclarations: false,\n allowDefinitionFiles: true,\n },\n ],\n \"typescript/no-non-null-asserted-nullish-coalescing\": \"error\",\n \"typescript/no-non-null-assertion\": \"error\",\n \"typescript/promise-function-async\": [\n \"error\",\n {\n allowAny: true,\n checkArrowFunctions: true,\n checkFunctionDeclarations: true,\n checkFunctionExpressions: true,\n checkMethodDeclarations: true,\n },\n ],\n \"typescript/use-unknown-in-catch-callback-variable\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_TYPESCRIPT_STYLE = {\n \"typescript/consistent-type-assertions\": [\n \"error\",\n {\n assertionStyle: \"as\",\n },\n ],\n \"typescript/consistent-type-definitions\": [\n \"error\",\n \"type\",\n ],\n \"typescript/consistent-type-imports\": [\n \"error\",\n {\n disallowTypeImports: true,\n fixStyle: \"separate-type-imports\",\n prefer: \"type-imports\",\n },\n ],\n \"typescript/no-empty-interface\": [\n \"error\",\n {\n allowSingleExtends: true,\n },\n ],\n \"typescript/parameter-properties\": [\n \"error\",\n {\n prefer: \"class-property\",\n },\n ],\n \"typescript/prefer-function-type\": \"error\",\n \"typescript/prefer-reduce-type-parametertypescript/prefer-reduce-type-parameter\":\n \"error\",\n \"typescript/prefer-return-this-type\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_TYPESCRIPT_SUSPICIOUS = {\n \"typescript/no-confusing-non-null-assertion\": \"error\",\n \"typescript/no-unnecessary-template-expression\": \"error\",\n \"typescript/no-unnecessary-type-constraint\": \"error\",\n \"typescript/no-unsafe-enum-comparison\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_TYPESCRIPT = {\n ...RULES_TYPESCRIPT_NURSERY,\n ...RULES_TYPESCRIPT_PEDANTIC,\n ...RULES_TYPESCRIPT_RESTRICTION,\n ...RULES_TYPESCRIPT_STYLE,\n ...RULES_TYPESCRIPT_SUSPICIOUS,\n} as const satisfies LintRules;\n\nexport {\n RULES_TYPESCRIPT,\n RULES_TYPESCRIPT_NURSERY,\n RULES_TYPESCRIPT_PEDANTIC,\n RULES_TYPESCRIPT_RESTRICTION,\n RULES_TYPESCRIPT_STYLE,\n RULES_TYPESCRIPT_SUSPICIOUS,\n};\n"],"mappings":"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"}