Don’t worry, we won’t remove that method anytime soon. When we do end up removing it, there will be plenty of notice ahead of time.
As for moving that method into the plugin, we will likely leave that up to the community. The source for that method is self contained in this file: https://github.com/eslint/eslint/blob/master/lib/util/source-code.js I would suggest starting the conversation on the plugin repo by opening an issue. Thanks. On Wed, Nov 28, 2018 at 3:43 PM Brett <[email protected]> wrote: > Hi, > > Regarding end-of-lifing jsdoc support, if you are removing `getJSDocComment`, > note that `eslint-plugin-jsdoc` depends on `getJSDocComment`. > > May I suggest at least someone familiar with the code on the ESLint side > prepare a PR to `eslint-plugin-jsdoc` to extract and incorporate this > functionality so your recommended replacement itself won't break if you > remove this? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
