mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore(deps): update dependency @typescript-eslint/parser to v5 (#32500)
* chore(deps): update dependency @typescript-eslint/parser to v5 * fix md lint * fix eslint errors Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
61a25e3b31
commit
94b21979e0
@ -22,10 +22,6 @@ An enterprise-class UI design language and React UI library.
|
||||
[github-action-url]: https://github.com/ant-design/ant-design/actions?query=workflow%3A%22%E2%9C%85+test%22
|
||||
[codecov-image]: https://img.shields.io/codecov/c/github/ant-design/ant-design/master.svg?style=flat-square
|
||||
[codecov-url]: https://codecov.io/gh/ant-design/ant-design/branch/master
|
||||
[david-image]: https://img.shields.io/david/ant-design/ant-design?style=flat-square
|
||||
[david-dev-url]: https://david-dm.org/ant-design/ant-design?type=dev
|
||||
[david-dev-image]: https://img.shields.io/david/dev/ant-design/ant-design?style=flat-square
|
||||
[david-url]: https://david-dm.org/ant-design/ant-design
|
||||
[download-image]: https://img.shields.io/npm/dm/antd.svg?style=flat-square
|
||||
[download-url]: https://npmjs.org/package/antd
|
||||
[lgtm-image]: https://flat.badgen.net/lgtm/alerts/g/ant-design/ant-design
|
||||
|
@ -256,7 +256,7 @@ class Affix extends React.Component<AffixProps, AffixState> {
|
||||
}
|
||||
|
||||
// =================== Render ===================
|
||||
render = () => {
|
||||
render() {
|
||||
const { getPrefixCls } = this.context;
|
||||
const { affixStyle, placeholderStyle } = this.state;
|
||||
const { prefixCls, children } = this.props;
|
||||
@ -290,7 +290,7 @@ class Affix extends React.Component<AffixProps, AffixState> {
|
||||
</div>
|
||||
</ResizeObserver>
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default Affix;
|
||||
|
@ -256,7 +256,7 @@ export default class Anchor extends React.Component<AnchorProps, AnchorState, Co
|
||||
}
|
||||
};
|
||||
|
||||
render = () => {
|
||||
render() {
|
||||
const { getPrefixCls, direction } = this.context;
|
||||
|
||||
const {
|
||||
@ -328,5 +328,5 @@ export default class Anchor extends React.Component<AnchorProps, AnchorState, Co
|
||||
)}
|
||||
</AnchorContext.Provider>
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1278,10 +1278,10 @@ describe('Table.filter', () => {
|
||||
});
|
||||
};
|
||||
|
||||
render = () => {
|
||||
render() {
|
||||
const { cols } = this.state;
|
||||
return <Table columns={cols} dataSource={[]} scroll={{ x: 1000 }} />;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
mount(<TestTable />);
|
||||
|
@ -174,7 +174,7 @@
|
||||
"@types/react-window": "^1.8.2",
|
||||
"@types/warning": "^3.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^4.1.1",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
|
||||
"antd-img-crop": "^3.1.1",
|
||||
"antd-pro-merge-less": "^3.0.11",
|
||||
|
Loading…
Reference in New Issue
Block a user