Skip to content

Commit 3d33b70

Browse files
committed
[flow] no-unused-modules: add flow type support
1 parent f9d7e2b commit 3d33b70

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/rules/no-unused-modules.js

-3
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ module.exports = {
392392
}
393393

394394
exports = exportList.get(file)
395-
console.log('file: ', file)
396395

397396
// special case: export * from
398397
const exportAll = exports.get(EXPORT_ALL_DECLARATION)
@@ -411,10 +410,8 @@ module.exports = {
411410
}
412411

413412
const exportStatement = exports.get(exportedValue)
414-
console.log('exportStatement: ', exportStatement)
415413

416414
const value = exportedValue === IMPORT_DEFAULT_SPECIFIER ? DEFAULT : exportedValue
417-
console.log('value: ', value)
418415

419416
if (typeof exportStatement !== 'undefined'){
420417
if (exportStatement.whereUsed.size < 1) {

0 commit comments

Comments
 (0)