oxlint-plugin-react-doctor 0.9.3-dev.44922d6 → 0.9.3-dev.45afa01
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/capability-CHAO15YT.js +31 -0
- package/dist/core.js +2 -2
- package/dist/index.d.ts +96 -0
- package/dist/index.js +14 -14
- package/package.json +1 -1
- package/dist/capability-CF1M-Tj7.js +0 -31
package/dist/index.d.ts
CHANGED
|
@@ -5511,6 +5511,30 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
5511
5511
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
5512
5512
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
5513
5513
|
};
|
|
5514
|
+
}, {
|
|
5515
|
+
readonly key: "react-doctor/no-controlled-selection-focus-effect";
|
|
5516
|
+
readonly id: "no-controlled-selection-focus-effect";
|
|
5517
|
+
readonly source: "react-doctor";
|
|
5518
|
+
readonly originallyExternal: false;
|
|
5519
|
+
readonly rule: {
|
|
5520
|
+
readonly framework: "global";
|
|
5521
|
+
readonly category: "Accessibility";
|
|
5522
|
+
readonly requires: readonly Capability[];
|
|
5523
|
+
readonly id: string;
|
|
5524
|
+
readonly title?: string;
|
|
5525
|
+
readonly severity: RuleSeverity;
|
|
5526
|
+
readonly minimumInkVersion?: string;
|
|
5527
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
5528
|
+
readonly tags?: ReadonlyArray<string>;
|
|
5529
|
+
readonly matchByOccurrence?: boolean;
|
|
5530
|
+
readonly defaultEnabled?: boolean;
|
|
5531
|
+
readonly lifecycle?: "retired";
|
|
5532
|
+
readonly scan?: FileScan;
|
|
5533
|
+
readonly committedFilesOnly?: boolean;
|
|
5534
|
+
readonly recommendation?: string;
|
|
5535
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
5536
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
5537
|
+
};
|
|
5514
5538
|
}, {
|
|
5515
5539
|
readonly key: "react-doctor/no-cramped-container-padding";
|
|
5516
5540
|
readonly id: "no-cramped-container-padding";
|
|
@@ -9015,6 +9039,30 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
9015
9039
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
9016
9040
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
9017
9041
|
};
|
|
9042
|
+
}, {
|
|
9043
|
+
readonly key: "react-doctor/no-passive-request-owner-ref";
|
|
9044
|
+
readonly id: "no-passive-request-owner-ref";
|
|
9045
|
+
readonly source: "react-doctor";
|
|
9046
|
+
readonly originallyExternal: false;
|
|
9047
|
+
readonly rule: {
|
|
9048
|
+
readonly framework: "global";
|
|
9049
|
+
readonly category: "Bugs";
|
|
9050
|
+
readonly requires: readonly Capability[];
|
|
9051
|
+
readonly id: string;
|
|
9052
|
+
readonly title?: string;
|
|
9053
|
+
readonly severity: RuleSeverity;
|
|
9054
|
+
readonly minimumInkVersion?: string;
|
|
9055
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
9056
|
+
readonly tags?: ReadonlyArray<string>;
|
|
9057
|
+
readonly matchByOccurrence?: boolean;
|
|
9058
|
+
readonly defaultEnabled?: boolean;
|
|
9059
|
+
readonly lifecycle?: "retired";
|
|
9060
|
+
readonly scan?: FileScan;
|
|
9061
|
+
readonly committedFilesOnly?: boolean;
|
|
9062
|
+
readonly recommendation?: string;
|
|
9063
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
9064
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
9065
|
+
};
|
|
9018
9066
|
}, {
|
|
9019
9067
|
readonly key: "react-doctor/no-path-prefix-containment";
|
|
9020
9068
|
readonly id: "no-path-prefix-containment";
|
|
@@ -24352,6 +24400,30 @@ declare const RULES: readonly [{
|
|
|
24352
24400
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
24353
24401
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
24354
24402
|
};
|
|
24403
|
+
}, {
|
|
24404
|
+
readonly key: "react-doctor/no-controlled-selection-focus-effect";
|
|
24405
|
+
readonly id: "no-controlled-selection-focus-effect";
|
|
24406
|
+
readonly source: "react-doctor";
|
|
24407
|
+
readonly originallyExternal: false;
|
|
24408
|
+
readonly rule: {
|
|
24409
|
+
readonly framework: "global";
|
|
24410
|
+
readonly category: "Accessibility";
|
|
24411
|
+
readonly requires: readonly Capability[];
|
|
24412
|
+
readonly id: string;
|
|
24413
|
+
readonly title?: string;
|
|
24414
|
+
readonly severity: RuleSeverity;
|
|
24415
|
+
readonly minimumInkVersion?: string;
|
|
24416
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
24417
|
+
readonly tags?: ReadonlyArray<string>;
|
|
24418
|
+
readonly matchByOccurrence?: boolean;
|
|
24419
|
+
readonly defaultEnabled?: boolean;
|
|
24420
|
+
readonly lifecycle?: "retired";
|
|
24421
|
+
readonly scan?: FileScan;
|
|
24422
|
+
readonly committedFilesOnly?: boolean;
|
|
24423
|
+
readonly recommendation?: string;
|
|
24424
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
24425
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
24426
|
+
};
|
|
24355
24427
|
}, {
|
|
24356
24428
|
readonly key: "react-doctor/no-cramped-container-padding";
|
|
24357
24429
|
readonly id: "no-cramped-container-padding";
|
|
@@ -27856,6 +27928,30 @@ declare const RULES: readonly [{
|
|
|
27856
27928
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
27857
27929
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
27858
27930
|
};
|
|
27931
|
+
}, {
|
|
27932
|
+
readonly key: "react-doctor/no-passive-request-owner-ref";
|
|
27933
|
+
readonly id: "no-passive-request-owner-ref";
|
|
27934
|
+
readonly source: "react-doctor";
|
|
27935
|
+
readonly originallyExternal: false;
|
|
27936
|
+
readonly rule: {
|
|
27937
|
+
readonly framework: "global";
|
|
27938
|
+
readonly category: "Bugs";
|
|
27939
|
+
readonly requires: readonly Capability[];
|
|
27940
|
+
readonly id: string;
|
|
27941
|
+
readonly title?: string;
|
|
27942
|
+
readonly severity: RuleSeverity;
|
|
27943
|
+
readonly minimumInkVersion?: string;
|
|
27944
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
27945
|
+
readonly tags?: ReadonlyArray<string>;
|
|
27946
|
+
readonly matchByOccurrence?: boolean;
|
|
27947
|
+
readonly defaultEnabled?: boolean;
|
|
27948
|
+
readonly lifecycle?: "retired";
|
|
27949
|
+
readonly scan?: FileScan;
|
|
27950
|
+
readonly committedFilesOnly?: boolean;
|
|
27951
|
+
readonly recommendation?: string;
|
|
27952
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
27953
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
27954
|
+
};
|
|
27859
27955
|
}, {
|
|
27860
27956
|
readonly key: "react-doctor/no-path-prefix-containment";
|
|
27861
27957
|
readonly id: "no-path-prefix-containment";
|