import-js/eslint-plugin-import
View on GitHubRequest: the "no-duplicates" rule should support the 'declaration' style when importing flow types
Open
#1,241 opened on Nov 29, 2018
flowhelp wanted
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
The "no-duplicates" correctly distinguishes Flow type imports from standard imports.
import {myClass} from './mod'
import type {myType} from './mod'
When using the 'declaration' style this is no longer possible:
import {myClass} from './mod'
import {type myType} from './mod'