Env is set to CommonJS and Unicorn's prefer-module error keeps getting thrown
tropicalraisel opened this issue · 1 comments
tropicalraisel commented
The error description is here.
I'd assume that xo would cover disabling this rule in when the commonjs env is set.
sindresorhus commented
XO requires your project to be ESM. CommonJS is no longer supported.