Skip to content

refactor(eslint): drop use of deprecated method#44

Open
chintankavathia wants to merge 1 commit intomainfrom
refactor/remove-deprecated
Open

refactor(eslint): drop use of deprecated method#44
chintankavathia wants to merge 1 commit intomainfrom
refactor/remove-deprecated

Conversation

@chintankavathia
Copy link
Copy Markdown
Member

replaces deprecated typescriptEslint.config method of typescript-eslint with defineConfig of eslint/config

@chintankavathia chintankavathia marked this pull request as ready for review October 14, 2025 06:39
@chintankavathia chintankavathia requested a review from a team as a code owner October 14, 2025 06:39
Copy link
Copy Markdown
Member

@spike-rabbit spike-rabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defineConfig is rather new, it requires eslint 9.22.0. See https://github.com/eslint/eslint/releases/tag/v9.22.0.

Please make update the peer dependencies and make this a breaking change.

@fh1ch fh1ch added the enhancement New feature or request label Oct 16, 2025
Copy link
Copy Markdown
Member

@ljanner ljanner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we no longer support an eslint version range that does not include defineConfig we can proceed with this change and do not need to mark it as a breaking change.


Please resolve the conflicts and then we should get this in 👍

@chintankavathia chintankavathia force-pushed the refactor/remove-deprecated branch from f7b25a5 to b9dcf71 Compare April 6, 2026 05:41
@chintankavathia chintankavathia requested a review from ljanner April 6, 2026 05:42
Copy link
Copy Markdown
Member

@ljanner ljanner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one small detail, otherwise looks good 👍

Comment thread README.md Outdated
@chintankavathia chintankavathia force-pushed the refactor/remove-deprecated branch from b9dcf71 to 29cf5aa Compare April 9, 2026 05:36
@chintankavathia chintankavathia requested a review from ljanner April 9, 2026 06:04
replaces deprecated `typescriptEslint.config` method of `typescript-eslint` with `defineConfig` of `eslint/config`
@ljanner ljanner force-pushed the refactor/remove-deprecated branch from 29cf5aa to 3238d24 Compare April 9, 2026 19:07
Copy link
Copy Markdown
Member

@ljanner ljanner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ljanner ljanner requested a review from spike-rabbit April 9, 2026 19:09
Copy link
Copy Markdown
Member

@spike-rabbit spike-rabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need the breaking change.
Currently we have this in the peerDependencies:

Image

This must be at least 9.22.0 because before defineConfig was not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants