Skip to content

chore(eslint): disable no deprecated rule in libs#1662

Open
akashsonune wants to merge 1 commit intomainfrom
chore/disable-no-depecated-in-libs
Open

chore(eslint): disable no deprecated rule in libs#1662
akashsonune wants to merge 1 commit intomainfrom
chore/disable-no-depecated-in-libs

Conversation

@akashsonune
Copy link
Member

@akashsonune akashsonune commented Mar 17, 2026

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request disables the @typescript-eslint/no-deprecated ESLint rule for several library packages. While the changes are simple, they lack a description explaining the rationale. Disabling this rule can introduce risks by allowing the use of deprecated APIs, which can lead to future maintenance issues and breaking changes. I've added comments on the specific changes suggesting to either address the underlying deprecations or, if that's not feasible right now, to document the reason for disabling the rule in the PR description and create a follow-up issue to re-enable it.

@spike-rabbit
Copy link
Member

Why do want to disable those rules?

@chintankavathia
Copy link
Member

Why do want to disable those rules?

they sort of prevent us deprecating anything in our libs. rule only make sense for our examples where we don't want to promote usage of deprecated stuff. internally we still need to use them for backward compatibility.

@akashsonune
Copy link
Member Author

akashsonune commented Mar 18, 2026

@spike-rabbit WDYT? This prevents me from using the deprecated ones for ex - #1656

btw,we also disabled the rule in element-ng. Maybe we can keep it as a warning?

@spike-rabbit
Copy link
Member

spike-rabbit commented Mar 18, 2026

In general I would be in favor to keep them, and disable in the files when we on purpose use deprecated stuff.

@siemens/siemens-element WDYT?

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.

3 participants