oxlint-plugin-react-doctor 0.2.3 → 0.2.4
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/index.d.ts +6 -1
- package/dist/index.js +2 -2
- package/package.json +2 -5
package/dist/index.d.ts
CHANGED
|
@@ -11713,5 +11713,10 @@ declare const REACT_COMPILER_RULES: Record<string, OxlintRuleSeverity>;
|
|
|
11713
11713
|
//#region src/plugin/constants/style.d.ts
|
|
11714
11714
|
declare const MOTION_LIBRARY_PACKAGES: Set<string>;
|
|
11715
11715
|
//#endregion
|
|
11716
|
-
|
|
11716
|
+
//#region src/react-native-dependency-names.d.ts
|
|
11717
|
+
declare const REACT_NATIVE_DEPENDENCY_NAMES: ReadonlySet<string>;
|
|
11718
|
+
declare const REACT_NATIVE_DEPENDENCY_PREFIXES: ReadonlyArray<string>;
|
|
11719
|
+
declare const isReactNativeDependencyName: (dependencyName: string) => boolean;
|
|
11720
|
+
//#endregion
|
|
11721
|
+
export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, EXTERNAL_RULES, type EsTreeNode, FRAMEWORK_SPECIFIC_RULE_KEYS, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, type OxlintRuleSeverity, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, type Rule, type RuleFramework, type RulePlugin, type RuleSeverity, type RuleVisitors, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, plugin as default, isReactNativeDependencyName };
|
|
11717
11722
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -33651,7 +33651,7 @@ const reactDoctorRules = [
|
|
|
33651
33651
|
];
|
|
33652
33652
|
const ruleRegistry = Object.fromEntries(reactDoctorRules.map((rule) => [rule.id, rule.rule]));
|
|
33653
33653
|
//#endregion
|
|
33654
|
-
//#region
|
|
33654
|
+
//#region src/react-native-dependency-names.ts
|
|
33655
33655
|
const REACT_NATIVE_DEPENDENCY_NAMES = new Set([
|
|
33656
33656
|
"react-native",
|
|
33657
33657
|
"react-native-tvos",
|
|
@@ -34424,6 +34424,6 @@ const REACT_COMPILER_RULES = toRuleMap(collectExternalRulesBySource("react-compi
|
|
|
34424
34424
|
//#region src/index.ts
|
|
34425
34425
|
var src_default = plugin;
|
|
34426
34426
|
//#endregion
|
|
34427
|
-
export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, EXTERNAL_RULES, FRAMEWORK_SPECIFIC_RULE_KEYS, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, src_default as default };
|
|
34427
|
+
export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, EXTERNAL_RULES, FRAMEWORK_SPECIFIC_RULE_KEYS, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, src_default as default, isReactNativeDependencyName };
|
|
34428
34428
|
|
|
34429
34429
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-plugin-react-doctor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "oxlint plugin for React Doctor: diagnose React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -41,16 +41,13 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@types/eslint-scope": "^9.1.0",
|
|
45
|
-
"@types/eslint-visitor-keys": "^3.3.2",
|
|
46
44
|
"@typescript-eslint/types": "^8.59.3",
|
|
47
45
|
"eslint-scope": "^9.1.2",
|
|
48
46
|
"eslint-visitor-keys": "^5.0.1"
|
|
49
47
|
},
|
|
50
48
|
"devDependencies": {
|
|
51
49
|
"@types/node": "^25.6.0",
|
|
52
|
-
"oxc-parser": "^0.132.0"
|
|
53
|
-
"@react-doctor/types": "0.2.3"
|
|
50
|
+
"oxc-parser": "^0.132.0"
|
|
54
51
|
},
|
|
55
52
|
"engines": {
|
|
56
53
|
"node": ">=22.13.0"
|