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

Commit c7d4837

Browse files
committed
parially turn off rule for unassigned imports (CSS, polyfills)
1 parent 6c55e8a commit c7d4837

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/import.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ module.exports = {
5858
'import/no-relative-parent-imports': 'off',
5959
'import/no-restricted-paths': 'off',
6060
'import/no-self-import': 'error',
61-
'import/no-unassigned-import': 'error',
61+
'import/no-unassigned-import': ['error', {
62+
allow: ['**/*.css', '*polyfill*'],
63+
}],
6264
'import/no-unresolved': 'error',
6365
'import/no-unused-modules': 'error',
6466
'import/no-useless-path-segments': ['error', {

0 commit comments

Comments
 (0)