{
  "id": "P083",
  "slug": "eslint-v10-removed-context-getsourcecode-rule-context-sourcecode-api-typeerror-custom-rule",
  "status": "search-observed",
  "product": "ESLint",
  "family": "Build plugin/config relocation",
  "canonical_url": "https://gitdocs.org/fix/eslint-v10-removed-context-getsourcecode-rule-context-sourcecode-api-typeerror-custom-rule",
  "query_alias_url": "https://gitdocs.org/q/eslint-v10-removed-context-getsourcecode-rule-context-sourcecode-api-typeerror-custom-rule",
  "markdown_url": "https://gitdocs.org/fix/eslint-v10-removed-context-getsourcecode-rule-context-sourcecode-api-typeerror-custom-rule.md",
  "json_url": "https://gitdocs.org/api/fixes/eslint-v10-removed-context-getsourcecode-rule-context-sourcecode-api-typeerror-custom-rule.json",
  "canonical_query": "ESLint v10 removed context.getSourceCode rule context sourceCode API TypeError custom rule",
  "observed_codex_queries": [
    "ESLint v10 removed context.getSourceCode rule context sourceCode API TypeError custom rule",
    "site:eslint.org context.getSourceCode deprecated SourceCode property custom rules",
    "ESLint custom rules context sourceCode getSourceCode",
    "https://eslint.org/docs/latest/extend/custom-rules",
    "'Removal of deprecated context members' in https://eslint.org/docs/latest/use/migrate-to-10.0.0"
  ],
  "organic_dependency_search_count": 6,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "The old package/config name is syntactically valid, but current tool packaging and discovery rules live in external release documentation.",
  "before": "",
  "after": "",
  "verification": "Verifier checks the current package identity/config format and a real transformed output. Check the exact intended lint findings, not merely process exit 0.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": false,
    "no_web_strict_pass": null,
    "search_necessity_under_fixture": null,
    "no_web_oracle_note": "Observed query evidence is separated from necessity proof; no-web and stale-contract counterfactuals should be tracked separately."
  },
  "source_trail": [
    {
      "url": "https://eslint.org/blog/2026/02/eslint-v10.0.0-released/",
      "label": "ESLint v10.0.0"
    },
    {
      "url": "https://eslint.org/docs/latest/extend/custom-rules",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
