mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
fix(no-restricted-imports): Fix overrides and include no-fa-icons-usage (#32571)
This commit is contained in:
@@ -16,10 +16,13 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { PlusOutlined } from '@ant-design/icons'; // TODO: Use src/components/Icons
|
||||
import { css, styled, t } from '@superset-ui/core';
|
||||
import { Button, Tree } from 'antd';
|
||||
import { TreeProps } from 'antd/lib/tree';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { Button, Tree } from 'antd'; // TODO: Remove antd
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { TreeProps } from 'antd/lib/tree'; // TODO: Remove antd
|
||||
import { forwardRef } from 'react';
|
||||
import { FlatLayerDataNode, FlatLayerTreeProps, LayerConf } from './types';
|
||||
import { handleDrop } from './dragDropUtil';
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { css, JsonValue, styled, t } from '@superset-ui/core';
|
||||
import { Button, Form, Tabs } from 'antd';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { Button, Form, Tabs } from 'antd'; // TODO: Remove antd
|
||||
import { mix } from 'polished';
|
||||
import { Data as GsData } from 'geostyler-data';
|
||||
import { Style as GsStyle } from 'geostyler-style';
|
||||
|
||||
@@ -16,8 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { CloseOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { Button, Tag } from 'antd';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { CloseOutlined, RightOutlined } from '@ant-design/icons'; // TODO: Use src/components/Icons
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { Button, Tag } from 'antd'; // TODO: Remove antd
|
||||
import { FC } from 'react';
|
||||
import { LayerTreeItemProps } from './types';
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { TreeProps } from 'antd/lib/tree';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { TreeProps } from 'antd/lib/tree'; // TODO: Remove antd
|
||||
import { DropInfoType, FlatLayerDataNode } from './types';
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { DataNode, TreeProps } from 'antd/lib/tree';
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { DataNode, TreeProps } from 'antd/lib/tree'; // TODO: Remove antd
|
||||
import { ControlComponentProps } from '@superset-ui/chart-controls';
|
||||
import { Style } from 'geostyler-style';
|
||||
import { CardStyleProps } from 'geostyler/dist/Component/CardStyle/CardStyle';
|
||||
|
||||
Reference in New Issue
Block a user