From b51d9732267e727d7eaa5b12e957b40673993f20 Mon Sep 17 00:00:00 2001 From: Andrew Kazakov Date: Mon, 14 Jul 2025 17:13:35 +0300 Subject: [PATCH] fix: disallow extra properties in rule options --- rules/prefer-await-to-then.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/prefer-await-to-then.js b/rules/prefer-await-to-then.js index 09532477..1777c993 100644 --- a/rules/prefer-await-to-then.js +++ b/rules/prefer-await-to-then.js @@ -25,6 +25,7 @@ module.exports = { type: 'boolean', }, }, + additionalProperties: false, }, ], messages: {