BlogDocs

chore: fix eslint errors(#18587)

Merged
Merging
chore/eslint-errors
(
5c886b4
) into
main
(
1a0fbfa
)
+20%
IMPROVEMENTS
1
REGRESSIONS
0
UNTOUCHED
2
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
+9%
1.6 s
1.4 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
+20%
14.9 ms
12.4 ms
client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
+9%
11.9 s
10.9 s

Commits

Click on a commit to change the comparison range
base
main
1a0fbfa
+20%
chore: fix eslint errors ``` /Users/aqrln/prisma/prisma/packages/client/src/__tests__/integration/happy/signals/__helpers__/client.ts 9:3 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises /Users/aqrln/prisma/prisma/packages/client/src/generation/Cache.test.ts 32:20 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 41:20 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods /Users/aqrln/prisma/prisma/packages/client/src/runtime/core/compositeProxy/cacheProperties.test.ts 18:28 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 59:28 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods /Users/aqrln/prisma/prisma/packages/client/tests/e2e/nextjs-schema-not-found/18_monorepo-serverComponents-customOutput-reExportIndirect-ts/packages/service/app/test/[id]/page.tsx 3:8 error Async function 'generateStaticParams' has no 'await' expression @typescript-eslint/require-await /Users/aqrln/prisma/prisma/packages/client/tests/functional/relationMode-in-separate-gh-action/tests_m-to-n.ts 1:1 error Run autofix to sort these imports! simple-import-sort/imports /Users/aqrln/prisma/prisma/packages/engine-core/src/tracing/index.ts 1:1 error Run autofix to sort these exports! simple-import-sort/exports /Users/aqrln/prisma/prisma/packages/internals/src/utils/callOnce.test.ts 20:19 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 30:19 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods ```
5c886b4
1 year ago
by aqrln
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.