Hi,

I'm working on the Wikispeech extension for MediaWiki and I'm currently
running into an ESLint-related issue when I run npm run test Here's the
error:

Warning: Failed to load plugin 'jsdoc' declared in '.eslintrc.json »
eslint-config-wikimedia/server » ./common » ./jsdoc': Invalid regular
expression flags
Referenced from: node_modules/eslint-config-wikimedia/jsdoc.json
Aborted due to warnings.

We are currently using *Node v18.19.1*, and it looks like
*[email protected]* pulls in *[email protected]*, which
requires *Node ≥ 20.11.0*? Is that perhaps why it crashes due to
unsupported regular expression flags in Node 18? Is it confirmed that
upgrading to Node 20+ is now required for the current Wikimedia ESLint
configuration?

Kind regards,
*Viktoria Hillerud Ahlbäck*
*Developer*
Wikimedia Sverige (WMSE)
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to