diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 727c1c3965..b289214915 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -1005,6 +1005,11 @@ svg_rules = RuleList( "description": "System icons ignore stroke values, so do not include the stroke property.", "include_only": {"web/shared/icons/", "web/images/icons/"}, }, + { + "pattern": "class=", + "description": "System icons ignore class values, so do not include the class property.", + "include_only": {"web/shared/icons/", "web/images/icons/"}, + }, ], ) diff --git a/web/images/icons/search.svg b/web/images/icons/search.svg index bc560b89f8..ac7257d793 100644 --- a/web/images/icons/search.svg +++ b/web/images/icons/search.svg @@ -1 +1 @@ -Search \ No newline at end of file +Search \ No newline at end of file diff --git a/web/shared/icons/f-globe.svg b/web/shared/icons/f-globe.svg index e8f618d9c7..55c4a8ccd6 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/grip-vertical.svg b/web/shared/icons/grip-vertical.svg index d9322efff4..0c6ce74375 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/play-circle.svg b/web/shared/icons/play-circle.svg index 101e312a12..6c07a629eb 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/question.svg b/web/shared/icons/question.svg index fceb8b4ff5..0b37796d02 100644 --- a/web/shared/icons/question.svg +++ b/web/shared/icons/question.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 df42a11569..6bde1b0e11 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