import-js/eslint-plugin-import
New feature - get error at multiple named import
開放
#1,994 建立於 2021年2月24日
help wantedrule proposal
倉庫指標
- 星標
- (5,940 顆星)
- PR 合併指標
- (平均合併 138天 22小時) (30 天內合併 3 個 PR)
描述
For better code split and tree shake, need this to warn/error
// WANT THIS
// not ok
import { a, b } from 'package'
// ok
import { a } from 'package/a'
import { b } from 'package/b'
but have this (want Inverted(?) group-exports rule)

If possible, with regex, to ignore selected packages (like react, storybook, @types, etc)