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

@ -30,7 +30,7 @@ interface IState {
}
export default class InviteReason extends React.PureComponent<IProps, IState> {
constructor(props) {
public constructor(props) {
super(props);
this.state = {
// We hide the reason for invitation by default, since it can be a
@ -39,13 +39,13 @@ export default class InviteReason extends React.PureComponent<IProps, IState> {
};
}
onViewClick = () => {
public onViewClick = () => {
this.setState({
hidden: false,
});
};
render() {
public render() {
const classes = classNames({
mx_InviteReason: true,
mx_InviteReason_hidden: this.state.hidden,