[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,17 +1,17 @@
import PropTypes from 'prop-types';
import { Fragment } from 'react';
import PropTypes from "prop-types";
import { Fragment } from "react";
import classNames from 'classnames';
import classNames from "classnames";
import { Check } from 'mastodon/components/check';
import { Check } from "mastodon/components/check";
const ProgressIndicator = ({ steps, completed }) => (
<div className='onboarding__progress-indicator'>
{(new Array(steps)).fill().map((_, i) => (
<Fragment key={i}>
{i > 0 && <div className={classNames('onboarding__progress-indicator__line', { active: completed > i })} />}
{i > 0 && <div className={classNames("onboarding__progress-indicator__line", { active: completed > i })} />}
<div className={classNames('onboarding__progress-indicator__step', { active: completed > i })}>
<div className={classNames("onboarding__progress-indicator__step", { active: completed > i })}>
{completed > i && <Check />}
</div>
</Fragment>
@@ -1,9 +1,9 @@
import PropTypes from 'prop-types';
import PropTypes from "prop-types";
import { Check } from 'mastodon/components/check';
import { Icon } from 'mastodon/components/icon';
import { Check } from "mastodon/components/check";
import { Icon } from "mastodon/components/icon";
import ArrowSmallRight from './arrow_small_right';
import ArrowSmallRight from "./arrow_small_right";
const Step = ({ label, description, icon, completed, onClick, href }) => {
const content = (
@@ -17,7 +17,7 @@ const Step = ({ label, description, icon, completed, onClick, href }) => {
<p>{description}</p>
</div>
<div className={completed ? 'onboarding__steps__item__progress' : 'onboarding__steps__item__go'}>
<div className={completed ? "onboarding__steps__item__progress" : "onboarding__steps__item__go"}>
{completed ? <Check /> : <ArrowSmallRight />}
</div>
</>
@@ -25,7 +25,7 @@ const Step = ({ label, description, icon, completed, onClick, href }) => {
if (href) {
return (
<a href={href} onClick={onClick} target='_blank' rel='noopener' className='onboarding__steps__item'>
<a href={href} onClick={onClick} target='_blank' rel="noopener noreferrer" className='onboarding__steps__item'>
{content}
</a>
);