So I have an Angular NX Monorepo, which has a base eslint.config.js, and each lib extends the base config in its own config. All configs are CommonJS and use require() syntax. I want to use the simple sort plugin, which only supports ESM imports. So I can't just import it into my base config; I need to convert it ESM module. If so, I need to rewrite every other config that imports it to ESM also
I want to know if there is a way to use this ESM plugin without rewriting every config to ESM syntax? Maybe creating an adapter of some kind?
Thanks.