import-js/eslint-plugin-import

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

Aperta

#1540 aperta il 13 nov 2019

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (1549 fork)batch import
bugflowhelp wanted

Metriche repository

Star
 (5940 stelle)
Metriche merge PR
 (Merge medio 138g 22h) (3 PR mergiate in 30 g)

Descrizione

// 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

Guida contributor