Avatar for the prisma user
prisma
prisma
BlogDocs

chore: fix eslint errors

#18587Merged
Comparing
chore/eslint-errors
(
5c886b4
) with
main
(
1a0fbfa
)
+20%
Improvements
1
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

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

Passed

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
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

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
2 years ago
by aqrln
Home Terms PrivacyDocs