chore: fix eslint errors(#18587)

Merged
Merging
chore/eslint-errors
into
main
+9%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
NEW
0
DROPPED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
+9%
7.9 s
7.2 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
+9%
63.8 ms
58.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%
62.4 s
57.1 s

Commits

Click on a commit to change the comparison range
chore(deps): update engines to 4.13.0-3.2c633d2988cbc78da0d02d7daf514ccf76e6b001 (#18574)
base
1a0fbfa
8 months ago by prisma-bot
+9%
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
8 months ago by aqrln
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.