Skip to content

chore(deps): update typescript-eslint monorepo to v8 (major) #677

chore(deps): update typescript-eslint monorepo to v8 (major)

chore(deps): update typescript-eslint monorepo to v8 (major) #677

Triggered via pull request October 11, 2024 22:49
Status Failure
Total duration 32s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test/index.test.ts > should match snapshots: test/index.test.ts#L24
Error: Snapshot `should match snapshots > base.tsx 1` mismatched - Expected + Received "/// <reference types="eslint" /> import { join } from 'node:path'; export const arr = [ - // start + // start - 1, + 1, - // 2, + // 2, - 3, + 3, ]; - export const getUser = async () => { - return null; + return null; }; - switch ('') { - case '': { + case '': { - break; + break; - } - - default: { + } + default: { - break; + break; - } + } } - const ovo = 'ovo'; const ouo = 'ouo'; - const qwq = { - name: 'qwq', + name: 'qwq', }; - const owo = 'owo'; const { a, b, c } = obj; - 'abc'.replace(/a(?<foo>b)c/u, '$<foo>'); // NOTE class Foo { - b = 'bar'; + b = 'bar'; - - constructor() {} + constructor() {} - - static a() {} + static a() {} - - c() {} + c() {} - - d() {} + d() {} - - z() {} + z() {} } - /* REVIEW */ interface ExampleObject { - '0'?: any; + '0'?: any; - a?: any; + a?: any; - // b?: any; + // b?: any; - exampleNestedObject: ExampleNestedObject; + exampleNestedObject: ExampleNestedObject; - z: number; + z: number; } - interface ExampleNestedObject { - a?: any; + a?: any; - z?: any; + z?: any; } - const render = () => { - return ( + return ( - <Foo + <Foo - // d="" + // d="" - bar={[]} + bar={[]} - z + z - // test={{}} + // test={{}} - data-ignore="" + data-ignore="" - /> + /> - ); + ); }; export const obj = { - /* start */ + /* start */ - a: '', + a: '', - b: () => 'b', + b: () => 'b', - c: {}, + c: {}, }; const FC = () => <Foo />; const Fragment = () => <></>; - const getCurrentUser = () => getUser(); const JsxNewline = () => { - return ( + return ( - <> + <> - <FC /> + <FC /> - <Fragment /> + <Fragment /> - {1 === 1 && ( + {1 === 1 && ( - <Fragment> + <Fragment> - {render()} + {render()} - {getUser()} + {getUser()} - </Fragment> + </Fragment> - )} + )} - </> + </> - ); + ); }; " ❯ test/index.test.ts:24:20
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/