Skip to content

[ESLint] Add a deprecation plugin to warn on deprecated code #6914

Open

Description

Is your feature request related to a problem? Please describe.
We identified a legacy document method to copy text to the clipboard in #6912 and realized we don't currently lint for deprecated code.

Describe the solution you'd like
We would like to add ESLint-plugin-deprecation to warn (could also error) on deprecated code. It'd help us identify areas for improvement and keep EUI current with browsers.

The project has two dependencies, both of which are already in the EUI package.json file:

  • @typescript-eslint/parser
  • typescript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wantedThe EUI team is looking for community members to pick up and implement this issuetech debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions