From 5cbf5b82cd1250d468039f0c775384c9dd708407 Mon Sep 17 00:00:00 2001 From: Andrew Kazakov Date: Wed, 16 Jul 2025 16:51:31 +0300 Subject: [PATCH] fix: disallow extra properties in rule options --- lib/rules/no-raw-text.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rules/no-raw-text.ts b/lib/rules/no-raw-text.ts index d4a7ef0b..a9dcaff4 100644 --- a/lib/rules/no-raw-text.ts +++ b/lib/rules/no-raw-text.ts @@ -839,7 +839,8 @@ export = createRule({ ignoreText: { type: 'array' } - } + }, + additionalProperties: false } ] },