new rule: no-mismatched-extensions #303
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
rules
related to rules or linting
This rule would determine the package type (ESM or CJS) via
package.json
, then check all the sources within to assert they are using the proper extensions.e.g:
The text was updated successfully, but these errors were encountered: