From b6b9db824519fa590e9a00ecef0c9cd180b1ff6a Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Wed, 13 Nov 2024 15:48:22 -0700 Subject: [PATCH] comment out needless error, https://github.com/phetsims/perennial/issues/372 --- js/eslint/config/util/rootRules.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/eslint/config/util/rootRules.mjs b/js/eslint/config/util/rootRules.mjs index dc86401b..6a17afd7 100644 --- a/js/eslint/config/util/rootRules.mjs +++ b/js/eslint/config/util/rootRules.mjs @@ -464,8 +464,9 @@ export default { // Disallow specified global variables 'no-restricted-globals': 'error', - // Disallow specified modules when loaded by `import` - 'no-restricted-imports': 'error', + // // Disallow specified modules when loaded by `import`, commented out until there are imports to restrict everywhere. + // NOTE! There is already a usage of this for node configuration. Be careful about how this overrides. + // 'no-restricted-imports': 'error', // Disallow certain properties on certain objects 'no-restricted-properties': 'error',