From 761cbb65df169555bb068ed56844297272c9227a Mon Sep 17 00:00:00 2001 From: JoakimoNilsson Date: Sat, 23 Jan 2021 23:23:00 +0100 Subject: [PATCH] Disallow multiple option types in comma-dangle schema (fixes #13739) --- lib/rules/comma-dangle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rules/comma-dangle.js b/lib/rules/comma-dangle.js index e22b7f3551e1..9ca5efa63231 100644 --- a/lib/rules/comma-dangle.js +++ b/lib/rules/comma-dangle.js @@ -124,7 +124,8 @@ module.exports = { } ] } - ] + ], + additionalItems: false }, messages: {