@r_masseater/oxlint-typed-rules 0.6.0 → 0.6.2
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/_typescript-default-CzTenk4q.mjs +141 -0
- package/dist/_typescript-default-CzTenk4q.mjs.map +1 -0
- package/dist/drizzle.mjs +1 -1
- package/dist/{eslint-utils-BF_HFO08.mjs → eslint-utils-0ZLZ6vu2.mjs} +9 -9
- package/dist/{eslint-utils-BF_HFO08.mjs.map → eslint-utils-0ZLZ6vu2.mjs.map} +1 -1
- package/dist/react.mjs +64 -65
- package/dist/react.mjs.map +1 -1
- package/dist/remotion.mjs +1 -1
- package/dist/tanstack-query.mjs +3 -3
- package/dist/tanstack-query.mjs.map +1 -1
- package/dist/tanstack-router.mjs +10 -10
- package/dist/tanstack-router.mjs.map +1 -1
- package/dist/tanstack-start.mjs +33 -34
- package/dist/tanstack-start.mjs.map +1 -1
- package/dist/{typescript-eslint-utils-C7ew0-XM.mjs → typescript-eslint-utils-BjYjauy-.mjs} +2 -2
- package/dist/{typescript-eslint-utils-C7ew0-XM.mjs.map → typescript-eslint-utils-BjYjauy-.mjs.map} +1 -1
- package/package.json +6 -5
- package/dist/version-BMMFrB-m.mjs +0 -83
- package/dist/version-BMMFrB-m.mjs.map +0 -1
package/dist/react.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toESM, t as __commonJSMin } from "./rolldown-runtime-DQp2zzRu.mjs";
|
|
2
|
-
import { n as require_dist$2, t as require_eslint_utils$2 } from "./eslint-utils-
|
|
3
|
-
import { t as
|
|
2
|
+
import { n as require_dist$2, t as require_eslint_utils$2 } from "./eslint-utils-0ZLZ6vu2.mjs";
|
|
3
|
+
import { t as _typescript_default_default } from "./_typescript-default-CzTenk4q.mjs";
|
|
4
4
|
import { a as withTypeInformation, i as withOptionalTypeInformation, t as isTypedRule } from "./typed-rule-FCRt1nKZ.mjs";
|
|
5
5
|
import { t as rulesOf } from "./config-rules-Buk48gLL.mjs";
|
|
6
6
|
import module$1 from "node:module";
|
|
@@ -5238,7 +5238,7 @@ function refine(fn, _params = {}) {
|
|
|
5238
5238
|
function superRefine(fn, params) {
|
|
5239
5239
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
5240
5240
|
}
|
|
5241
|
-
// ../../node_modules/.pnpm/@eslint-react+shared@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
5241
|
+
// ../../node_modules/.pnpm/@eslint-react+shared@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-c_84a66a459320889d487743c498b99e06/node_modules/@eslint-react/shared/dist/index.js
|
|
5242
5242
|
const pipeArguments$8 = (self, args) => {
|
|
5243
5243
|
switch (args.length) {
|
|
5244
5244
|
case 0: return self;
|
|
@@ -5409,7 +5409,7 @@ const getNormalizedSettings = memoize$1((settings) => normalizeSettings(decodeSe
|
|
|
5409
5409
|
function getSettingsFromContext(context) {
|
|
5410
5410
|
return getNormalizedSettings(context.settings["react-x"]);
|
|
5411
5411
|
}
|
|
5412
|
-
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
5412
|
+
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_660dcfba73c14ea29978e38dde5d1645/node_modules/@eslint-react/ast/dist/rolldown-runtime-D3KUYPsf.js
|
|
5413
5413
|
var import_eslint_utils = /* @__PURE__ */ __toESM(require_eslint_utils$2(), 1);
|
|
5414
5414
|
var __defProp$7 = Object.defineProperty;
|
|
5415
5415
|
var __exportAll$7 = (all, flags) => {
|
|
@@ -7379,7 +7379,7 @@ var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7379
7379
|
exports.isParenthesized = isParenthesized;
|
|
7380
7380
|
exports.isSemicolonToken = isSemicolonToken;
|
|
7381
7381
|
}));
|
|
7382
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7382
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
|
|
7383
7383
|
var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports, module, this$12) => {
|
|
7384
7384
|
var __createBinding = this$12 && this$12.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7385
7385
|
if (k2 === void 0) k2 = k;
|
|
@@ -7490,7 +7490,7 @@ var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports, module, this
|
|
|
7490
7490
|
exports.hasSideEffect = eslintUtils.hasSideEffect;
|
|
7491
7491
|
exports.isParenthesized = eslintUtils.isParenthesized;
|
|
7492
7492
|
}));
|
|
7493
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7493
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
|
|
7494
7494
|
var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports, module, this$11) => {
|
|
7495
7495
|
var __createBinding = this$11 && this$11.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7496
7496
|
if (k2 === void 0) k2 = k;
|
|
@@ -7543,7 +7543,7 @@ var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports, module, th
|
|
|
7543
7543
|
*/
|
|
7544
7544
|
exports.PatternMatcher = __importStar(require_eslint_utils$1()).PatternMatcher;
|
|
7545
7545
|
}));
|
|
7546
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7546
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
|
|
7547
7547
|
var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$10) => {
|
|
7548
7548
|
var __createBinding = this$10 && this$10.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7549
7549
|
if (k2 === void 0) k2 = k;
|
|
@@ -7612,7 +7612,7 @@ var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this
|
|
|
7612
7612
|
exports.isSemicolonToken = eslintUtils.isSemicolonToken;
|
|
7613
7613
|
exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken;
|
|
7614
7614
|
}));
|
|
7615
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7615
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
|
|
7616
7616
|
var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports, module, this$9) => {
|
|
7617
7617
|
var __createBinding = this$9 && this$9.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7618
7618
|
if (k2 === void 0) k2 = k;
|
|
@@ -7669,7 +7669,7 @@ var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports, module,
|
|
|
7669
7669
|
*/
|
|
7670
7670
|
exports.ReferenceTracker = eslintUtils.ReferenceTracker;
|
|
7671
7671
|
}));
|
|
7672
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7672
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
|
|
7673
7673
|
var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports, module, this$8) => {
|
|
7674
7674
|
var __createBinding = this$8 && this$8.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7675
7675
|
if (k2 === void 0) k2 = k;
|
|
@@ -7730,7 +7730,7 @@ var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports, module, thi
|
|
|
7730
7730
|
*/
|
|
7731
7731
|
exports.getInnermostScope = eslintUtils.getInnermostScope;
|
|
7732
7732
|
}));
|
|
7733
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7733
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
|
|
7734
7734
|
var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this$7) => {
|
|
7735
7735
|
var __createBinding = this$7 && this$7.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7736
7736
|
if (k2 === void 0) k2 = k;
|
|
@@ -7756,7 +7756,7 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this
|
|
|
7756
7756
|
__exportStar(require_ReferenceTracker(), exports);
|
|
7757
7757
|
__exportStar(require_scopeAnalysis(), exports);
|
|
7758
7758
|
}));
|
|
7759
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7759
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
|
|
7760
7760
|
var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7761
7761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7762
7762
|
exports.isNotTokenOfTypeWithConditions = exports.isTokenOfTypeWithConditions = exports.isNodeOfTypeWithConditions = exports.isNodeOfTypes = exports.isNodeOfType = void 0;
|
|
@@ -7777,7 +7777,7 @@ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7777
7777
|
const isNotTokenOfTypeWithConditions = (tokenType, conditions) => (token) => !(0, exports.isTokenOfTypeWithConditions)(tokenType, conditions)(token);
|
|
7778
7778
|
exports.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
|
|
7779
7779
|
}));
|
|
7780
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7780
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
|
|
7781
7781
|
var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7782
7782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7783
7783
|
exports.LINEBREAK_MATCHER = void 0;
|
|
@@ -7794,7 +7794,7 @@ var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7794
7794
|
return left.loc.end.line === right.loc.start.line;
|
|
7795
7795
|
}
|
|
7796
7796
|
}));
|
|
7797
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7797
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ts-estree.js
|
|
7798
7798
|
var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7799
7799
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7800
7800
|
exports.TSESTree = exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
|
|
@@ -7818,7 +7818,7 @@ var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7818
7818
|
}
|
|
7819
7819
|
});
|
|
7820
7820
|
}));
|
|
7821
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7821
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
|
|
7822
7822
|
var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7823
7823
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7824
7824
|
exports.isLoop = exports.isImportKeyword = exports.isTypeKeyword = exports.isAwaitKeyword = exports.isAwaitExpression = exports.isIdentifier = exports.isConstructor = exports.isClassOrTypeElement = exports.isTSConstructorType = exports.isTSFunctionType = exports.isFunctionOrFunctionType = exports.isFunctionType = exports.isFunction = exports.isVariableDeclarator = exports.isTypeAssertion = exports.isLogicalOrOperator = exports.isOptionalCallExpression = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isNotOptionalChainPunctuator = exports.isOptionalChainPunctuator = void 0;
|
|
@@ -7913,7 +7913,7 @@ var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7913
7913
|
ts_estree_1.AST_NODE_TYPES.WhileStatement
|
|
7914
7914
|
]);
|
|
7915
7915
|
}));
|
|
7916
|
-
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
7916
|
+
// ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_3bdda0c88934188acf72de6565938759/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
|
|
7917
7917
|
var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this$6) => {
|
|
7918
7918
|
var __createBinding = this$6 && this$6.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
7919
7919
|
if (k2 === void 0) k2 = k;
|
|
@@ -8446,7 +8446,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8446
8446
|
}
|
|
8447
8447
|
});
|
|
8448
8448
|
}));
|
|
8449
|
-
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
8449
|
+
// ../../node_modules/.pnpm/@eslint-react+ast@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_660dcfba73c14ea29978e38dde5d1645/node_modules/@eslint-react/ast/dist/index.js
|
|
8450
8450
|
var import_dist$1 = require_dist$2();
|
|
8451
8451
|
var import_ast_utils = /* @__PURE__ */ __toESM(require_ast_utils(), 1);
|
|
8452
8452
|
var import_dist$2 = require_dist$1();
|
|
@@ -9084,7 +9084,7 @@ function isUnconditionallyTerminating(node) {
|
|
|
9084
9084
|
default: return false;
|
|
9085
9085
|
}
|
|
9086
9086
|
}
|
|
9087
|
-
// ../../node_modules/.pnpm/@eslint-react+eslint@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
9087
|
+
// ../../node_modules/.pnpm/@eslint-react+eslint@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-c_7d2ce1a4d58ef786ae0e9dcba9607515/node_modules/@eslint-react/eslint/dist/index.js
|
|
9088
9088
|
function getDocsUrl$6(ruleName) {
|
|
9089
9089
|
return `https://eslint-react.xyz/docs/rules/${ruleName}`;
|
|
9090
9090
|
}
|
|
@@ -9113,7 +9113,7 @@ function merge(base, ...rest) {
|
|
|
9113
9113
|
}
|
|
9114
9114
|
return base;
|
|
9115
9115
|
}
|
|
9116
|
-
// ../../node_modules/.pnpm/@eslint-react+jsx@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
9116
|
+
// ../../node_modules/.pnpm/@eslint-react+jsx@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_ad11b06ae0a79d6c089db445bf8c2d19/node_modules/@eslint-react/jsx/dist/index.js
|
|
9117
9117
|
const pipeArguments$6 = (self, args) => {
|
|
9118
9118
|
switch (args.length) {
|
|
9119
9119
|
case 0: return self;
|
|
@@ -16567,7 +16567,7 @@ var require_analyze = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
16567
16567
|
return scopeManager;
|
|
16568
16568
|
}
|
|
16569
16569
|
}));
|
|
16570
|
-
// ../../node_modules/.pnpm/@eslint-react+var@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
16570
|
+
// ../../node_modules/.pnpm/@eslint-react+var@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-colo_abb2fd1b5542751688ce88bd256b4233/node_modules/@eslint-react/var/dist/index.js
|
|
16571
16571
|
var import_dist = (/* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
|
|
16572
16572
|
var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
16573
16573
|
if (k2 === void 0) k2 = k;
|
|
@@ -17167,8 +17167,7 @@ function resolveOriginChain(context, node, options) {
|
|
|
17167
17167
|
}
|
|
17168
17168
|
return check_exports.isIdentifier(current) ? null : current;
|
|
17169
17169
|
}
|
|
17170
|
-
// ../../node_modules/.pnpm/@eslint-react+core@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
17171
|
-
var import_version = /* @__PURE__ */ __toESM(require_version(), 1);
|
|
17170
|
+
// ../../node_modules/.pnpm/@eslint-react+core@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-col_45528ca5636b4b4c8e1207836370cda6/node_modules/@eslint-react/core/dist/index.js
|
|
17172
17171
|
function isAPI(api) {
|
|
17173
17172
|
function impl(context, node) {
|
|
17174
17173
|
if (node == null) return false;
|
|
@@ -17874,7 +17873,7 @@ const mergedCache = /* @__PURE__ */ new WeakMap();
|
|
|
17874
17873
|
function getJSXConfigFromCompilerOptions(context) {
|
|
17875
17874
|
const options = context.sourceCode.parserServices?.program?.getCompilerOptions() ?? {};
|
|
17876
17875
|
return {
|
|
17877
|
-
jsx: options.jsx ??
|
|
17876
|
+
jsx: options.jsx ?? _typescript_default_default.JsxEmit.ReactJSX,
|
|
17878
17877
|
jsxFactory: options.jsxFactory ?? "React.createElement",
|
|
17879
17878
|
jsxFragmentFactory: options.jsxFragmentFactory ?? "React.Fragment",
|
|
17880
17879
|
jsxImportSource: options.jsxImportSource ?? "react"
|
|
@@ -17898,8 +17897,8 @@ function getJSXConfigFromAnnotation(context) {
|
|
|
17898
17897
|
}
|
|
17899
17898
|
if (jsx != null) options.jsxFactory = jsx;
|
|
17900
17899
|
if (jsxFrag != null) options.jsxFragmentFactory = jsxFrag;
|
|
17901
|
-
if (jsxRuntime === "classic") options.jsx =
|
|
17902
|
-
else if (jsxRuntime === "automatic") options.jsx =
|
|
17900
|
+
if (jsxRuntime === "classic") options.jsx = _typescript_default_default.JsxEmit.React;
|
|
17901
|
+
else if (jsxRuntime === "automatic") options.jsx = _typescript_default_default.JsxEmit.ReactJSX;
|
|
17903
17902
|
if (jsxImportSource != null) options.jsxImportSource = jsxImportSource;
|
|
17904
17903
|
annotationCache.set(context.sourceCode, options);
|
|
17905
17904
|
return options;
|
|
@@ -17921,69 +17920,69 @@ function isFlagSetOnObject(obj, flag) {
|
|
|
17921
17920
|
return isFlagSet(obj.flags, flag);
|
|
17922
17921
|
}
|
|
17923
17922
|
const isTypeFlagSet = isFlagSetOnObject;
|
|
17924
|
-
const isBooleanLiteralType = (type) => isTypeFlagSet(type,
|
|
17923
|
+
const isBooleanLiteralType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.BooleanLiteral);
|
|
17925
17924
|
const isFalseLiteralType = (type) => isBooleanLiteralType(type) && type.intrinsicName === "false";
|
|
17926
17925
|
const isTrueLiteralType = (type) => isBooleanLiteralType(type) && type.intrinsicName === "true";
|
|
17927
|
-
const isAnyType = (type) => isTypeFlagSet(type,
|
|
17928
|
-
const isBigIntType = (type) => isTypeFlagSet(type,
|
|
17929
|
-
const isBooleanType = (type) => isTypeFlagSet(type,
|
|
17930
|
-
const isEnumType = (type) => isTypeFlagSet(type,
|
|
17926
|
+
const isAnyType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.TypeParameter | _typescript_default_default.TypeFlags.Any);
|
|
17927
|
+
const isBigIntType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.BigIntLike);
|
|
17928
|
+
const isBooleanType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.BooleanLike);
|
|
17929
|
+
const isEnumType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.EnumLike);
|
|
17931
17930
|
const isFalsyBigIntType = (type) => type.isLiteral() && u$1({ value: { base10Value: "0" } }, type);
|
|
17932
17931
|
const isFalsyNumberType = (type) => type.isNumberLiteral() && type.value === 0;
|
|
17933
17932
|
const isFalsyStringType = (type) => type.isStringLiteral() && type.value === "";
|
|
17934
|
-
const isNeverType = (type) => isTypeFlagSet(type,
|
|
17935
|
-
const isNullishType = (type) => isTypeFlagSet(type,
|
|
17936
|
-
const isNumberType = (type) => isTypeFlagSet(type,
|
|
17937
|
-
const isObjectType = (type) => !isTypeFlagSet(type,
|
|
17938
|
-
const isStringType = (type) => isTypeFlagSet(type,
|
|
17933
|
+
const isNeverType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.Never);
|
|
17934
|
+
const isNullishType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.Null | _typescript_default_default.TypeFlags.Undefined | _typescript_default_default.TypeFlags.VoidLike);
|
|
17935
|
+
const isNumberType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.NumberLike);
|
|
17936
|
+
const isObjectType = (type) => !isTypeFlagSet(type, _typescript_default_default.TypeFlags.Null | _typescript_default_default.TypeFlags.Undefined | _typescript_default_default.TypeFlags.VoidLike | _typescript_default_default.TypeFlags.BooleanLike | _typescript_default_default.TypeFlags.StringLike | _typescript_default_default.TypeFlags.NumberLike | _typescript_default_default.TypeFlags.BigIntLike | _typescript_default_default.TypeFlags.ESSymbolLike | _typescript_default_default.TypeFlags.TypeParameter | _typescript_default_default.TypeFlags.Any | _typescript_default_default.TypeFlags.Unknown | _typescript_default_default.TypeFlags.Never);
|
|
17937
|
+
const isStringType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.StringLike);
|
|
17939
17938
|
const isTruthyBigIntType = (type) => type.isLiteral() && u$1({ value: { base10Value: z$1.not("0") } }, type);
|
|
17940
17939
|
const isTruthyNumberType = (type) => type.isNumberLiteral() && type.value !== 0;
|
|
17941
17940
|
const isTruthyStringType = (type) => type.isStringLiteral() && type.value !== "";
|
|
17942
|
-
const isUnknownType = (type) => isTypeFlagSet(type,
|
|
17941
|
+
const isUnknownType = (type) => isTypeFlagSet(type, _typescript_default_default.TypeFlags.Unknown);
|
|
17943
17942
|
function getFullyQualifiedName(checker, symbol) {
|
|
17944
17943
|
let name = symbol.name;
|
|
17945
17944
|
let parent = symbol.declarations?.at(0)?.parent;
|
|
17946
17945
|
if (parent == null) return checker.getFullyQualifiedName(symbol);
|
|
17947
17946
|
let inGlobalAugmentation = false;
|
|
17948
|
-
while (!
|
|
17947
|
+
while (!_typescript_default_default.isSourceFile(parent)) {
|
|
17949
17948
|
switch (true) {
|
|
17950
|
-
case
|
|
17951
|
-
case
|
|
17952
|
-
case
|
|
17949
|
+
case _typescript_default_default.isInterfaceDeclaration(parent):
|
|
17950
|
+
case _typescript_default_default.isTypeAliasDeclaration(parent):
|
|
17951
|
+
case _typescript_default_default.isEnumDeclaration(parent):
|
|
17953
17952
|
name = `${parent.name.text}.${name}`;
|
|
17954
17953
|
break;
|
|
17955
|
-
case
|
|
17956
|
-
if ((parent.flags &
|
|
17954
|
+
case _typescript_default_default.isModuleDeclaration(parent):
|
|
17955
|
+
if ((parent.flags & _typescript_default_default.NodeFlags.GlobalAugmentation) !== 0) {
|
|
17957
17956
|
inGlobalAugmentation = true;
|
|
17958
17957
|
break;
|
|
17959
17958
|
}
|
|
17960
17959
|
name = `${parent.name.text}.${name}`;
|
|
17961
17960
|
break;
|
|
17962
|
-
case
|
|
17963
|
-
case
|
|
17964
|
-
case
|
|
17965
|
-
case
|
|
17966
|
-
case
|
|
17967
|
-
case
|
|
17961
|
+
case _typescript_default_default.isPropertySignature(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17962
|
+
case _typescript_default_default.isPropertyDeclaration(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17963
|
+
case _typescript_default_default.isMethodDeclaration(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17964
|
+
case _typescript_default_default.isMethodSignature(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17965
|
+
case _typescript_default_default.isPropertyAssignment(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17966
|
+
case _typescript_default_default.isVariableDeclaration(parent) && _typescript_default_default.isIdentifier(parent.name):
|
|
17968
17967
|
name = `${parent.name.text}.${name}`;
|
|
17969
17968
|
break;
|
|
17970
|
-
case
|
|
17971
|
-
case
|
|
17972
|
-
case
|
|
17969
|
+
case _typescript_default_default.isFunctionDeclaration(parent) && parent.name != null:
|
|
17970
|
+
case _typescript_default_default.isClassExpression(parent) && parent.name != null:
|
|
17971
|
+
case _typescript_default_default.isClassDeclaration(parent) && parent.name != null:
|
|
17973
17972
|
name = `${parent.name.text}.${name}`;
|
|
17974
17973
|
break;
|
|
17975
|
-
case
|
|
17974
|
+
case _typescript_default_default.isEnumMember(parent) && !_typescript_default_default.isComputedPropertyName(parent.name):
|
|
17976
17975
|
name = `${parent.name.text}.${name}`;
|
|
17977
17976
|
break;
|
|
17978
|
-
case
|
|
17979
|
-
case
|
|
17980
|
-
case
|
|
17981
|
-
case
|
|
17982
|
-
case
|
|
17977
|
+
case _typescript_default_default.isTypeLiteralNode(parent):
|
|
17978
|
+
case _typescript_default_default.isMappedTypeNode(parent):
|
|
17979
|
+
case _typescript_default_default.isObjectLiteralExpression(parent):
|
|
17980
|
+
case _typescript_default_default.isIntersectionTypeNode(parent):
|
|
17981
|
+
case _typescript_default_default.isUnionTypeNode(parent):
|
|
17983
17982
|
}
|
|
17984
17983
|
parent = parent.parent;
|
|
17985
17984
|
}
|
|
17986
|
-
const namespace = parent.statements.find((n) =>
|
|
17985
|
+
const namespace = parent.statements.find((n) => _typescript_default_default.isNamespaceExportDeclaration(n))?.name.text;
|
|
17987
17986
|
if (namespace == null || inGlobalAugmentation) return name;
|
|
17988
17987
|
if (name === namespace || name.startsWith(`${namespace}.`)) return name;
|
|
17989
17988
|
return `${namespace}.${name}`;
|
|
@@ -18241,7 +18240,7 @@ function delimiterCase(str, delimiter) {
|
|
|
18241
18240
|
function snakeCase(str) {
|
|
18242
18241
|
return toLowerCase(delimiterCase(removeApostrophe(str), "_"));
|
|
18243
18242
|
}
|
|
18244
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-x@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-
|
|
18243
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-x@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__supports-_030995b468df9a5e5f3ead5c93aeee49/node_modules/eslint-plugin-react-x/dist/index.js
|
|
18245
18244
|
var __defProp$6 = Object.defineProperty;
|
|
18246
18245
|
var __exportAll$6 = (all, flags) => {
|
|
18247
18246
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -26086,7 +26085,7 @@ const finalPlugin$6 = {
|
|
|
26086
26085
|
["strict-typescript"]: createConfig$6(strict_typescript_exports$2)
|
|
26087
26086
|
}
|
|
26088
26087
|
};
|
|
26089
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-dom@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
26088
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-dom@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__support_acf0eb70c89789ea1d66fa1c2ec3251f/node_modules/eslint-plugin-react-dom/dist/index.js
|
|
26090
26089
|
var __defProp$5 = Object.defineProperty;
|
|
26091
26090
|
var __exportAll$5 = (all, flags) => {
|
|
26092
26091
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -28487,7 +28486,7 @@ function decodeHtmlText(input, mode) {
|
|
|
28487
28486
|
function decodeHTMLStrict(htmlString) {
|
|
28488
28487
|
return decodeHtmlText(htmlString, DecodingMode.Strict);
|
|
28489
28488
|
}
|
|
28490
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-jsx@5.30.6_patch_hash=
|
|
28489
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-jsx@5.30.6_patch_hash=b992c01baefacc91e5b12432715428f4c3ec7bc2494b0_8aa30820f12877bc2bc6225c67d534fd/node_modules/eslint-plugin-react-jsx/dist/index.js
|
|
28491
28490
|
var __defProp$4 = Object.defineProperty;
|
|
28492
28491
|
var __exportAll$4 = (all, flags) => {
|
|
28493
28492
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -28764,7 +28763,7 @@ var no_key_after_spread_default = createRule$3({
|
|
|
28764
28763
|
function create$4$3(context) {
|
|
28765
28764
|
if (!/key\s*=/.test(context.sourceCode.text)) return {};
|
|
28766
28765
|
const { jsx } = getJSXConfig(context);
|
|
28767
|
-
if (jsx !==
|
|
28766
|
+
if (jsx !== _typescript_default_default.JsxEmit.ReactJSX && jsx !== _typescript_default_default.JsxEmit.ReactJSXDev) return {};
|
|
28768
28767
|
return { JSXOpeningElement(node) {
|
|
28769
28768
|
for (const n of dropWhile(node.attributes, not(check_exports.isJSXSpreadAttribute)).filter(isPlainAttribute("key"))) context.report({
|
|
28770
28769
|
messageId: "default",
|
|
@@ -29042,7 +29041,7 @@ const finalPlugin$4 = {
|
|
|
29042
29041
|
["strict"]: createConfig$4(strict_exports$2)
|
|
29043
29042
|
}
|
|
29044
29043
|
};
|
|
29045
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-naming-convention@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@
|
|
29044
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-naming-convention@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@1_bb7c93d0bbcc790efbd47c5ea22c444e/node_modules/eslint-plugin-react-naming-convention/dist/index.js
|
|
29046
29045
|
var __defProp$3 = Object.defineProperty;
|
|
29047
29046
|
var __exportAll$3 = (all, flags) => {
|
|
29048
29047
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -29231,7 +29230,7 @@ const finalPlugin$3 = {
|
|
|
29231
29230
|
...plugin$4,
|
|
29232
29231
|
configs: { ["recommended"]: createConfig$3(recommended_exports$3) }
|
|
29233
29232
|
};
|
|
29234
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-rsc@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
29233
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-rsc@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__support_a067fc30631c14e05ccd6d90b30c4683/node_modules/eslint-plugin-react-rsc/dist/index.js
|
|
29235
29234
|
var __defProp$2 = Object.defineProperty;
|
|
29236
29235
|
var __exportAll$2 = (all, flags) => {
|
|
29237
29236
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -29834,7 +29833,7 @@ const finalPlugin$2 = {
|
|
|
29834
29833
|
["strict-typescript"]: createConfig$2(strict_typescript_exports$1)
|
|
29835
29834
|
}
|
|
29836
29835
|
};
|
|
29837
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-web-api@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
29836
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-web-api@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__sup_d2c6d070d9c29f92a61b8fe039bac6d2/node_modules/eslint-plugin-react-web-api/dist/index.js
|
|
29838
29837
|
var __defProp$1 = Object.defineProperty;
|
|
29839
29838
|
var __exportAll$1 = (all, flags) => {
|
|
29840
29839
|
let target = Object.setPrototypeOf({}, null);
|
|
@@ -31015,7 +31014,7 @@ const finalPlugin$1 = {
|
|
|
31015
31014
|
...plugin$2,
|
|
31016
31015
|
configs: { ["recommended"]: createConfig$1(recommended_exports$1) }
|
|
31017
31016
|
};
|
|
31018
|
-
// ../../node_modules/.pnpm/@eslint-react+eslint-plugin@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.
|
|
31017
|
+
// ../../node_modules/.pnpm/@eslint-react+eslint-plugin@5.30.6_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__sup_97e14b9869ae7c2560eb62fafeb5ac91/node_modules/@eslint-react/eslint-plugin/dist/index.js
|
|
31019
31018
|
var __defProp = Object.defineProperty;
|
|
31020
31019
|
var __exportAll = (all, flags) => {
|
|
31021
31020
|
let target = Object.setPrototypeOf({}, null);
|