react-doctor 0.4.2-dev.42c339f → 0.4.2-dev.5e9cc3b
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/README.md
CHANGED
|
@@ -41,32 +41,13 @@ Works with Claude Code, Cursor, Codex, OpenCode, and many more.
|
|
|
41
41
|
|
|
42
42
|
React Doctor CI (GitHub Actions) reviews every pull request automatically and reports only the issues your change introduced, not your existing backlog.
|
|
43
43
|
|
|
44
|
-
[Add GitHub Action →](https://react.doctor/ci)
|
|
44
|
+
[Add GitHub Action →](https://react.doctor/docs/ci-and-prs/github-actions-setup)
|
|
45
45
|
|
|
46
|
-
### 4. Configure rules
|
|
46
|
+
### 4. Configure rules
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
You can configure which rules to run and how to run them in `doctor.config.ts`.
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
// doctor.config.ts
|
|
52
|
-
import { defineConfig } from "react-doctor/api";
|
|
53
|
-
|
|
54
|
-
export default defineConfig({
|
|
55
|
-
lint: true,
|
|
56
|
-
rules: {
|
|
57
|
-
"react-doctor/no-array-index-as-key": "off",
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Prefer JSON? Use `doctor.config.json`:
|
|
63
|
-
|
|
64
|
-
```jsonc
|
|
65
|
-
{
|
|
66
|
-
"$schema": "https://react.doctor/schema/config.json",
|
|
67
|
-
"lint": true,
|
|
68
|
-
}
|
|
69
|
-
```
|
|
50
|
+
[Learn more →](https://react.doctor/docs/configuration/config-files)
|
|
70
51
|
|
|
71
52
|
## Telemetry
|
|
72
53
|
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7beb6e39-972a-50b2-8e64-d808dcdb3925")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
@@ -6725,7 +6725,6 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
|
|
|
6725
6725
|
"react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
|
|
6726
6726
|
"react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
|
|
6727
6727
|
"react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
|
|
6728
|
-
"react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
|
|
6729
6728
|
"react/jsx-no-undef": "react-doctor/jsx-no-undef",
|
|
6730
6729
|
"react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
|
|
6731
6730
|
"react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
|
|
@@ -12248,7 +12247,7 @@ const makeNoopConsole = () => ({
|
|
|
12248
12247
|
});
|
|
12249
12248
|
//#endregion
|
|
12250
12249
|
//#region src/cli/utils/version.ts
|
|
12251
|
-
const VERSION = "0.4.2-dev.
|
|
12250
|
+
const VERSION = "0.4.2-dev.5e9cc3b";
|
|
12252
12251
|
//#endregion
|
|
12253
12252
|
//#region src/cli/utils/json-mode.ts
|
|
12254
12253
|
let context = null;
|
|
@@ -12606,13 +12605,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12606
12605
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12607
12606
|
* standard `SENTRY_RELEASE` override.
|
|
12608
12607
|
*/
|
|
12609
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.2-dev.
|
|
12608
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.2-dev.5e9cc3b`;
|
|
12610
12609
|
/**
|
|
12611
12610
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12612
12611
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12613
12612
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12614
12613
|
*/
|
|
12615
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.2-dev.
|
|
12614
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.2-dev.5e9cc3b") ? "development" : "production");
|
|
12616
12615
|
/**
|
|
12617
12616
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12618
12617
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -15875,13 +15874,14 @@ const buildRuntimeLayers = (input) => {
|
|
|
15875
15874
|
const linterLayer = input.shouldSkipLint ? Linter.layerOf([]) : Linter.layerOxlint;
|
|
15876
15875
|
const deadCodeLayer = input.shouldRunDeadCode ? DeadCode.layerNode : DeadCode.layerOf([]);
|
|
15877
15876
|
const scoreLayer = input.shouldComputeScore ? Score.layerHttp : Score.layerOf(null);
|
|
15877
|
+
const projectLayer = input.projectInfoOverride === void 0 ? Project.layerNode : Project.layerOf(input.projectInfoOverride);
|
|
15878
15878
|
const progressLayer = input.shouldShowProgressSpinners ? Progress.layerOra(buildSpinnerProgressHandle) : Progress.layerNoop;
|
|
15879
15879
|
const configLayer = input.hasConfigOverride ? Config.layerOf({
|
|
15880
15880
|
config: input.userConfig,
|
|
15881
15881
|
resolvedDirectory: input.directory,
|
|
15882
15882
|
configSourceDirectory: input.configSourceDirectory
|
|
15883
15883
|
}) : Config.layerNode;
|
|
15884
|
-
const baseLayers = Layer.mergeAll(
|
|
15884
|
+
const baseLayers = Layer.mergeAll(projectLayer, configLayer, Files.layerNode, Git.layerNode, linterLayer, LintPartialFailures.layerLive, deadCodeLayer, progressLayer, Reporter.layerNoop, scoreLayer);
|
|
15885
15885
|
return input.oxlintConcurrency === void 0 ? baseLayers : Layer.mergeAll(baseLayers, Layer.succeed(OxlintConcurrency, input.oxlintConcurrency));
|
|
15886
15886
|
};
|
|
15887
15887
|
//#endregion
|
|
@@ -17348,6 +17348,7 @@ const runBaselineComparison = async (params) => {
|
|
|
17348
17348
|
hasConfigOverride: true,
|
|
17349
17349
|
userConfig: params.userConfig,
|
|
17350
17350
|
configSourceDirectory: null,
|
|
17351
|
+
projectInfoOverride: params.headProjectInfo,
|
|
17351
17352
|
shouldSkipLint: !params.options.lint || !params.resolvedNodeBinaryPath,
|
|
17352
17353
|
shouldRunDeadCode: false,
|
|
17353
17354
|
shouldComputeScore: false,
|
|
@@ -17447,6 +17448,7 @@ const runInspectWithRuntime = async (directory, options, userConfig, hasConfigOv
|
|
|
17447
17448
|
directory,
|
|
17448
17449
|
options,
|
|
17449
17450
|
userConfig,
|
|
17451
|
+
headProjectInfo: output.project,
|
|
17450
17452
|
headDiagnostics: output.diagnostics,
|
|
17451
17453
|
resolvedNodeBinaryPath,
|
|
17452
17454
|
baselineRef: options.baseline.ref
|
|
@@ -18041,37 +18043,20 @@ const buildWorkflowContent = () => `# React Doctor — finds security, performan
|
|
|
18041
18043
|
name: React Doctor
|
|
18042
18044
|
|
|
18043
18045
|
on:
|
|
18046
|
+
# Scans the PR's changed files and posts a sticky summary comment listing only the new issues introduced relative to the merge base of the target branch.
|
|
18044
18047
|
pull_request:
|
|
18045
18048
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
18046
|
-
# Scans \`main\` on every push
|
|
18047
|
-
# default branch — useful for tracking the overall number commit-by-commit
|
|
18048
|
-
# and catching regressions that slipped past PR review. PR-specific steps
|
|
18049
|
-
# (the sticky summary comment) are skipped automatically on \`push\` events.
|
|
18050
|
-
# Comment this block out if you only want PR-time scans.
|
|
18049
|
+
# Scans \`main\` on every push to track the health-score trend and catch regressions that slipped past PR review.
|
|
18051
18050
|
push:
|
|
18052
18051
|
branches: [main]
|
|
18053
18052
|
|
|
18054
18053
|
permissions:
|
|
18055
|
-
# \`actions/checkout\` needs this to read the repo source.
|
|
18056
18054
|
contents: read
|
|
18057
|
-
# Two uses: (1) reads the PR's changed-file list so the scan only checks
|
|
18058
|
-
# what the PR touched (faster, scoped to the diff), and (2) posts/updates
|
|
18059
|
-
# the sticky React Doctor summary comment on the PR. Downgrade \`write\` to
|
|
18060
|
-
# \`read\` to keep the changed-file scan but disable comment posting.
|
|
18061
18055
|
pull-requests: write
|
|
18062
|
-
# The sticky-comment step uses GitHub's \`issues.createComment\` /
|
|
18063
|
-
# \`issues.updateComment\` endpoints — those are the same APIs that back PR
|
|
18064
|
-
# comments (PRs are issues under the hood). Not exercised on \`push\`
|
|
18065
|
-
# events, so safe to drop if you only run on \`main\`.
|
|
18066
18056
|
issues: write
|
|
18067
|
-
# Lets the action publish a commit status with the score + error/warning
|
|
18068
|
-
# counts (links to the run). This is how a \`push\` to \`main\` surfaces its
|
|
18069
|
-
# result, since the PR comment is skipped off pull requests. Drop it to
|
|
18070
|
-
# disable the status (or set \`commit-status: false\` below).
|
|
18071
18057
|
statuses: write
|
|
18072
18058
|
|
|
18073
|
-
# Cancels any in-flight scan for the same PR (or branch, on push) the moment
|
|
18074
|
-
# a new commit arrives, so reviewers only ever see the latest run.
|
|
18059
|
+
# Cancels any in-flight scan for the same PR (or branch, on push) the moment a new commit arrives, so reviewers only ever see the latest run.
|
|
18075
18060
|
concurrency:
|
|
18076
18061
|
group: react-doctor-\${{ github.event.pull_request.number || github.ref }}
|
|
18077
18062
|
cancel-in-progress: true
|
|
@@ -19301,29 +19286,6 @@ const getSkillSourceDirectory = () => {
|
|
|
19301
19286
|
const distDirectory = path$1.dirname(fileURLToPath(import.meta.url));
|
|
19302
19287
|
return path$1.join(distDirectory, "skills", SKILL_NAME);
|
|
19303
19288
|
};
|
|
19304
|
-
const findBundledSiblingSkills = (primarySkillDir) => {
|
|
19305
|
-
const skillsParent = path$1.dirname(primarySkillDir);
|
|
19306
|
-
if (!fs$1.existsSync(skillsParent)) return [];
|
|
19307
|
-
const resolvedPrimary = path$1.resolve(primarySkillDir);
|
|
19308
|
-
return fs$1.readdirSync(skillsParent, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => ({
|
|
19309
|
-
name: entry.name,
|
|
19310
|
-
source: path$1.join(skillsParent, entry.name)
|
|
19311
|
-
})).filter((sibling) => path$1.resolve(sibling.source) !== resolvedPrimary && fs$1.existsSync(path$1.join(sibling.source, SKILL_MANIFEST_FILE)));
|
|
19312
|
-
};
|
|
19313
|
-
const installBundledSiblingSkills = async (primarySkillDir, agents, projectRoot) => {
|
|
19314
|
-
const installedSkillNames = [];
|
|
19315
|
-
for (const sibling of findBundledSiblingSkills(primarySkillDir)) {
|
|
19316
|
-
const result = await installSkillsFromSource({
|
|
19317
|
-
source: sibling.source,
|
|
19318
|
-
agents: [...agents],
|
|
19319
|
-
cwd: projectRoot,
|
|
19320
|
-
mode: "copy"
|
|
19321
|
-
});
|
|
19322
|
-
if (result.failed.length > 0) throw new Error(result.failed.map((failure) => `${getSkillAgentConfig(failure.agent).displayName}: ${failure.error}`).join("\n"));
|
|
19323
|
-
if (result.skills.length > 0) installedSkillNames.push(sibling.name);
|
|
19324
|
-
}
|
|
19325
|
-
return installedSkillNames;
|
|
19326
|
-
};
|
|
19327
19289
|
const canInstallNativeAgentHooks = (agents) => agents.some((agent) => agent === "claude-code" || agent === "cursor");
|
|
19328
19290
|
const installReactDoctorSkillStep = async (sourceDir, selectedAgents, projectRoot) => {
|
|
19329
19291
|
const installSpinner = spinner(`Installing ${SKILL_NAME} skill...`).start();
|
|
@@ -19341,12 +19303,6 @@ const installReactDoctorSkillStep = async (sourceDir, selectedAgents, projectRoo
|
|
|
19341
19303
|
installSpinner.fail(`Failed to install ${SKILL_NAME} skill.`);
|
|
19342
19304
|
throw error;
|
|
19343
19305
|
}
|
|
19344
|
-
try {
|
|
19345
|
-
const installedSiblingSkills = await installBundledSiblingSkills(sourceDir, selectedAgents, projectRoot);
|
|
19346
|
-
if (installedSiblingSkills.length > 0) cliLogger.dim(` Also installed the ${installedSiblingSkills.join(", ")} skill.`);
|
|
19347
|
-
} catch {
|
|
19348
|
-
cliLogger.dim(" Skipped bundled sibling skills (install error).");
|
|
19349
|
-
}
|
|
19350
19306
|
};
|
|
19351
19307
|
const installReactDoctorGitHookStep = (gitHookTarget) => {
|
|
19352
19308
|
const hookSpinner = spinner("Installing React Doctor pre-commit hook...").start();
|
|
@@ -19490,7 +19446,6 @@ const runInstallReactDoctor = async (options = {}) => {
|
|
|
19490
19446
|
cliLogger.log(`Dry run — would install ${SKILL_NAME} skill for:`);
|
|
19491
19447
|
for (const agent of selectedAgents) cliLogger.dim(` - ${getSkillAgentConfig(agent).displayName}`);
|
|
19492
19448
|
cliLogger.dim(` Source: ${sourceDir}`);
|
|
19493
|
-
for (const sibling of findBundledSiblingSkills(sourceDir)) cliLogger.dim(` Also installs skill: ${sibling.name}`);
|
|
19494
19449
|
cliLogger.dim(" Package script: doctor (or react-doctor if doctor exists)");
|
|
19495
19450
|
cliLogger.dim(" Dev dependency: react-doctor");
|
|
19496
19451
|
if (shouldInstallGitHook) cliLogger.dim(` Git hook: ${gitHookPath}`);
|
|
@@ -21622,4 +21577,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
21622
21577
|
export {};
|
|
21623
21578
|
|
|
21624
21579
|
//# sourceMappingURL=cli.js.map
|
|
21625
|
-
//# debugId=
|
|
21580
|
+
//# debugId=7beb6e39-972a-50b2-8e64-d808dcdb3925
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="82aa4a60-8b72-5f7a-bdd2-285b7fe0e8f3")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import * as Schema from "effect/Schema";
|
|
5
5
|
import * as fs$1 from "node:fs";
|
|
@@ -3695,7 +3695,6 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
|
|
|
3695
3695
|
"react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
|
|
3696
3696
|
"react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
|
|
3697
3697
|
"react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
|
|
3698
|
-
"react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
|
|
3699
3698
|
"react/jsx-no-undef": "react-doctor/jsx-no-undef",
|
|
3700
3699
|
"react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
|
|
3701
3700
|
"react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
|
|
@@ -8990,4 +8989,4 @@ const toJsonReport = (result, options) => buildJsonReport({
|
|
|
8990
8989
|
export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
8991
8990
|
|
|
8992
8991
|
//# sourceMappingURL=index.js.map
|
|
8993
|
-
//# debugId=
|
|
8992
|
+
//# debugId=82aa4a60-8b72-5f7a-bdd2-285b7fe0e8f3
|
package/dist/lsp.js
CHANGED
|
@@ -3706,7 +3706,6 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
|
|
|
3706
3706
|
"react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
|
|
3707
3707
|
"react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
|
|
3708
3708
|
"react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
|
|
3709
|
-
"react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
|
|
3710
3709
|
"react/jsx-no-undef": "react-doctor/jsx-no-undef",
|
|
3711
3710
|
"react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
|
|
3712
3711
|
"react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
|
|
@@ -10854,5 +10853,5 @@ const startLanguageServer = () => {
|
|
|
10854
10853
|
};
|
|
10855
10854
|
//#endregion
|
|
10856
10855
|
export { startLanguageServer };
|
|
10857
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
10858
|
-
//# debugId=
|
|
10856
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3b471215-177c-57c1-8d5c-36e42d96995b")}catch(e){}}();
|
|
10857
|
+
//# debugId=3b471215-177c-57c1-8d5c-36e42d96995b
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: react-doctor
|
|
3
3
|
description: Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.2.0"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# React Doctor
|
|
@@ -34,7 +34,7 @@ Pair it with the matching per-rule prompts at `https://www.react.doctor/prompts/
|
|
|
34
34
|
|
|
35
35
|
## Configuring or explaining rules
|
|
36
36
|
|
|
37
|
-
When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code),
|
|
37
|
+
When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read [references/explain.md](references/explain.md) and follow it. Start with `npx react-doctor@latest rules explain <rule>`, then apply the narrowest control via `npx react-doctor@latest rules disable|set|category|ignore-tag …`, which edits your `doctor.config.*` (or `package.json#reactDoctor`).
|
|
38
38
|
|
|
39
39
|
## Command
|
|
40
40
|
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
name: doctor-explain
|
|
3
|
-
description: Explain React Doctor rules and configure which ones run via doctor.config.* (or package.json#reactDoctor). Use when the user types `/doctor-explain` or `/doctor-config`, asks why a rule fired, disagrees with a rule, wants to disable/enable a rule, silence a category or tag, tune CI/PR noise, or asks "what does this rule mean". Covers the `react-doctor rules` CLI (list, explain, set, enable, disable, category, ignore-tag) and how config layers combine: ignore.tags disables matching rules before linting, rules over categories sets severity, surfaces controls visibility only.
|
|
4
|
-
version: "1.0.0"
|
|
5
|
-
---
|
|
1
|
+
# Explaining and configuring rules
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
Explain React Doctor rules and edit `doctor.config.*` safely. Use this when a user
|
|
4
|
+
wants to understand a rule or change which rules run — not for fixing diagnostics
|
|
5
|
+
(that is the main `react-doctor` skill / `/doctor`).
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Triggers: `/doctor-explain`, `/doctor-config`, "why did this rule fire", "I disagree with this rule", "turn this rule off", "stop flagging X", "too noisy", "disable design rules".
|
|
7
|
+
Triggers: "why did this rule fire", "I disagree with this rule", "turn this rule off",
|
|
8
|
+
"stop flagging X", "too noisy", "disable design rules".
|
|
12
9
|
|
|
13
10
|
## Workflow
|
|
14
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.4.2-dev.
|
|
3
|
+
"version": "0.4.2-dev.5e9cc3b",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vscode-languageserver": "^9.0.1",
|
|
67
67
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
68
68
|
"vscode-uri": "^3.1.0",
|
|
69
|
-
"oxlint-plugin-react-doctor": "0.4.2-dev.
|
|
69
|
+
"oxlint-plugin-react-doctor": "0.4.2-dev.5e9cc3b"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@xterm/headless": "^6.0.0",
|
|
75
75
|
"commander": "^14.0.3",
|
|
76
76
|
"ora": "^9.4.0",
|
|
77
|
+
"@react-doctor/api": "0.4.2",
|
|
77
78
|
"@react-doctor/core": "0.4.2",
|
|
78
|
-
"@react-doctor/language-server": "0.4.2"
|
|
79
|
-
"@react-doctor/api": "0.4.2"
|
|
79
|
+
"@react-doctor/language-server": "0.4.2"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "^20.19.0 || >=22.12.0"
|