snapshot instead #2033
Annotations
3 errors and 1 warning
test/mmkal-repos.test.ts > lint https://github.com/mmkal/expect-type:
test/mmkal-repos.test.ts#L33
Error: Snapshot `lint https://github.com/mmkal/expect-type 1` mismatched
- Expected
+ Received
@@ -1,29 +1,29 @@
"
- > [email protected] eslint /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type
+ > [email protected] eslint /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type
> eslint --max-warnings 0 "." "--fix" "--max-warnings" "0"
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/branding.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/branding.ts
<line>:<col> error The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/index.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/index.ts
<line>:<col> error The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/utils.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/src/utils.ts
<line>:<col> error 'secret' is assigned a value but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/ts-output.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/ts-output.ts
<line>:<col> warning Use default import for module `node:path` unicorn/import-style
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/types.test.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/types.test.ts
<line>:<col> error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
<line>:<col> error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/usage.test.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/expect-type/test/usage.test.ts
<line>:<col> error 'A' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
<line>:<col> error 'B' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
<line>:<col> error 'C' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
✖ 9 problems (8 errors, 1 warning)
❯ test.timeout test/mmkal-repos.test.ts:33:24
|
test/mmkal-repos.test.ts > lint https://github.com/mmkal/trpc-cli:
test/mmkal-repos.test.ts#L33
Error: Snapshot `lint https://github.com/mmkal/trpc-cli 1` mismatched
- Expected
+ Received
"
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/trpc-cli/src/index.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/trpc-cli/src/index.ts
<line>:<col> error The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
<line>:<col> error Expected an error object to be thrown @typescript-eslint/only-throw-error
- /private/tmp/eslint-plugin-mmkal-testing/<timestamp>/trpc-cli/src/util.ts
+ /tmp/eslint-plugin-mmkal-testing/<timestamp>/trpc-cli/src/util.ts
<line>:<col> error The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
✖ 3 problems (3 errors, 0 warnings)
"
❯ test.timeout test/mmkal-repos.test.ts:33:24
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|