# What changed in eslint-plugin-tsdoc

> 4 changes in eslint-plugin-tsdoc 0.5 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/eslint-plugin-tsdoc/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## eslint-plugin-tsdoc 0.5

### Tooling

- Declared as an optional peer dependency so published typings resolve against the consumer's ESLint under non-hoisted installers. (0.5.3) — [release notes](https://github.com/microsoft/tsdoc/blob/76dcd8ea88e492b21657a22bf8afc4b600e6bfdf/eslint-plugin/CHANGELOG.md#053)

### Fixes and other changes

- Uses context.cwd instead of deprecated context.getCwd(), with a fallback for older ESLint versions, for ESLint 10 compatibility. (0.5.2) — [release notes](https://github.com/microsoft/tsdoc/blob/76dcd8ea88e492b21657a22bf8afc4b600e6bfdf/eslint-plugin/CHANGELOG.md#052)
- Uses context.sourceCode instead of deprecated context.getSourceCode(), with a fallback for older ESLint versions, for ESLint 10 compatibility. (0.5.2) — [release notes](https://github.com/microsoft/tsdoc/blob/76dcd8ea88e492b21657a22bf8afc4b600e6bfdf/eslint-plugin/CHANGELOG.md#052)
- Uses a more robust method to find the project root. (0.5.0) — [release notes](https://github.com/microsoft/tsdoc/blob/76dcd8ea88e492b21657a22bf8afc4b600e6bfdf/eslint-plugin/CHANGELOG.md#050)
