From d865198f00b0c5223757e04a6169736ea7833a20 Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Thu, 11 Jan 2024 10:32:57 -0800 Subject: [PATCH] chore(eslint): Make no-self-compare explicit Explicitly set the `no-self-compare` ESLint rule to `error`. Fixes #1631 --- packages/eslint-plugin/lib/configs/recommended.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/eslint-plugin/lib/configs/recommended.js b/packages/eslint-plugin/lib/configs/recommended.js index 1c64ccdb2c..b67efd174f 100644 --- a/packages/eslint-plugin/lib/configs/recommended.js +++ b/packages/eslint-plugin/lib/configs/recommended.js @@ -64,7 +64,8 @@ module.exports = { }, rules: { '@endo/assert-fail-as-throw': 'error', - 'guard-for-in': 'error', '@endo/no-nullish-coalescing': 'warn', + 'guard-for-in': 'error', + 'no-self-compare': 'error', }, };