Browse Source

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>
pull/32497/head
renovate[bot] 3 years ago
committed by GitHub
parent
commit
94b21979e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md
  2. 4
      components/affix/index.tsx
  3. 4
      components/anchor/Anchor.tsx
  4. 4
      components/table/__tests__/Table.filter.test.js
  5. 2
      package.json

4
README.md

@ -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

4
components/affix/index.tsx

@ -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;

4
components/anchor/Anchor.tsx

@ -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>
);
};
}
}

4
components/table/__tests__/Table.filter.test.js

@ -1278,10 +1278,10 @@ describe('Table.filter', () => {
});
};
render = () => {
render() {
const { cols } = this.state;
return <Table columns={cols} dataSource={[]} scroll={{ x: 1000 }} />;
};
}
}
mount(<TestTable />);

2
package.json

@ -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…
Cancel
Save