import-js/eslint-plugin-import
Vedi su GitHubFalse positive of `no-import-module-exports` on `module` variable defined in the module
Open
#2181 aperta il 9 ago 2021
bughelp wanted
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
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;