Closed milanholemans closed 17 hours ago
Good idea 👍. Let's do that 🚢
Can I take it?
Just a short summary https://www.npmjs.com/package/eslint-plugin-deprecation checks for @deprecated JSDoc tag and allows to throw an error when a deprecated function is detected is some module. https://www.npmjs.com/package/eslint-plugin-deprecate doesn't check for @deprecated JSDoc tag. It allows to define elint rules to forbid some function usage and to suggest some alternatives. If a function in some module is deprecated, we won't detect it with this elint plugin.
I'm using eslint-plugin-deprecation
Thanks for the useful info @MartinM85! This should be the right one indeed.
Seems like we can't implement this fully due to the plugin not being able to handle our code base. Let's close this issue for now and revisit it in the future should things change.
Noticed that our codebase uses some deprecated functions in some places.
Maybe it's worth it to finally get rid of these deprecated functions. We can also enable an eslint rule so we're notified when other functions are being deprecated.
Examples: https://www.npmjs.com/package/eslint-plugin-deprecation https://www.npmjs.com/package/eslint-plugin-deprecate