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 (4,946 stars) (1,540 forks)batch import
bugflowhelp wanted

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