From 6b04b4e6b304157ec4ea242a2e1a1783c40f4444 Mon Sep 17 00:00:00 2001 From: Stefan Probst Date: Mon, 20 Mar 2023 22:21:27 +0100 Subject: [PATCH] fix: allow fill prop on symbol --- lib/rules/no-unknown-property.js | 1 + tests/lib/rules/no-unknown-property.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js index dbb111a0ea..fc57336695 100644 --- a/lib/rules/no-unknown-property.js +++ b/lib/rules/no-unknown-property.js @@ -49,6 +49,7 @@ const ATTRIBUTE_TAGS_MAP = { 'polyline', 'rect', 'svg', + 'symbol', 'text', 'textPath', 'tref', diff --git a/tests/lib/rules/no-unknown-property.js b/tests/lib/rules/no-unknown-property.js index 97fb9f3dc1..7e46a7f123 100644 --- a/tests/lib/rules/no-unknown-property.js +++ b/tests/lib/rules/no-unknown-property.js @@ -58,6 +58,7 @@ ruleTester.run('no-unknown-property', rule, { { code: '' }, { code: '' }, { code: '' }, + { code: '' }, { code: '' }, { code: '' }, { code: '