import-js/eslint-plugin-import

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

Open

#2,181 opened on 2021年8月9日

GitHub で見る
 (18 comments) (3 reactions) (0 assignees)JavaScript (1,540 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (平均マージ 138d 22h) (30d で 3 merged PRs)

説明

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;

コントリビューターガイド