Skip to content

chore: switch to @tony.ganchev/eslint-plugin-header#4308

Merged
georgylobko merged 2 commits intocloudscape-design:mainfrom
tonyganchev:main
Mar 26, 2026
Merged

chore: switch to @tony.ganchev/eslint-plugin-header#4308
georgylobko merged 2 commits intocloudscape-design:mainfrom
tonyganchev:main

Conversation

@tonyganchev
Copy link
Copy Markdown
Contributor

@tonyganchev tonyganchev commented Feb 27, 2026

Description

eslint-plugin-header has not seen any updates for 4+ years.

The new forked version natively supports ESLint 9 including a fully validated schema
and has tons of bug-fixes and improvements.

Switched to the new object-based config format but can revert to the old one (v3.1.x) to simplify transition.

I've sent PR proposals to other projects in the cloudscape-design space:

How has this been tested?

npm run lint
Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

N/A

Testing

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tonyganchev tonyganchev requested a review from a team as a code owner February 27, 2026 06:53
@tonyganchev tonyganchev requested review from georgylobko and removed request for a team February 27, 2026 06:53
@tonyganchev tonyganchev changed the title devops: swtich to @tony.ganchev/eslint-plugin-header chore: swtich to @tony.ganchev/eslint-plugin-header Feb 27, 2026
@tonyganchev tonyganchev marked this pull request as draft February 27, 2026 07:02
@tonyganchev
Copy link
Copy Markdown
Contributor Author

tonyganchev commented Feb 27, 2026

I'd work on a feature to support the @jest-environement comments in the plugin. Until I publish the work, I'd keep this PR as a draft.

@tonyganchev tonyganchev changed the title chore: swtich to @tony.ganchev/eslint-plugin-header chore: switch to @tony.ganchev/eslint-plugin-header Mar 1, 2026
@tonyganchev tonyganchev marked this pull request as ready for review March 10, 2026 09:22
@tonyganchev
Copy link
Copy Markdown
Contributor Author

I'd work on a feature to support the @jest-environement comments in the plugin. Until I publish the work, I'd keep this PR as a draft.

Feature added to @tony.ganchev/eslint-plugin-header@3.3.0.

tonyganchev added a commit to tonyganchev/demos that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  @jest-environment.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/components#4308

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/collection-hooks that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  @jest-environment.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/components#4308
- cloudscape-design/demos#243

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/test-utils that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  @jest-environment.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/components#4308
- cloudscape-design/demos#243

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/component-toolkit that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment``. In the case of the current review, this allowed
  me to remove the `eslint-disable` directive from two tests and
  reintroduce validation which was actually failing because of the
  missing empty line after the header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/theming-core that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/code-view that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/jest-preset that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/board-components that referenced this pull request Mar 15, 2026
I noticed you are using eslint-plugin-header on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/chart-components that referenced this pull request Mar 15, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/board-components#401
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/global-styles that referenced this pull request Mar 16, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/board-components#401
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/global-styles that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/board-components#401
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/code-view that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/jest-preset that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/chart-components that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/board-components#401
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/chat-components that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one file and reintroduce validation.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/board-components#401
- cloudscape-design/browser-test-tools#188
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/documenter#112
- cloudscape-design/global-styles#73
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/test-utils that referenced this pull request Mar 24, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  @jest-environment.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/components#4308
- cloudscape-design/demos#243

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/browser-test-tools that referenced this pull request Mar 25, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/board-components#401
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/global-styles#73
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/component-toolkit that referenced this pull request Mar 25, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment``. In the case of the current review, this allowed
  me to remove the `eslint-disable` directive from two tests and
  reintroduce validation which was actually failing because of the
  missing empty line after the header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/collection-hooks#136
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/browser-test-tools that referenced this pull request Mar 25, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/board-components#401
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/global-styles#73
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/demos that referenced this pull request Mar 26, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  @jest-environment.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/components#4308

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/jest-preset that referenced this pull request Mar 26, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/chart-components that referenced this pull request Mar 26, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/board-components#401
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/browser-test-tools that referenced this pull request Mar 26, 2026
Hi, team,

I noticed you are using eslint-plugin-header on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support for
ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the _cloudscape-design_ space:
- cloudscape-design/board-components#401
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/global-styles#73
- cloudscape-design/jest-preset#58
- cloudscape-design/test-utils#114
- cloudscape-design/theming-core#148

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/board-components that referenced this pull request Mar 26, 2026
I noticed you are using eslint-plugin-header on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/documenter that referenced this pull request Mar 26, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ with the schema-turn-off
workaround to support ESLint 9.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to address this
issue and hoped it would be a temporary measure but since the original
has not been updated for five years I decided to continue improving the
new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment`.

I've sent PR proposals to other projects in the cloudscape-design space:
- cloudscape-design/board-components#401
- cloudscape-design/browser-test-tools#188
- cloudscape-design/chart-components#185
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/global-styles#73
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
tonyganchev added a commit to tonyganchev/board-components that referenced this pull request Mar 26, 2026
I noticed you are using eslint-plugin-header on ESLint 8.

I forked _@tony.ganchev/eslint-plugin-header_ mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
eslint-plugin-header has not seen any updates for 4+ years.

The new forked version natively supports ESLint 9 and has tons of bug-fixes and improvements.

Switched to the new config format but can revert to the old one (v3.1.x) to simplify transition.
@georgylobko georgylobko enabled auto-merge March 26, 2026 15:54
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.43%. Comparing base (cf7862b) to head (471d9b2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4308   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files         903      903           
  Lines       26513    26513           
  Branches     9570     9569    -1     
=======================================
  Hits        25834    25834           
- Misses        636      673   +37     
+ Partials       43        6   -37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@georgylobko georgylobko added this pull request to the merge queue Mar 26, 2026
Merged via the queue into cloudscape-design:main with commit c8acad4 Mar 26, 2026
47 of 48 checks passed
@tonyganchev
Copy link
Copy Markdown
Contributor Author

Thanks!

ecosystem test: tonyganchev/eslint-plugin-header#165

tonyganchev added a commit to tonyganchev/chart-components that referenced this pull request Mar 27, 2026
Hi, team,

I noticed you are using _eslint-plugin-header_ on ESLint 8.

I forked @tony.ganchev/eslint-plugin-header mid-2024 to add support
for ESLint 9 and hoped it would be a temporary measure but since the
original has not been updated for five years I decided to continue
improving the new plugin and have been doing so for the last two years.

Specific improvements include:
- full JSON schema for validating the configuration.
- fixed multiple bugs with the behavior of the plugin on Windows.
- many other bug-fixes.
- improved autofixing and error-reporting behavior.
- added support for leading pragma comments before the header such as
  `@jest-environment` or `eslint-env`. In the case of the current
  review, this allowed me to remove the `eslint-disable` directive from
  one source and reintroduce validation for its header.

I switched the configuration to use the new config format for v3.2.x
as the leading comments feature is not supported by the array-based
format inherited from _eslint-plugin-header_.

I've sent PR proposals to other projects in the _cloudscape-design_
space:
- cloudscape-design/board-components#401
- cloudscape-design/code-view#122
- cloudscape-design/collection-hooks#136
- cloudscape-design/component-toolkit#200
- cloudscape-design/components#4308
- cloudscape-design/demos#243
- cloudscape-design/jest-preset#58
- cloudscape-design/theming-core#148
- cloudscape-design/test-utils#114

Looking forward to your feedback.
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