Closed marchuffnagle closed 1 year ago
Seems to be related to https://github.com/xojs/xo/issues/718
https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2076 seems to indicate that upgrading to eslint-plugin-unicorn v46.0.1 should fix the problem. Annoyingly, it's still failing after I update to that newer version.
I also tried updating the version of xo
to 0.55.0, which is supposed to fix the issue. That raises the minimum required node version to 16, though. This library currently requires v14. Upgrading xo causes failures for new reasons:
$ npm test
> del@7.0.0 test /home/x/src/del
> xo && ava && tsd
file:///home/x/src/del/node_modules/xo/node_modules/meow/build/index.js:29
description &&= help ? `\n ${description}\n` : `\n${description}`;
^^^
SyntaxError: Unexpected token '&&='
at Loader.moduleStrategy (internal/modules/esm/translators.js:149:18)
npm ERR! Test failed. See above for more details.
The main branch is failing with this error: