react-doctor 0.2.0-beta.0 → 0.2.0-beta.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.
@@ -1,28 +0,0 @@
1
- import { a as RuleContext, i as RuleVisitors } from "./index-CFzh1cBi.js";
2
-
3
- //#region src/core/rules/lint/utils/rule-example.d.ts
4
- interface RuleExample {
5
- before: string;
6
- after: string;
7
- }
8
- //#endregion
9
- //#region src/core/rules/lint/utils/rule.d.ts
10
- interface Rule {
11
- recommendation: string;
12
- examples?: RuleExample[];
13
- create: (context: RuleContext) => RuleVisitors;
14
- }
15
- //#endregion
16
- //#region src/core/rules/lint/utils/rule-plugin.d.ts
17
- interface RulePlugin {
18
- meta: {
19
- name: string;
20
- };
21
- rules: Record<string, Rule>;
22
- }
23
- //#endregion
24
- //#region src/core/rules/lint/rules.d.ts
25
- declare const reactDoctorOxlintPlugin: RulePlugin;
26
- //#endregion
27
- export { RuleExample as i, RulePlugin as n, Rule as r, reactDoctorOxlintPlugin as t };
28
- //# sourceMappingURL=rules-ebKa330H.d.ts.map
@@ -1,69 +0,0 @@
1
- //#region src/constants.ts
2
- const REACT_DOCTOR_CONFIG_FILENAME = "react-doctor.config.json";
3
- const PACKAGE_JSON_FILENAME = "package.json";
4
- const PACKAGE_JSON_CONFIG_KEY = "reactDoctor";
5
- const WARNING_RULE_PENALTY = .5;
6
- const SCORE_API_URL = "https://www.react.doctor/api/score";
7
- const FETCH_TIMEOUT_MS = 1e4;
8
- const MILLISECONDS_PER_SECOND = 1e3;
9
- //#endregion
10
- //#region src/core/score.ts
11
- const getScoreLabel = (score) => {
12
- if (score >= 75) return "Great";
13
- if (score >= 50) return "Needs work";
14
- return "Critical";
15
- };
16
- const rulePenalty = (severity, count) => {
17
- return (severity === "error" ? 1 : WARNING_RULE_PENALTY) * Math.min(1 + Math.log2(count), 4);
18
- };
19
- const calculateScoreBreakdown = (diagnostics, options = {}) => {
20
- const perfectScore = options.perfectScore ?? 100;
21
- const perCategoryCap = options.perCategoryCap ?? 35;
22
- if (diagnostics.length === 0) return {
23
- score: perfectScore,
24
- totalRawPenalty: 0,
25
- totalCappedPenalty: 0,
26
- perCategory: []
27
- };
28
- const ruleCounts = /* @__PURE__ */ new Map();
29
- const ruleSeverities = /* @__PURE__ */ new Map();
30
- const ruleCategories = /* @__PURE__ */ new Map();
31
- for (const diagnostic of diagnostics) {
32
- const ruleKey = `${diagnostic.plugin}/${diagnostic.rule}`;
33
- ruleCounts.set(ruleKey, (ruleCounts.get(ruleKey) ?? 0) + 1);
34
- if (diagnostic.severity === "error" || !ruleSeverities.has(ruleKey)) ruleSeverities.set(ruleKey, diagnostic.severity);
35
- if (!ruleCategories.has(ruleKey)) ruleCategories.set(ruleKey, diagnostic.category);
36
- }
37
- const categoryAggregates = /* @__PURE__ */ new Map();
38
- for (const [ruleKey, count] of ruleCounts) {
39
- const severity = ruleSeverities.get(ruleKey) ?? "warning";
40
- const category = ruleCategories.get(ruleKey) ?? "uncategorized";
41
- const penalty = rulePenalty(severity, count);
42
- const existing = categoryAggregates.get(category) ?? {
43
- rawPenalty: 0,
44
- ruleKeys: 0
45
- };
46
- existing.rawPenalty += penalty;
47
- existing.ruleKeys += 1;
48
- categoryAggregates.set(category, existing);
49
- }
50
- const perCategory = [...categoryAggregates.entries()].map(([category, aggregate]) => ({
51
- category,
52
- rawPenalty: aggregate.rawPenalty,
53
- cappedPenalty: Math.min(aggregate.rawPenalty, perCategoryCap),
54
- ruleKeys: aggregate.ruleKeys
55
- })).toSorted((first, second) => second.cappedPenalty - first.cappedPenalty);
56
- const totalRawPenalty = perCategory.reduce((total, entry) => total + entry.rawPenalty, 0);
57
- const totalCappedPenalty = perCategory.reduce((total, entry) => total + entry.cappedPenalty, 0);
58
- return {
59
- score: Math.max(0, Math.min(perfectScore, Math.round(perfectScore - totalCappedPenalty))),
60
- totalRawPenalty,
61
- totalCappedPenalty,
62
- perCategory
63
- };
64
- };
65
- const calculateScore = (diagnostics, options = {}) => calculateScoreBreakdown(diagnostics, options).score;
66
- //#endregion
67
- export { FETCH_TIMEOUT_MS as a, PACKAGE_JSON_FILENAME as c, rulePenalty as i, REACT_DOCTOR_CONFIG_FILENAME as l, calculateScoreBreakdown as n, MILLISECONDS_PER_SECOND as o, getScoreLabel as r, PACKAGE_JSON_CONFIG_KEY as s, calculateScore as t, SCORE_API_URL as u };
68
-
69
- //# sourceMappingURL=score-CzbtoFAu.js.map
package/dist/score.d.ts DELETED
@@ -1,35 +0,0 @@
1
- //#region src/core/score.d.ts
2
- /**
3
- * Log-scaled per rule, capped per category. One issue still costs; 1000
4
- * issues don't zero a big repo. Categories cap so a single noisy area
5
- * (oxlint, codebase) can't single-handedly tank the score.
6
- */
7
- interface ScoreDiagnostic {
8
- plugin: string;
9
- rule: string;
10
- category: string;
11
- severity: "error" | "warning";
12
- }
13
- interface CalculateScoreOptions {
14
- perfectScore?: number;
15
- perCategoryCap?: number;
16
- }
17
- interface ScoreCategoryBreakdown {
18
- category: string;
19
- rawPenalty: number;
20
- cappedPenalty: number;
21
- ruleKeys: number;
22
- }
23
- interface ScoreBreakdown {
24
- score: number;
25
- totalRawPenalty: number;
26
- totalCappedPenalty: number;
27
- perCategory: ScoreCategoryBreakdown[];
28
- }
29
- declare const getScoreLabel: (score: number) => string;
30
- declare const rulePenalty: (severity: "error" | "warning", count: number) => number;
31
- declare const calculateScoreBreakdown: (diagnostics: ScoreDiagnostic[], options?: CalculateScoreOptions) => ScoreBreakdown;
32
- declare const calculateScore: (diagnostics: ScoreDiagnostic[], options?: CalculateScoreOptions) => number;
33
- //#endregion
34
- export { CalculateScoreOptions, ScoreBreakdown, ScoreCategoryBreakdown, ScoreDiagnostic, calculateScore, calculateScoreBreakdown, getScoreLabel, rulePenalty };
35
- //# sourceMappingURL=score.d.ts.map
package/dist/score.js DELETED
@@ -1,2 +0,0 @@
1
- import { i as rulePenalty, n as calculateScoreBreakdown, r as getScoreLabel, t as calculateScore } from "./score-CzbtoFAu.js";
2
- export { calculateScore, calculateScoreBreakdown, getScoreLabel, rulePenalty };
package/dist/sdk.d.ts DELETED
@@ -1,90 +0,0 @@
1
- import { CalculateScoreOptions, ScoreBreakdown, ScoreCategoryBreakdown, ScoreDiagnostic, calculateScore, calculateScoreBreakdown, getScoreLabel } from "./score.js";
2
- import { A as ReactProjectFramework, C as ReactDoctorIssue, D as ReactDoctorResult, E as ReactDoctorJsonReportSummary, M as SourceLocation, O as ReactDoctorRuleSelection, S as ReactDoctorIgnoreOverride, T as ReactDoctorJsonReport, _ as LoadedReactDoctorConfig, a as RuleContext, b as ReactDoctorFailOnLevel, c as ReactDoctorRuleRegistry, d as ReactDoctorRule, f as ReactDoctorRuleContext, g as InspectReactProjectOptions, h as ReactDoctorRuleResult, i as RuleVisitors, j as ReactProjectInfo, k as ReactDoctorScore, l as RuleRegistryOptions, m as ReactDoctorRuleMetadata, n as createRuleRegistry, o as EsTreeNode, p as ReactDoctorRuleExample, r as ruleRegistry, s as reactProjectStructureRule, t as coreRules, u as defineRule, v as ReactDoctorCheckResult, w as ReactDoctorIssueSource, x as ReactDoctorIgnoreConfig, y as ReactDoctorConfig } from "./index-CFzh1cBi.js";
3
- import { _ as ReactDoctorRunnerUnavailableError, a as ReactDoctorCheckSkippedError, b as isReactDoctorError, c as ReactDoctorError, d as ReactDoctorInvalidConfigError, f as ReactDoctorNoReactDependencyError, g as ReactDoctorReportError, h as ReactDoctorProjectNotFoundError, i as ReactDoctorCheckFailedError, l as ReactDoctorErrorInfo, m as ReactDoctorProjectError, n as ReactDoctorCancelledError, o as ReactDoctorConfigError, p as ReactDoctorPackageJsonNotFoundError, r as ReactDoctorCheckError, s as ReactDoctorConfigNotFoundError, t as ReactDoctorAmbiguousProjectError, u as ReactDoctorErrorOptions, v as ReactDoctorTimeoutError, x as toReactDoctorErrorInfo, y as ReactDoctorUnsupportedRuntimeError } from "./errors-ZdckckLr.js";
4
- import { C as shouldEnableReactDoctorOxlintRule, S as reactPeerRangeMinMajor, _ as ReactDoctorOxlintProjectInfo, a as BUILTIN_REACT_OXLINT_RULES, b as buildReactDoctorOxlintCapabilities, c as NEXTJS_OXLINT_RULES, d as REACT_DOCTOR_CUSTOM_OXLINT_RULES, f as REACT_NATIVE_OXLINT_RULES, g as ReactDoctorOxlintJsPluginEntry, h as ReactDoctorOxlintGeneratedConfig, i as BUILTIN_OXLINT_RULES, l as OxlintRuleSeverityMap, m as ReactDoctorOxlintFramework, n as ALL_REACT_DOCTOR_OXLINT_RULE_KEYS, o as CURATED_OXLINT_RULES, p as ReactDoctorOxlintConfigOptions, r as BUILTIN_A11Y_OXLINT_RULES, s as GLOBAL_REACT_DOCTOR_OXLINT_RULES, t as reactDoctorEslintPlugin, u as REACT_COMPILER_OXLINT_RULES, v as TANSTACK_QUERY_OXLINT_RULES, x as createReactDoctorOxlintConfig, y as TANSTACK_START_OXLINT_RULES } from "./eslint-plugin-BIjw2MeW.js";
5
- import { i as RuleExample, n as RulePlugin, r as Rule, t as reactDoctorOxlintPlugin } from "./rules-ebKa330H.js";
6
- import { DiagnoseOptions, DiagnoseResult, Diagnostic, ProjectInfo, ScoreResult, clearCaches, diagnose } from "./compat.js";
7
-
8
- //#region src/core/rules/codebase/dead-code.d.ts
9
- declare const DEAD_CODE_RULE_ID = "react-doctor/codebase/dead-code";
10
- //#endregion
11
- //#region src/core/rules/codebase/dependencies.d.ts
12
- declare const DEPENDENCIES_RULE_ID = "react-doctor/codebase/dependencies";
13
- //#endregion
14
- //#region src/core/rules/codebase/react-architecture.d.ts
15
- declare const REACT_ARCHITECTURE_RULE_ID = "react-doctor/codebase/react-architecture";
16
- //#endregion
17
- //#region src/core/rules/lint/utils/parsed-rgb.d.ts
18
- interface ParsedRgb {
19
- red: number;
20
- green: number;
21
- blue: number;
22
- }
23
- //#endregion
24
- //#region src/core/rules/lint/metadata.d.ts
25
- interface OxlintRuleMetadata extends ReactDoctorRuleMetadata {
26
- oxlintRuleName: string;
27
- oxlintRuleKey: string;
28
- }
29
- declare const REACT_DOCTOR_OXLINT_PLUGIN_NAMESPACE = "react-doctor";
30
- declare const REACT_DOCTOR_OXLINT_RULE_ID_PREFIX = "oxlint/react-doctor/";
31
- declare const reactDoctorOxlintRuleMetadata: OxlintRuleMetadata[];
32
- //#endregion
33
- //#region src/core/config.d.ts
34
- declare const clearReactDoctorConfigCache: () => void;
35
- declare const loadReactDoctorConfig: (startDirectory: string) => Promise<LoadedReactDoctorConfig | null>;
36
- declare const resolveConfigRootDirectory: (loadedConfig: LoadedReactDoctorConfig | null, fallbackDirectory: string) => Promise<string>;
37
- //#endregion
38
- //#region src/core/reports.d.ts
39
- declare const calculateReactDoctorScore: (issues: ReactDoctorIssue[]) => ReactDoctorScore;
40
- declare const summarizeReactDoctorResult: (result: ReactDoctorResult) => ReactDoctorJsonReportSummary;
41
- declare const buildReactDoctorJsonReport: (result: ReactDoctorResult) => ReactDoctorJsonReport;
42
- //#endregion
43
- //#region src/core/project.d.ts
44
- declare const parseReactMajorVersion: (version: string | null) => number | null;
45
- declare const toOxlintProjectInfo: (project: ReactProjectInfo) => ReactDoctorOxlintProjectInfo;
46
- declare const discoverReactProject: (rootDirectory: string) => Promise<ReactProjectInfo>;
47
- //#endregion
48
- //#region src/core/diagnostics.d.ts
49
- interface FilterReactDoctorIssuesOptions {
50
- jsxImportSource?: string;
51
- }
52
- declare const filterReactDoctorIssues: (issues: ReactDoctorIssue[], config: ReactDoctorConfig, rootDirectory: string, readSourceLines?: (filePath: string) => string[] | undefined, options?: FilterReactDoctorIssuesOptions) => ReactDoctorIssue[];
53
- //#endregion
54
- //#region src/core/runners/check-ids.d.ts
55
- declare const OXLINT_CHECK_ID = "react-doctor/oxlint";
56
- //#endregion
57
- //#region src/core/runners/oxlint.d.ts
58
- interface RunOxlintOptions {
59
- rootDirectory: string;
60
- includePaths?: string[];
61
- excludePatterns?: string[];
62
- project: ReactDoctorOxlintProjectInfo;
63
- customRulesOnly?: boolean;
64
- includeEcosystemRules?: boolean;
65
- adoptExistingLintConfig?: boolean;
66
- ignoredTags?: ReadonlySet<string>;
67
- signal?: AbortSignal;
68
- }
69
- declare const runOxlint: (options: RunOxlintOptions) => Promise<ReactDoctorIssue[]>;
70
- //#endregion
71
- //#region src/sdk/create-react-doctor.d.ts
72
- interface CreateReactDoctorOptions {
73
- rootDirectory?: string;
74
- includePaths?: string[];
75
- excludePatterns?: string[];
76
- rules?: InspectReactProjectOptions["rules"];
77
- lint?: boolean;
78
- deadCode?: boolean;
79
- customRulesOnly?: boolean;
80
- respectInlineDisables?: boolean;
81
- offline?: boolean;
82
- }
83
- interface ReactDoctor {
84
- inspect: (options?: InspectReactProjectOptions) => Promise<ReactDoctorResult>;
85
- }
86
- declare const createReactDoctor: (options?: CreateReactDoctorOptions) => ReactDoctor;
87
- declare const inspectReactProject: (options?: InspectReactProjectOptions) => Promise<ReactDoctorResult>;
88
- //#endregion
89
- export { ALL_REACT_DOCTOR_OXLINT_RULE_KEYS, BUILTIN_A11Y_OXLINT_RULES, BUILTIN_OXLINT_RULES, BUILTIN_REACT_OXLINT_RULES, CURATED_OXLINT_RULES, type CalculateScoreOptions, type CreateReactDoctorOptions, DEAD_CODE_RULE_ID, DEPENDENCIES_RULE_ID, type DiagnoseOptions, type DiagnoseResult, type Diagnostic, GLOBAL_REACT_DOCTOR_OXLINT_RULES, type InspectReactProjectOptions, NEXTJS_OXLINT_RULES, OXLINT_CHECK_ID, type EsTreeNode as OxlintEsTreeNode, type ParsedRgb as OxlintParsedRgb, type Rule as OxlintRule, type RuleContext as OxlintRuleContext, type RuleExample as OxlintRuleExample, type OxlintRuleMetadata, type RulePlugin as OxlintRulePlugin, type OxlintRuleSeverityMap, type RuleVisitors as OxlintRuleVisitors, type ProjectInfo, REACT_ARCHITECTURE_RULE_ID, REACT_COMPILER_OXLINT_RULES, REACT_DOCTOR_CUSTOM_OXLINT_RULES, REACT_DOCTOR_OXLINT_PLUGIN_NAMESPACE, REACT_DOCTOR_OXLINT_RULE_ID_PREFIX, REACT_NATIVE_OXLINT_RULES, type ReactDoctor, ReactDoctorAmbiguousProjectError, ReactDoctorCancelledError, ReactDoctorCheckError, ReactDoctorCheckFailedError, type ReactDoctorCheckResult, ReactDoctorCheckSkippedError, type ReactDoctorConfig, ReactDoctorConfigError, ReactDoctorConfigNotFoundError, ReactDoctorError, type ReactDoctorErrorInfo, type ReactDoctorErrorOptions, type ReactDoctorFailOnLevel, type ReactDoctorIgnoreConfig, type ReactDoctorIgnoreOverride, ReactDoctorInvalidConfigError, type ReactDoctorIssue, type ReactDoctorIssueSource, type ReactDoctorJsonReport, type ReactDoctorJsonReportSummary, ReactDoctorNoReactDependencyError, type ReactDoctorOxlintConfigOptions, type ReactDoctorOxlintFramework, type ReactDoctorOxlintGeneratedConfig, type ReactDoctorOxlintJsPluginEntry, type ReactDoctorOxlintProjectInfo, ReactDoctorPackageJsonNotFoundError, ReactDoctorProjectError, ReactDoctorProjectNotFoundError, ReactDoctorReportError, type ReactDoctorResult, type ReactDoctorRule, type ReactDoctorRuleContext, type ReactDoctorRuleExample, type ReactDoctorRuleMetadata, type ReactDoctorRuleRegistry, type ReactDoctorRuleResult, type ReactDoctorRuleSelection, ReactDoctorRunnerUnavailableError, type ReactDoctorScore, ReactDoctorTimeoutError, ReactDoctorUnsupportedRuntimeError, type ReactProjectFramework, type ReactProjectInfo, type RuleRegistryOptions, type RunOxlintOptions, type ScoreBreakdown, type ScoreCategoryBreakdown, type ScoreDiagnostic, type ScoreResult, type SourceLocation, TANSTACK_QUERY_OXLINT_RULES, TANSTACK_START_OXLINT_RULES, buildReactDoctorJsonReport, buildReactDoctorOxlintCapabilities, calculateReactDoctorScore, calculateScore, calculateScoreBreakdown, clearCaches, clearReactDoctorConfigCache, coreRules, createReactDoctor, createReactDoctorOxlintConfig, createRuleRegistry, defineRule, diagnose, discoverReactProject, filterReactDoctorIssues, getScoreLabel, inspectReactProject, isReactDoctorError, loadReactDoctorConfig, parseReactMajorVersion, reactDoctorEslintPlugin, reactDoctorOxlintPlugin, reactDoctorOxlintRuleMetadata, reactPeerRangeMinMajor, reactProjectStructureRule, resolveConfigRootDirectory, ruleRegistry, runOxlint, shouldEnableReactDoctorOxlintRule, summarizeReactDoctorResult, toOxlintProjectInfo, toReactDoctorErrorInfo };
90
- //# sourceMappingURL=sdk.d.ts.map
package/dist/sdk.js DELETED
@@ -1,17 +0,0 @@
1
- import { n as calculateScoreBreakdown, r as getScoreLabel, t as calculateScore } from "./score-CzbtoFAu.js";
2
- import { A as ReactDoctorProjectError, C as ReactDoctorCheckSkippedError, D as ReactDoctorInvalidConfigError, E as ReactDoctorError, F as ReactDoctorUnsupportedRuntimeError, I as isReactDoctorError, L as toReactDoctorErrorInfo, M as ReactDoctorReportError, N as ReactDoctorRunnerUnavailableError, O as ReactDoctorNoReactDependencyError, P as ReactDoctorTimeoutError, S as ReactDoctorCheckFailedError, T as ReactDoctorConfigNotFoundError, a as DEPENDENCIES_RULE_ID, b as ReactDoctorCancelledError, c as reactProjectStructureRule, i as REACT_ARCHITECTURE_RULE_ID, j as ReactDoctorProjectNotFoundError, k as ReactDoctorPackageJsonNotFoundError, l as reactDoctorOxlintPlugin, m as defineRule, n as createRuleRegistry, o as DEAD_CODE_RULE_ID, r as ruleRegistry, t as coreRules, w as ReactDoctorConfigError, x as ReactDoctorCheckError, y as ReactDoctorAmbiguousProjectError } from "./rules-BfZ4Ujfv.js";
3
- import { a as filterReactDoctorIssues, c as toOxlintProjectInfo, d as summarizeReactDoctorResult, f as OXLINT_CHECK_ID, h as resolveConfigRootDirectory, i as runOxlint, l as buildReactDoctorJsonReport, m as loadReactDoctorConfig, n as diagnose, o as discoverReactProject, p as clearReactDoctorConfigCache, r as inspectReactProjectCore, s as parseReactMajorVersion, t as clearCaches, u as calculateReactDoctorScore } from "./compat-CM6aj69a.js";
4
- import { _ as createReactDoctorOxlintConfig, a as BUILTIN_A11Y_OXLINT_RULES, b as shouldEnableReactDoctorOxlintRule, c as CURATED_OXLINT_RULES, d as REACT_COMPILER_OXLINT_RULES, f as REACT_DOCTOR_CUSTOM_OXLINT_RULES, g as buildReactDoctorOxlintCapabilities, h as TANSTACK_START_OXLINT_RULES, i as ALL_REACT_DOCTOR_OXLINT_RULE_KEYS, l as GLOBAL_REACT_DOCTOR_OXLINT_RULES, m as TANSTACK_QUERY_OXLINT_RULES, n as REACT_DOCTOR_OXLINT_RULE_ID_PREFIX, o as BUILTIN_OXLINT_RULES, p as REACT_NATIVE_OXLINT_RULES, r as reactDoctorOxlintRuleMetadata, s as BUILTIN_REACT_OXLINT_RULES, t as REACT_DOCTOR_OXLINT_PLUGIN_NAMESPACE, u as NEXTJS_OXLINT_RULES, y as reactPeerRangeMinMajor } from "./metadata-se470mRG.js";
5
- import reactDoctorEslintPlugin from "./eslint-plugin.js";
6
- //#region src/sdk/create-react-doctor.ts
7
- const mergeInspectOptions = (defaults, options) => ({
8
- ...defaults,
9
- ...options,
10
- rootDirectory: options.rootDirectory ?? defaults.rootDirectory
11
- });
12
- const createReactDoctor = (options = {}) => ({ inspect: (runOptions = {}) => inspectReactProjectCore(mergeInspectOptions(options, runOptions)) });
13
- const inspectReactProject = (options = {}) => createReactDoctor(options).inspect();
14
- //#endregion
15
- export { ALL_REACT_DOCTOR_OXLINT_RULE_KEYS, BUILTIN_A11Y_OXLINT_RULES, BUILTIN_OXLINT_RULES, BUILTIN_REACT_OXLINT_RULES, CURATED_OXLINT_RULES, DEAD_CODE_RULE_ID, DEPENDENCIES_RULE_ID, GLOBAL_REACT_DOCTOR_OXLINT_RULES, NEXTJS_OXLINT_RULES, OXLINT_CHECK_ID, REACT_ARCHITECTURE_RULE_ID, REACT_COMPILER_OXLINT_RULES, REACT_DOCTOR_CUSTOM_OXLINT_RULES, REACT_DOCTOR_OXLINT_PLUGIN_NAMESPACE, REACT_DOCTOR_OXLINT_RULE_ID_PREFIX, REACT_NATIVE_OXLINT_RULES, ReactDoctorAmbiguousProjectError, ReactDoctorCancelledError, ReactDoctorCheckError, ReactDoctorCheckFailedError, ReactDoctorCheckSkippedError, ReactDoctorConfigError, ReactDoctorConfigNotFoundError, ReactDoctorError, ReactDoctorInvalidConfigError, ReactDoctorNoReactDependencyError, ReactDoctorPackageJsonNotFoundError, ReactDoctorProjectError, ReactDoctorProjectNotFoundError, ReactDoctorReportError, ReactDoctorRunnerUnavailableError, ReactDoctorTimeoutError, ReactDoctorUnsupportedRuntimeError, TANSTACK_QUERY_OXLINT_RULES, TANSTACK_START_OXLINT_RULES, buildReactDoctorJsonReport, buildReactDoctorOxlintCapabilities, calculateReactDoctorScore, calculateScore, calculateScoreBreakdown, clearCaches, clearReactDoctorConfigCache, coreRules, createReactDoctor, createReactDoctorOxlintConfig, createRuleRegistry, defineRule, diagnose, discoverReactProject, filterReactDoctorIssues, getScoreLabel, inspectReactProject, isReactDoctorError, loadReactDoctorConfig, parseReactMajorVersion, reactDoctorEslintPlugin, reactDoctorOxlintPlugin, reactDoctorOxlintRuleMetadata, reactPeerRangeMinMajor, reactProjectStructureRule, resolveConfigRootDirectory, ruleRegistry, runOxlint, shouldEnableReactDoctorOxlintRule, summarizeReactDoctorResult, toOxlintProjectInfo, toReactDoctorErrorInfo };
16
-
17
- //# sourceMappingURL=sdk.js.map