Been doing the same with ESLint already
github.com/vanillaes/li...
github.com
GitHub - vanillaes/lint-es: Modern linting for ECMAScript Modules
Modern linting for ECMAScript Modules. Contribute to vanillaes/lint-es development by creating an account on GitHub.