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

@ -44,7 +44,7 @@ export default abstract class HeaderButtons<P = {}> extends React.Component<IPro
private unmounted = false;
private dispatcherRef: string;
constructor(props: IProps & P, kind: HeaderKind) {
public constructor(props: IProps & P, kind: HeaderKind) {
super(props);
const rps = RightPanelStore.instance;

View file

@ -139,7 +139,7 @@ export default class RoomHeaderButtons extends HeaderButtons<IProps> {
return client.canSupport.get(Feature.ThreadUnreadNotifications) !== ServerSupport.Unsupported;
}
constructor(props: IProps) {
public constructor(props: IProps) {
super(props, HeaderKind.Room);
this.threadNotificationState =

View file

@ -71,7 +71,7 @@ interface IState {
}
export default class TimelineCard extends React.Component<IProps, IState> {
static contextType = RoomContext;
public static contextType = RoomContext;
private dispatcherRef: string;
private layoutWatcherRef: string;
@ -79,7 +79,7 @@ export default class TimelineCard extends React.Component<IProps, IState> {
private card = React.createRef<HTMLDivElement>();
private readReceiptsSettingWatcher: string;
constructor(props: IProps) {
public constructor(props: IProps) {
super(props);
this.state = {
showReadReceipts: SettingsStore.getValue("showReadReceipts", props.room.roomId),

View file

@ -56,7 +56,7 @@ interface IState {
export default class VerificationPanel extends React.PureComponent<IProps, IState> {
private hasVerifier: boolean;
constructor(props: IProps) {
public constructor(props: IProps) {
super(props);
this.state = {};
this.hasVerifier = false;