fix(no-restricted-imports): Fix overrides and include no-fa-icons-usage (#32571)

This commit is contained in:
Geido
2025-03-17 18:52:52 +02:00
committed by GitHub
parent df06bdf33b
commit 414cdbf83a
106 changed files with 532 additions and 97 deletions

View File

@@ -187,6 +187,8 @@ class AnnotationLayerControl extends PureComponent<Props, PopoverState> {
const { annotationError, annotationQuery, theme } = this.props;
if (annotationQuery[anno.name]) {
return (
// TODO: Remove fa-icon
// eslint-disable-next-line icons/no-fa-icons-usage
<i
className="fa fa-refresh"
style={{ color: theme.colors.primary.base }}
@@ -261,6 +263,8 @@ class AnnotationLayerControl extends PureComponent<Props, PopoverState> {
}
>
<CustomListItem selectable>
{/* TODO: Remove fa-icon */}
{/* eslint-disable-next-line icons/no-fa-icons-usage */}
<i
data-test="add-annotation-layer-button"
className="fa fa-plus"