Skip to content

fix: replace eslint-plugin-header with ESLint 10 compatible fork#19

Merged
juherr merged 2 commits intorenovate/major-typescript-npmfrom
copilot/sub-pr-17
Feb 17, 2026
Merged

fix: replace eslint-plugin-header with ESLint 10 compatible fork#19
juherr merged 2 commits intorenovate/major-typescript-npmfrom
copilot/sub-pr-17

Conversation

Copy link

Copilot AI commented Feb 17, 2026

ESLint 10 removed the deprecated context.getSourceCode() API, breaking eslint-plugin-header v3.1.1 which uses this method for license header validation.

Changes

  • Dependencies: Replaced eslint-plugin-header with @tony.ganchev/eslint-plugin-header v3.2.1 (actively maintained fork with ESLint 10 support)
  • Configuration: Updated import in eslint.config.js to reference the new package

The fork is a drop-in replacement with identical API and functionality, requiring only the package name change.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: juherr <254697+juherr@users.noreply.github.com>
Copilot AI changed the title [WIP] Update TypeScript NPM dependency to major version fix: replace eslint-plugin-header with ESLint 10 compatible fork Feb 17, 2026
Copilot AI requested a review from juherr February 17, 2026 07:05
@juherr juherr marked this pull request as ready for review February 17, 2026 07:52
@juherr juherr merged commit ad98e3f into renovate/major-typescript-npm Feb 17, 2026
4 of 5 checks passed
@juherr juherr deleted the copilot/sub-pr-17 branch February 17, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments