At some point the unicorn plugin added a rule preferring JavaScript modules (ESM) over CommonJS. This rule breaks most of our node apps that use Express.
The simplest solution is to remove this rule for the node configuration to maintain compatibility.
At some point the
unicorn
plugin added a rule preferring JavaScript modules (ESM) over CommonJS. This rule breaks most of our node apps that use Express.The simplest solution is to remove this rule for the node configuration to maintain compatibility.