You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESLint crashes with the error TypeError: Error while loading rule 'jsdoc/check-param-names': Cannot destructure property 'lines' of 'sourceCode' as it is undefined.
The method getSourceCode was deprecated and can be avoided in more recent versions of ESLint, but apparently the replacement hasn't been around for very long.
Expected behavior
The rule should run properly.
Actual behavior
ESLint crashes with the error
TypeError: Error while loading rule 'jsdoc/check-param-names': Cannot destructure property 'lines' of 'sourceCode' as it is undefined.
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 46.8.1The text was updated successfully, but these errors were encountered: