Skip to content

Commit

Permalink
chore(deps): update dependency @typescript-eslint/parser to v5 (ant-d…
Browse files Browse the repository at this point in the history
…esign#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>
  • Loading branch information
3 people authored Oct 15, 2021
1 parent 61a25e3 commit 94b2197
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions components/affix/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -290,7 +290,7 @@ class Affix extends React.Component<AffixProps, AffixState> {
</div>
</ResizeObserver>
);
};
}
}

export default Affix;
4 changes: 2 additions & 2 deletions components/anchor/Anchor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default class Anchor extends React.Component<AnchorProps, AnchorState, Co
}
};

render = () => {
render() {
const { getPrefixCls, direction } = this.context;

const {
Expand Down Expand Up @@ -328,5 +328,5 @@ export default class Anchor extends React.Component<AnchorProps, AnchorState, Co
)}
</AnchorContext.Provider>
);
};
}
}
4 changes: 2 additions & 2 deletions components/table/__tests__/Table.filter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1278,10 +1278,10 @@ describe('Table.filter', () => {
});
};

render = () => {
render() {
const { cols } = this.state;
return <Table columns={cols} dataSource={[]} scroll={{ x: 1000 }} />;
};
}
}

mount(<TestTable />);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 94b2197

Please sign in to comment.