import-js/eslint-plugin-import
Ver no GitHubRequest: the "no-duplicates" rule should support the 'declaration' style when importing flow types
Open
#1.241 aberto em 29 de nov. de 2018
flowhelp 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
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'