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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
396 changed files with 1110 additions and 1098 deletions

View file

@ -50,7 +50,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
private unmounted = false;
constructor(props: IProps) {
public constructor(props: IProps) {
super(props);
this.state = {
@ -64,7 +64,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
};
}
async componentDidMount() {
public async componentDidMount() {
// Fetch the current user profile for the message preview
const client = MatrixClientPeg.get();
const userId = client.getUserId();
@ -78,7 +78,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
});
}
componentWillUnmount() {
public componentWillUnmount() {
this.unmounted = true;
}
@ -139,7 +139,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
);
}
render() {
public render() {
const brand = SdkConfig.get().brand;
return (