From 488f7ecead3567c0602e2257b56391cbf685d249 Mon Sep 17 00:00:00 2001 From: Stephen Marx Date: Mon, 16 Apr 2018 15:10:21 +0100 Subject: [PATCH] Fix: import with explicit side-effect triggered when importing CSS --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dd3944a..09ac676 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ const commonRules = { 'no-dynamic-delete': true, 'no-empty': false, 'no-implicit-dependencies': [true, 'dev'], - 'no-import-side-effect': true, + 'no-import-side-effect': [true, {"ignore-module": "\\.css$"}], 'no-invalid-template-strings': true, 'no-invalid-this': true, 'no-magic-numbers': true,