From 5a60be73610b34cb92c8fb39291ad3c932590f83 Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Fri, 17 May 2024 16:28:48 -0400 Subject: [PATCH] feat(eslint): no-restricted-exports --- assets/.eslintrc.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/.eslintrc.js b/assets/.eslintrc.js index c4f62720e..ea38c513a 100644 --- a/assets/.eslintrc.js +++ b/assets/.eslintrc.js @@ -32,6 +32,16 @@ module.exports = { "no-console": "error", "prefer-rest-params": "off", "no-sparse-arrays": "off", + "no-restricted-exports": ["warn", + { + "restrictDefaultExports": { + "direct": true, + "named": true, + "defaultFrom": true, + "namedFrom": true, + "namespaceFrom": true + } + }], "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-unused-vars": [