[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 { injectIntl } from 'react-intl';
import { injectIntl } from "react-intl";
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { connect } from 'react-redux';
import ImmutablePropTypes from "react-immutable-proptypes";
import ImmutablePureComponent from "react-immutable-pure-component";
import { connect } from "react-redux";
import { Avatar } from '../../../components/avatar';
import { DisplayName } from '../../../components/display_name';
import { makeGetAccount } from '../../../selectors';
import { Avatar } from "../../../components/avatar";
import { DisplayName } from "../../../components/display_name";
import { makeGetAccount } from "../../../selectors";
const makeMapStateToProps = () => {
const getAccount = makeGetAccount();
@@ -1,24 +1,24 @@
import PropTypes from 'prop-types';
import PropTypes from "prop-types";
import { defineMessages, injectIntl } from 'react-intl';
import { defineMessages, injectIntl } from "react-intl";
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { connect } from 'react-redux';
import ImmutablePropTypes from "react-immutable-proptypes";
import ImmutablePureComponent from "react-immutable-pure-component";
import { connect } from "react-redux";
import { Icon } from 'mastodon/components/icon';
import { Icon } from "mastodon/components/icon";
import { removeFromListAdder, addToListAdder } from '../../../actions/lists';
import { IconButton } from '../../../components/icon_button';
import { removeFromListAdder, addToListAdder } from "../../../actions/lists";
import { IconButton } from "../../../components/icon_button";
const messages = defineMessages({
remove: { id: 'lists.account.remove', defaultMessage: 'Remove from list' },
add: { id: 'lists.account.add', defaultMessage: 'Add to list' },
remove: { id: "lists.account.remove", defaultMessage: "Remove from list" },
add: { id: "lists.account.add", defaultMessage: "Add to list" },
});
const MapStateToProps = (state, { listId, added }) => ({
list: state.get('lists').get(listId),
added: typeof added === 'undefined' ? state.getIn(['listAdder', 'lists', 'items']).includes(listId) : added,
list: state.get("lists").get(listId),
added: typeof added === "undefined" ? state.getIn(["listAdder", "lists", "items"]).includes(listId) : added,
});
const mapDispatchToProps = (dispatch, { listId }) => ({
@@ -56,7 +56,7 @@ class List extends ImmutablePureComponent {
<div className='list__wrapper'>
<div className='list__display-name'>
<Icon id='list-ul' className='column-link__icon' fixedWidth />
{list.get('title')}
{list.get("title")}
</div>
<div className='account__relationship'>