gajus / eslint-plugin-jsdoc

JSDoc specific linting rules for ESLint.
Other
1.09k stars 157 forks source link

SyntaxError: Unexpected token '||=' #1151

Closed dplewis closed 1 year ago

dplewis commented 1 year ago

I know that Node 14 has been dropped but other high level features have been reverted like https://github.com/gajus/eslint-plugin-jsdoc/pull/1149

/node_modules/eslint-plugin-jsdoc/dist/rules/informativeDocs.js:95
    descriptionReported ||= tag.description === description && /** @type {import('comment-parser').Spec & {line: import('../iterateJsdoc.js').Integer}} */

Environment

brettz9 commented 1 year ago

Sorry, that was for the sake of Node 16. Node 16+ are the currently supported versions, so closing.

dplewis commented 1 year ago

No problem, I understand