[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,22 +1,22 @@
import { fromJS } from 'immutable';
import { fromJS } from "immutable";
import renderer from 'react-test-renderer';
import renderer from "react-test-renderer";
import { Avatar } from '../avatar';
import { Avatar } from "../avatar";
describe('<Avatar />', () => {
describe("<Avatar />", () => {
const account = fromJS({
username: 'alice',
acct: 'alice',
display_name: 'Alice',
avatar: '/animated/alice.gif',
avatar_static: '/static/alice.jpg',
username: "alice",
acct: "alice",
display_name: "Alice",
avatar: "/animated/alice.gif",
avatar_static: "/static/alice.jpg",
});
const size = 100;
describe('Autoplay', () => {
it('renders a animated avatar', () => {
describe("Autoplay", () => {
it("renders a animated avatar", () => {
const component = renderer.create(<Avatar account={account} animate size={size} />);
const tree = component.toJSON();
@@ -24,8 +24,8 @@ describe('<Avatar />', () => {
});
});
describe('Still', () => {
it('renders a still avatar', () => {
describe("Still", () => {
it("renders a still avatar", () => {
const component = renderer.create(<Avatar account={account} size={size} />);
const tree = component.toJSON();