Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 2c093d6

Browse files
committed
turn on rule for unused exports
1 parent d1515e0 commit 2c093d6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/import.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ module.exports = {
6262
allow: ['**/*.css', '*polyfill*'],
6363
}],
6464
'import/no-unresolved': 'error',
65-
'import/no-unused-modules': 'error',
65+
'import/no-unused-modules': ['error', {
66+
missingExports: false,
67+
unusedExports: true,
68+
src: undefined,
69+
ignoreExports: undefined,
70+
}],
6671
'import/no-useless-path-segments': ['error', {
6772
noUselessIndex: true,
6873
}],

0 commit comments

Comments
 (0)