From 25cd8d3df0e6810296aafd6ba7273f809206cf36 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 21 Nov 2020 19:07:47 +0100 Subject: [PATCH] allow css import with sideeffects --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c27219a..b950ca6 100644 --- a/index.js +++ b/index.js @@ -72,7 +72,7 @@ module.exports = { 'import/order': 'error', 'import/newline-after-import': 'error', 'import/prefer-default-export': 'off', - 'import/no-unassigned-import': 'error', + 'import/no-unassigned-import': ['error', { allow: ['*.css', '*.scss'] }], 'import/no-named-default': 'error' } }