From a7a630bfd00eefcb68ac027bfacb2807fa3d433f Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 17 Oct 2024 17:02:12 +0100 Subject: [PATCH] fix operator --- eslint/locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint/locale.js b/eslint/locale.js index f27f160b07..1b19066ec7 100644 --- a/eslint/locale.js +++ b/eslint/locale.js @@ -102,7 +102,7 @@ function theRuleBody(context,node) { // sometimes we get MemberExpression nodes that have a // *descendent* with the right identifier: skip them, we'll get // the right ones as well - if (node.object?.name != 'i18n') { + if (node.object?.name !== 'i18n') { return; }