From 82a133d29a9376ae00f3efdc86fdd5c0dcb574c2 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Fri, 17 Dec 2021 11:27:53 -0800 Subject: [PATCH] fix: tweaking the `import/no-anonymous-default-export` rule --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9b4f8a07..fcdcd844 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ module.exports = { 'func-names': 'off', - 'import/no-anonymous-default-export': 'error', + 'import/no-anonymous-default-export': ['error', { allowArray: true, allowObject: true }], 'import/order': 'off', 'import/prefer-default-export': 'off',