# no-restricted-components

## 规则说明

禁止使用指定的组件。

## 级别

`warn`

## 选项说明
该规则接受一个json，每一项的key为禁止使用的组件，value是推荐使用的组件

## 示例配置

```json
[
    "warn",
    {
        "a-table": "s-table"
    }
]
```

✅正确示例：

```html
<s-table></s-table>
```

❌错误示例：

```html
<a-table></a-table>
```


