From 79b63bc0c9481e9edd714bcaf4075465664cfd4d Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 3 Apr 2023 14:43:41 +0200 Subject: [PATCH] chore: enable hoist --- .npmrc | 1 + packages/eslint-config-basic/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index 319e41e..b8c0a64 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ strict-peer-dependencies=false +shamefully-hoist=true diff --git a/packages/eslint-config-basic/index.js b/packages/eslint-config-basic/index.js index 00d5f76..0b46159 100644 --- a/packages/eslint-config-basic/index.js +++ b/packages/eslint-config-basic/index.js @@ -208,7 +208,7 @@ module.exports = { 'import/no-mutable-exports': 'error', 'import/no-unresolved': 'off', 'import/no-absolute-path': 'off', - 'import/newline-after-import': ['error', { 'count': 1 }], + 'import/newline-after-import': ['error', { count: 1 }], // Common 'semi': ['error', 'never'],