xojs/xo

Env is set to CommonJS and Unicorn's prefer-module error keeps getting thrown

tropicalraisel opened this issue · 1 comments

The error description is here.

I'd assume that xo would cover disabling this rule in when the commonjs env is set.

XO requires your project to be ESM. CommonJS is no longer supported.

https://github.com/xojs/xo/releases/tag/v0.40.0