From 5c4e82f105248f7d467b8199ce047e7bfe6847a2 Mon Sep 17 00:00:00 2001 From: Andrey Polischuk Date: Wed, 24 Jan 2024 17:41:47 +0300 Subject: [PATCH] feat(eslint-config): add import default rules --- packages/eslint-config/js.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/eslint-config/js.js b/packages/eslint-config/js.js index af21e49..e1da073 100644 --- a/packages/eslint-config/js.js +++ b/packages/eslint-config/js.js @@ -133,6 +133,9 @@ module.exports = { 'import/no-useless-path-segments': 'error', 'import/no-default-export': 'error', 'import/no-duplicates': 'error', + 'import/no-self-import': 'error', + 'import/no-named-as-default': 'error', + 'import/no-named-as-default-member': 'error', 'import/no-anonymous-default-export': 'error', 'import/no-unused-modules': [ 'error',