diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index da31fa239d..c84eb397e2 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -975,6 +975,11 @@ svg_rules = RuleList( "description": "System icons ignore fill values, so do not include the fill property.", "include_only": {"web/shared/icons/", "web/images/icons/"}, }, + { + "pattern": r"fill-rule=(['\"])(.*?)\1", + "description": "System icons ignore fill-rule values, so do not include the fill-rule property.", + "include_only": {"web/shared/icons/", "web/images/icons/"}, + }, ], ) diff --git a/web/images/icons/arrow-left-circle.svg b/web/images/icons/arrow-left-circle.svg index 072d45b1fd..a15062e78c 100644 --- a/web/images/icons/arrow-left-circle.svg +++ b/web/images/icons/arrow-left-circle.svg @@ -4,7 +4,6 @@ viewBox="0 0 19 19" xmlns="http://www.w3.org/2000/svg"> - + diff --git a/web/shared/icons/attachment.svg b/web/shared/icons/attachment.svg index e2e89826d0..9deec1e3d1 100644 --- a/web/shared/icons/attachment.svg +++ b/web/shared/icons/attachment.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/bar-chart.svg b/web/shared/icons/bar-chart.svg index 7e18c52a3d..e36e30232d 100644 --- a/web/shared/icons/bar-chart.svg +++ b/web/shared/icons/bar-chart.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/building.svg b/web/shared/icons/building.svg index 2460b3b044..4dd35e8bf8 100644 --- a/web/shared/icons/building.svg +++ b/web/shared/icons/building.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/chevron-down.svg b/web/shared/icons/chevron-down.svg index 67ed30eeb0..8c8773b479 100644 --- a/web/shared/icons/chevron-down.svg +++ b/web/shared/icons/chevron-down.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/chevron-right.svg b/web/shared/icons/chevron-right.svg index 1b80ea6a06..c7020c4543 100644 --- a/web/shared/icons/chevron-right.svg +++ b/web/shared/icons/chevron-right.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/web/shared/icons/clock.svg b/web/shared/icons/clock.svg index ed11c3e071..702b44cf1e 100644 --- a/web/shared/icons/clock.svg +++ b/web/shared/icons/clock.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/copy.svg b/web/shared/icons/copy.svg index 196490f5a5..b102acd98c 100644 --- a/web/shared/icons/copy.svg +++ b/web/shared/icons/copy.svg @@ -1,4 +1,4 @@ - + diff --git a/web/shared/icons/credit-card.svg b/web/shared/icons/credit-card.svg index 4a6ad226b8..7433c7a483 100644 --- a/web/shared/icons/credit-card.svg +++ b/web/shared/icons/credit-card.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/edit.svg b/web/shared/icons/edit.svg index ad763466e5..6108aa9c7d 100644 --- a/web/shared/icons/edit.svg +++ b/web/shared/icons/edit.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/f-globe.svg b/web/shared/icons/f-globe.svg index b6628c9f86..a9b2a7d1bf 100644 --- a/web/shared/icons/f-globe.svg +++ b/web/shared/icons/f-globe.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/file-text.svg b/web/shared/icons/file-text.svg index 0401110bd2..fa06e02609 100644 --- a/web/shared/icons/file-text.svg +++ b/web/shared/icons/file-text.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/gif.svg b/web/shared/icons/gif.svg index 540f3f15d0..ffc546afc5 100644 --- a/web/shared/icons/gif.svg +++ b/web/shared/icons/gif.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/git-pull-request.svg b/web/shared/icons/git-pull-request.svg index 5ad8ba0938..d7c576a565 100644 --- a/web/shared/icons/git-pull-request.svg +++ b/web/shared/icons/git-pull-request.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/grip-vertical.svg b/web/shared/icons/grip-vertical.svg index cf79adccfc..b9ceefeaa5 100644 --- a/web/shared/icons/grip-vertical.svg +++ b/web/shared/icons/grip-vertical.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/hash.svg b/web/shared/icons/hash.svg index 2628a1a501..2d377fbdec 100644 --- a/web/shared/icons/hash.svg +++ b/web/shared/icons/hash.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/heart.svg b/web/shared/icons/heart.svg index c2f580e360..fa78c7bd03 100644 --- a/web/shared/icons/heart.svg +++ b/web/shared/icons/heart.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/inherit.svg b/web/shared/icons/inherit.svg index ea18773652..8b851d7144 100644 --- a/web/shared/icons/inherit.svg +++ b/web/shared/icons/inherit.svg @@ -1,4 +1,4 @@ - - + + diff --git a/web/shared/icons/keyboard.svg b/web/shared/icons/keyboard.svg index 648a341912..36aeac7139 100644 --- a/web/shared/icons/keyboard.svg +++ b/web/shared/icons/keyboard.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/life-buoy.svg b/web/shared/icons/life-buoy.svg index fbfb349fbb..563b83157e 100644 --- a/web/shared/icons/life-buoy.svg +++ b/web/shared/icons/life-buoy.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/math.svg b/web/shared/icons/math.svg index 18dbadbd03..d31832e520 100644 --- a/web/shared/icons/math.svg +++ b/web/shared/icons/math.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/message-square.svg b/web/shared/icons/message-square.svg index 2c446fd57c..dc3471f21d 100644 --- a/web/shared/icons/message-square.svg +++ b/web/shared/icons/message-square.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/monitor.svg b/web/shared/icons/monitor.svg index 26ff7dea34..f965770168 100644 --- a/web/shared/icons/monitor.svg +++ b/web/shared/icons/monitor.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/moon.svg b/web/shared/icons/moon.svg index b4be57a966..4ff6a8d46e 100644 --- a/web/shared/icons/moon.svg +++ b/web/shared/icons/moon.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/move-alt.svg b/web/shared/icons/move-alt.svg index 090faa16e1..53fdbaafa9 100644 --- a/web/shared/icons/move-alt.svg +++ b/web/shared/icons/move-alt.svg @@ -1,6 +1,6 @@ - - - - + + + + diff --git a/web/shared/icons/ordered-list.svg b/web/shared/icons/ordered-list.svg index bbcdd4fe3a..cf42a5fc45 100644 --- a/web/shared/icons/ordered-list.svg +++ b/web/shared/icons/ordered-list.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/past-time.svg b/web/shared/icons/past-time.svg index aa6ca05539..89fb46b3a2 100644 --- a/web/shared/icons/past-time.svg +++ b/web/shared/icons/past-time.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/play-circle.svg b/web/shared/icons/play-circle.svg index 0f9ecf98dc..c52a73dbe6 100644 --- a/web/shared/icons/play-circle.svg +++ b/web/shared/icons/play-circle.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/quote.svg b/web/shared/icons/quote.svg index ab7a254188..5257fc89c8 100644 --- a/web/shared/icons/quote.svg +++ b/web/shared/icons/quote.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/source-alt.svg b/web/shared/icons/source-alt.svg index 5b2a297b53..516d5d9cf6 100644 --- a/web/shared/icons/source-alt.svg +++ b/web/shared/icons/source-alt.svg @@ -1,5 +1,5 @@ - - - + + + diff --git a/web/shared/icons/star.svg b/web/shared/icons/star.svg index 2d81e8fc94..1c618cf072 100644 --- a/web/shared/icons/star.svg +++ b/web/shared/icons/star.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/stop-circle.svg b/web/shared/icons/stop-circle.svg index 31a173ea66..5b9d4219da 100644 --- a/web/shared/icons/stop-circle.svg +++ b/web/shared/icons/stop-circle.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/sun.svg b/web/shared/icons/sun.svg index 602cfecad3..1280a5f909 100644 --- a/web/shared/icons/sun.svg +++ b/web/shared/icons/sun.svg @@ -1,3 +1,3 @@ - + diff --git a/web/shared/icons/time.svg b/web/shared/icons/time.svg index c2d123c72e..770cb29660 100644 --- a/web/shared/icons/time.svg +++ b/web/shared/icons/time.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/tool.svg b/web/shared/icons/tool.svg index f9a34febef..716519d584 100644 --- a/web/shared/icons/tool.svg +++ b/web/shared/icons/tool.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/topic.svg b/web/shared/icons/topic.svg index 8deedcd09f..058b788d6a 100644 --- a/web/shared/icons/topic.svg +++ b/web/shared/icons/topic.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/unmute-new.svg b/web/shared/icons/unmute-new.svg index 804ca8254b..42477a655d 100644 --- a/web/shared/icons/unmute-new.svg +++ b/web/shared/icons/unmute-new.svg @@ -1,5 +1,5 @@ - - - + + + diff --git a/web/shared/icons/unordered-list.svg b/web/shared/icons/unordered-list.svg index 518a65b5bb..995f9e2c3a 100644 --- a/web/shared/icons/unordered-list.svg +++ b/web/shared/icons/unordered-list.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/shared/icons/x-circle.svg b/web/shared/icons/x-circle.svg index f4ea2dd53d..327193fdbc 100644 --- a/web/shared/icons/x-circle.svg +++ b/web/shared/icons/x-circle.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file