summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-10-17 17:02:12 +0100
committerdakkar <dakkar@thenautilus.net>2024-10-22 12:02:24 +0100
commita7a630bfd00eefcb68ac027bfacb2807fa3d433f (patch)
treef89f4753ad6ebb914c42c7811c39f691b59eb918
parentignore more weirdness (diff)
downloadsharkey-a7a630bfd00eefcb68ac027bfacb2807fa3d433f.tar.gz
sharkey-a7a630bfd00eefcb68ac027bfacb2807fa3d433f.tar.bz2
sharkey-a7a630bfd00eefcb68ac027bfacb2807fa3d433f.zip
fix operator
-rw-r--r--eslint/locale.js2
1 files changed, 1 insertions, 1 deletions
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;
}