Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)

* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier
This commit is contained in:
Michael Telatynski
2022-12-16 12:29:59 +00:00
committed by GitHub
parent 51554399fb
commit f1e8e7f140
396 changed files with 1110 additions and 1098 deletions

View File

@@ -38,7 +38,7 @@ interface IState {
* Dialog to view m.location events maximised
*/
export default class LocationViewDialog extends React.Component<IProps, IState> {
constructor(props: IProps) {
public constructor(props: IProps) {
super(props);
this.state = {
@@ -54,7 +54,7 @@ export default class LocationViewDialog extends React.Component<IProps, IState>
this.setState({ error });
};
render() {
public render() {
const { mxEvent } = this.props;
// only pass member to marker when should render avatar marker