import-js/eslint-plugin-import

no-unused-modules doesn't report unused Flow type exports

Open

#1,540 opened on Nov 13, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1,540 forks)batch import
bugflowhelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 30d)

Description

// foo.js

// @flow strict
export type Foo = string
export default ''
// index.js

// @flow strict
import foo from './foo'

Expected: export type Foo is reported as unused Actual: no errors

Contributor guide