[ESLint] Add a deprecation plugin to warn on deprecated code
Is your feature request related to a problem? Please describe.
We identified a legacy document method to copy text to the clipboard in https://github.com/elastic/eui/issues/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
👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.
Hi all can someone please assign this issue to me I would like to work on adding this plugin
Hi @Param-Singh, per our contributing policy, we do not assign issues to non-core contributors. You are welcome to work on it, however, and submit a PR.
https://github.com/elastic/eui/tree/main/wiki/contributing-to-eui#who-can-contribute
If you find an issue that is not assigned, assume that you are welcome to work on it and can submit a pull request. We recommend that you leave us a comment indicating your intent before starting work to avoid potential conflict. We do not, as a policy, assign issues to community members
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.