Open leekahung opened 8 months ago
It looks like we could actually import the typedefs directly from typedefs.js
If that's the case, think we could open up an PR to change existing imported typedefs
which are still utilizing the JSDoc syntax to this format.
Never mind. I thought that would help, but this only works for the editor and intellisense. If we were to start this on a dev server, browser would complain.
Bug Description:
Currently, we're utilizing
eslint-plugin-jsdoc
for our linting when it comes to JSDoc. However, it does not cover everything such as picking up unused@typedefs
. At the moment, the plugin does not have rules for that like it does withno-unused-vars
within its configuration, thus people had to manually remove unused@typedefs
when found.Possible Solution (optional):
@typedefs
typedefs
similar to that of importing variables/libraries from other files (See screenshots below)