fix: fix lint

This commit is contained in:
栗嘉男 2023-07-28 17:04:00 +08:00
parent 674ff129ce
commit 236aba5373
3 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,6 @@
import type { RadioChangeEvent } from 'antd';
import { Button, Descriptions, Radio } from 'antd';
import type { DescriptionsProps } from 'antd/es/descriptions';
import React, { useState } from 'react';
import { Button, Descriptions, Radio } from 'antd';
import type { RadioChangeEvent, DescriptionsProps } from 'antd';
const borderedItems: DescriptionsProps['items'] = [
{

View File

@ -1,6 +1,6 @@
import { Descriptions, Divider, Radio, Switch } from 'antd';
import type { DescriptionsProps } from 'antd/es/descriptions';
import React, { useState } from 'react';
import { Descriptions, Divider, Radio, Switch } from 'antd';
import type { DescriptionsProps } from 'antd';
const labelStyle: React.CSSProperties = { background: 'red' };
const contentStyle: React.CSSProperties = { background: 'green' };

View File

@ -222,7 +222,7 @@
"eslint-config-prettier": "^8.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-compat": "^4.1.1",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-markdown": "^3.0.0",