import-js/eslint-plugin-import
View on GitHubFalse positive of `no-import-module-exports` on `module` variable defined in the module
Open
#2,181 opened on Aug 9, 2021
bughelp wanted
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
import 'something'; // => Cannot use import declarations in modules that export using CommonJS (module.exports = 'foo' or exports.bar = 'hi') import/no-import-module-exports
export const module = {};
module.foo = 42;