From 0d5eb8248c9073145f7d1465d3c203094e39496a Mon Sep 17 00:00:00 2001 From: erasermeng Date: Sun, 28 Jun 2020 15:06:37 +0800 Subject: [PATCH] feat: change Prefer default export to no default export --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 4f12162..98af2c2 100644 --- a/index.js +++ b/index.js @@ -107,5 +107,9 @@ module.exports = { }, { enforceForRenamedProperties: false, }], + + // no default export is better, see https://gitlab.com/gitlab-org/frontend/rfcs/-/issues/20 + "import/prefer-default-export": "off", + "import/no-default-export": "error" }, };