[build] upgrade eslint to 9.37.0 (#88)

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88
Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org>
Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
This commit is contained in:
Zoë Bijl
2025-10-12 13:42:02 +02:00
committed by tobi
parent 75d7a62693
commit 1ff70886a1
975 changed files with 22196 additions and 21964 deletions
@@ -1,12 +1,12 @@
import PropTypes from 'prop-types';
import { PureComponent } from 'react';
import PropTypes from "prop-types";
import { PureComponent } from "react";
import { debounce } from 'lodash';
import { debounce } from "lodash";
import { isMobile } from '../../../is_mobile';
import { scrollTop } from '../../../scroll';
import { isMobile } from "../../../is_mobile";
import { scrollTop } from "../../../scroll";
import ColumnHeader from './column_header';
import ColumnHeader from "./column_header";
export default class Column extends PureComponent {
@@ -19,7 +19,7 @@ export default class Column extends PureComponent {
};
handleHeaderClick = () => {
const scrollable = this.node.querySelector('.scrollable');
const scrollable = this.node.querySelector(".scrollable");
if (!scrollable) {
return;
@@ -29,7 +29,7 @@ export default class Column extends PureComponent {
};
scrollTop () {
const scrollable = this.node.querySelector('.scrollable');
const scrollable = this.node.querySelector(".scrollable");
if (!scrollable) {
return;
@@ -40,7 +40,7 @@ export default class Column extends PureComponent {
handleScroll = debounce(() => {
if (typeof this._interruptScrollAnimation !== 'undefined') {
if (typeof this._interruptScrollAnimation !== "undefined") {
this._interruptScrollAnimation();
}
}, 200);
@@ -54,7 +54,7 @@ export default class Column extends PureComponent {
const showHeading = heading && (!hideHeadingOnMobile || (hideHeadingOnMobile && !isMobile(window.innerWidth)));
const columnHeaderId = showHeading && heading.replace(/ /g, '-');
const columnHeaderId = showHeading && heading.replace(/ /g, "-");
const header = showHeading && (
<ColumnHeader icon={icon} active={active} type={heading} onClick={this.handleHeaderClick} columnHeaderId={columnHeaderId} />
);