import-js/eslint-plugin-import

False positive of `no-import-module-exports` on `module` variable defined in the module

Open

#2.181 aberto em 9 de ago. de 2021

Ver no GitHub
 (18 comments) (3 reactions) (0 assignees)JavaScript (1.540 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (4.946 stars)
Métricas de merge de PR
 (Mesclagem média 138d 22h) (3 fundiu PRs em 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;

Guia do colaborador