Skip to content

Commit 70cfc6a

Browse files
committed
chore: rm useless lint
1 parent 4713c65 commit 70cfc6a

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module.exports = {
88
'default-case': 0,
99
'eslint-comments/disable-enable-pair': 0,
1010
'jsx-a11y/interactive-supports-focus': 0,
11-
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
1211
'@typescript-eslint/no-object-literal-type-assertion': 0,
1312
},
1413
};

examples/disable.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/no-named-as-default-member */
21
import '../assets/index.less';
32
import React from 'react';
43
import TreeSelect from '../src';
@@ -76,11 +75,7 @@ class Demo extends React.Component {
7675
return (
7776
<div>
7877
<TreeSelect {...tProps} />
79-
<input
80-
type="checkbox"
81-
onChange={e => this.switch(e.target.checked)}
82-
/>{' '}
83-
禁用
78+
<input type="checkbox" onChange={e => this.switch(e.target.checked)} /> 禁用
8479
</div>
8580
);
8681
}

tests/__mocks__/rc-motion/lib/CSSMotionList.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable import/no-extraneous-dependencies */
2-
31
import React from 'react';
42
import { genCSSMotion } from 'rc-motion/lib/CSSMotion';
53
import CSSMotionList, { genCSSMotionList } from 'rc-motion/lib/CSSMotionList';

0 commit comments

Comments
 (0)