Skip to content

fix(deps): update dependency typescript-eslint to v8 #1712

fix(deps): update dependency typescript-eslint to v8

fix(deps): update dependency typescript-eslint to v8 #1712

Triggered via pull request September 30, 2024 18:31
Status Failure
Total duration 16m 49s
Artifacts

build-lint-test.yml

on: pull_request
check-skippable
7s
check-skippable
Matrix: Build and Lint
Matrix: Test
action-timeline
0s
action-timeline
Fit to window
Zoom out
Zoom in

Annotations

52 errors and 1 warning
src/lib/index.test.ts > config snapshot > config.typeScript: src/lib/index.test.ts#L26
Error: Snapshot `config snapshot > config.typeScript 1` mismatched - Expected + Received @@ -556,56 +556,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -627,18 +632,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > config snapshot > config.typeScriptOnly: src/lib/index.test.ts#L32
Error: Snapshot `config snapshot > config.typeScriptOnly 1` mismatched - Expected + Received @@ -47,56 +47,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -118,18 +123,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [
src/lib/index.test.ts > preset snapshots > preset.typeScript: src/lib/index.test.ts#L41
Error: Snapshot `preset snapshots > preset.typeScript 1` mismatched - Expected + Received @@ -694,56 +694,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -765,18 +770,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > preset snapshots > preset.typeScript jest: true: src/lib/index.test.ts#L44
Error: Snapshot `preset snapshots > preset.typeScript jest: true 1` mismatched - Expected + Received @@ -720,56 +720,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -791,18 +796,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-
src/lib/index.test.ts > preset snapshots > preset.typeScript vitest: true: src/lib/index.test.ts#L47
Error: Snapshot `preset snapshots > preset.typeScript vitest: true 1` mismatched - Expected + Received @@ -727,56 +727,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -798,18 +803,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/retur
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -488,10 +503,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -36,13 +36,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -97,10 +94,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -108,11 +108,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -141,13 +141,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -170,10 +167,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -190,10 +190,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -205,16 +208,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -225,20 +234,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -264,10 +276,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -424,10 +439,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/index.test.ts > config snapshot > config.typeScript: src/lib/index.test.ts#L26
Error: Snapshot `config snapshot > config.typeScript 1` mismatched - Expected + Received @@ -556,56 +556,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -627,18 +632,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > config snapshot > config.typeScriptOnly: src/lib/index.test.ts#L32
Error: Snapshot `config snapshot > config.typeScriptOnly 1` mismatched - Expected + Received @@ -47,56 +47,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -118,18 +123,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [
src/lib/index.test.ts > preset snapshots > preset.typeScript: src/lib/index.test.ts#L41
Error: Snapshot `preset snapshots > preset.typeScript 1` mismatched - Expected + Received @@ -694,56 +694,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -765,18 +770,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > preset snapshots > preset.typeScript jest: true: src/lib/index.test.ts#L44
Error: Snapshot `preset snapshots > preset.typeScript jest: true 1` mismatched - Expected + Received @@ -720,56 +720,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -791,18 +796,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-
src/lib/index.test.ts > preset snapshots > preset.typeScript vitest: true: src/lib/index.test.ts#L47
Error: Snapshot `preset snapshots > preset.typeScript vitest: true 1` mismatched - Expected + Received @@ -727,56 +727,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -798,18 +803,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/retur
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -488,10 +503,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -36,13 +36,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -97,10 +94,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -108,11 +108,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -141,13 +141,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -170,10 +167,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -190,10 +190,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -205,16 +208,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -225,20 +234,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -264,10 +276,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -424,10 +439,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/index.test.ts > config snapshot > config.typeScript: src/lib/index.test.ts#L26
Error: Snapshot `config snapshot > config.typeScript 1` mismatched - Expected + Received @@ -556,56 +556,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -627,18 +632,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > config snapshot > config.typeScriptOnly: src/lib/index.test.ts#L32
Error: Snapshot `config snapshot > config.typeScriptOnly 1` mismatched - Expected + Received @@ -47,56 +47,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -118,18 +123,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [
src/lib/index.test.ts > preset snapshots > preset.typeScript: src/lib/index.test.ts#L41
Error: Snapshot `preset snapshots > preset.typeScript 1` mismatched - Expected + Received @@ -694,56 +694,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -765,18 +770,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > preset snapshots > preset.typeScript jest: true: src/lib/index.test.ts#L44
Error: Snapshot `preset snapshots > preset.typeScript jest: true 1` mismatched - Expected + Received @@ -720,56 +720,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -791,18 +796,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-
src/lib/index.test.ts > preset snapshots > preset.typeScript vitest: true: src/lib/index.test.ts#L47
Error: Snapshot `preset snapshots > preset.typeScript vitest: true 1` mismatched - Expected + Received @@ -727,56 +727,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -798,18 +803,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/retur
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -488,10 +503,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -36,13 +36,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -97,10 +94,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -108,11 +108,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -141,13 +141,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -170,10 +167,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -190,10 +190,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -205,16 +208,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -225,20 +234,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -264,10 +276,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -424,10 +439,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/index.test.ts > config snapshot > config.typeScript: src/lib/index.test.ts#L26
Error: Snapshot `config snapshot > config.typeScript 1` mismatched - Expected + Received @@ -556,56 +556,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -627,18 +632,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > config snapshot > config.typeScriptOnly: src/lib/index.test.ts#L32
Error: Snapshot `config snapshot > config.typeScriptOnly 1` mismatched - Expected + Received @@ -47,56 +47,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -118,18 +123,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [
src/lib/index.test.ts > preset snapshots > preset.typeScript: src/lib/index.test.ts#L41
Error: Snapshot `preset snapshots > preset.typeScript 1` mismatched - Expected + Received @@ -694,56 +694,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -765,18 +770,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > preset snapshots > preset.typeScript jest: true: src/lib/index.test.ts#L44
Error: Snapshot `preset snapshots > preset.typeScript jest: true 1` mismatched - Expected + Received @@ -720,56 +720,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -791,18 +796,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-
src/lib/index.test.ts > preset snapshots > preset.typeScript vitest: true: src/lib/index.test.ts#L47
Error: Snapshot `preset snapshots > preset.typeScript vitest: true 1` mismatched - Expected + Received @@ -727,56 +727,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -798,18 +803,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/retur
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -488,10 +503,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -36,13 +36,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -97,10 +94,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -108,11 +108,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -141,13 +141,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -170,10 +167,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -190,10 +190,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -205,16 +208,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -225,20 +234,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -264,10 +276,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -424,10 +439,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
Build and Lint (ubuntu-22.04, 18)
Process completed with exit code 1.
src/lib/index.test.ts > config snapshot > config.typeScript: src/lib/index.test.ts#L26
Error: Snapshot `config snapshot > config.typeScript 1` mismatched - Expected + Received @@ -556,56 +556,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -627,18 +632,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > config snapshot > config.typeScriptOnly: src/lib/index.test.ts#L32
Error: Snapshot `config snapshot > config.typeScriptOnly 1` mismatched - Expected + Received @@ -47,56 +47,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -118,18 +123,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [
src/lib/index.test.ts > preset snapshots > preset.typeScript: src/lib/index.test.ts#L41
Error: Snapshot `preset snapshots > preset.typeScript 1` mismatched - Expected + Received @@ -694,56 +694,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -765,18 +770,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-await": [ +
src/lib/index.test.ts > preset snapshots > preset.typeScript jest: true: src/lib/index.test.ts#L44
Error: Snapshot `preset snapshots > preset.typeScript jest: true 1` mismatched - Expected + Received @@ -720,56 +720,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -791,18 +796,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/return-
src/lib/index.test.ts > preset snapshots > preset.typeScript vitest: true: src/lib/index.test.ts#L47
Error: Snapshot `preset snapshots > preset.typeScript vitest: true 1` mismatched - Expected + Received @@ -727,56 +727,61 @@ "error", { "minimumDescriptionLength": 10, }, ], - "@typescript-eslint/ban-types": "error", "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-confusing-void-expression": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-duplicate-enum-values": "error", "@typescript-eslint/no-duplicate-type-constituents": "error", "@typescript-eslint/no-dynamic-delete": "error", + "@typescript-eslint/no-empty-object-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-invalid-void-type": "error", - "@typescript-eslint/no-loss-of-precision": "error", "@typescript-eslint/no-meaningless-void-operator": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", + "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error", + "@typescript-eslint/no-unnecessary-type-parameters": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", + "@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", + "@typescript-eslint/no-unsafe-unary-minus": "error", + "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/prefer-as-const": "error", - "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-literal-enum-member": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/restrict-plus-operands": [ @@ -798,18 +803,23 @@ "allowNullish": false, "allowNumber": false, "allowRegExp": false, }, ], + "@typescript-eslint/retur
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p true > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -488,10 +503,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p true > jest: %p false > vitest: %p false > filetype: %p ts 1` mismatched - Expected + Received @@ -36,13 +36,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -97,10 +94,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -108,11 +108,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -141,13 +141,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -170,10 +167,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -190,10 +190,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -205,16 +208,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -225,20 +234,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -264,10 +276,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -424,10 +439,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
src/lib/calculated-test/calculated.test.ts > ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts: src/lib/calculated-test/calculated.test.ts#L60
Error: Snapshot `ESLint calculated config Snapshot > jsIsCjs: %p false > jest: %p true > vitest: %p true > filetype: %p ts 1` mismatched - Expected + Received @@ -37,13 +37,10 @@ }, ], "@typescript-eslint/ban-tslint-comment": [ 2, ], - "@typescript-eslint/ban-types": [ - 2, - ], "@typescript-eslint/consistent-generic-constructors": [ 2, ], "@typescript-eslint/consistent-indexed-object-style": [ 2, @@ -98,10 +95,13 @@ ], "@typescript-eslint/no-confusing-non-null-assertion": [ 2, ], "@typescript-eslint/no-confusing-void-expression": [ + 2, + ], + "@typescript-eslint/no-deprecated": [ 2, ], "@typescript-eslint/no-duplicate-enum-values": [ 2, ], @@ -109,11 +109,11 @@ 2, ], "@typescript-eslint/no-dynamic-delete": [ 2, ], - "@typescript-eslint/no-empty-interface": [ + "@typescript-eslint/no-empty-object-type": [ 2, ], "@typescript-eslint/no-explicit-any": [ 2, ], @@ -142,13 +142,10 @@ 2, ], "@typescript-eslint/no-loop-func": [ 2, ], - "@typescript-eslint/no-loss-of-precision": [ - 2, - ], "@typescript-eslint/no-meaningless-void-operator": [ 2, ], "@typescript-eslint/no-misused-new": [ 2, @@ -171,10 +168,13 @@ "@typescript-eslint/no-non-null-assertion": [ 2, ], "@typescript-eslint/no-redundant-type-constituents": [ 1, + ], + "@typescript-eslint/no-require-imports": [ + 2, ], "@typescript-eslint/no-this-alias": [ 2, ], "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ @@ -191,10 +191,13 @@ ], "@typescript-eslint/no-unnecessary-type-assertion": [ 2, ], "@typescript-eslint/no-unnecessary-type-constraint": [ + 2, + ], + "@typescript-eslint/no-unnecessary-type-parameters": [ 2, ], "@typescript-eslint/no-unsafe-argument": [ 2, ], @@ -206,16 +209,22 @@ ], "@typescript-eslint/no-unsafe-declaration-merging": [ 2, ], "@typescript-eslint/no-unsafe-enum-comparison": [ + 2, + ], + "@typescript-eslint/no-unsafe-function-type": [ 2, ], "@typescript-eslint/no-unsafe-member-access": [ 2, ], "@typescript-eslint/no-unsafe-return": [ + 2, + ], + "@typescript-eslint/no-unsafe-unary-minus": [ 2, ], "@typescript-eslint/no-unused-expressions": [ 2, ], @@ -226,20 +235,23 @@ 2, ], "@typescript-eslint/no-useless-empty-export": [ 1, ], - "@typescript-eslint/no-var-requires": [ + "@typescript-eslint/no-wrapper-object-types": [ 2, ], "@typescript-eslint/non-nullable-type-assertion-style": [ 2, ], "@typescript-eslint/only-throw-error": [ 2, ], "@typescript-eslint/prefer-as-const": [ + 2, + ], + "@typescript-eslint/prefer-find": [ 2, ], "@typescript-eslint/prefer-for-of": [ 2, ], @@ -265,10 +277,13 @@ 1, ], "@typescript-eslint/prefer-reduce-type-parameter": [ 2, ], + "@typescript-eslint/prefer-regexp-exec": [ + 2, + ], "@typescript-eslint/prefer-return-this-type": [ 2, ], "@typescript-eslint/prefer-string-starts-ends-with": [ 2, @@ -491,10 +506,13 @@ ], "no-lone-blocks": [ 2, ], "no-lonely-if": [ + 2, + ], + "no-loss-of-precision": [ 2, ], "no-misleading-character-class": [ 2, ], ❯ src/lib/calculated-test/calculated.test.ts:60:35
action-timeline
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 10 minutes.
action-timeline
Runner GitHub Actions 4 did not respond to a cancelation request with 00:05:00.