Update all non-major dependencies #62
Annotations
20 errors
source/configs/all.unit.test.ts > all > should match the snapshot:
source/configs/all.unit.test.ts#L6
Error: Snapshot `all > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -206,11 +206,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -286,10 +286,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -747,10 +748,11 @@
"@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",
@@ -789,16 +791,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -826,10 +833,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -859,13 +867,18 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
]
|
source/configs/recommended.unit.test.ts > recommended > should match the snapshot:
source/configs/recommended.unit.test.ts#L6
Error: Snapshot `recommended > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -70,11 +70,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -150,10 +150,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -611,10 +612,11 @@
"@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",
@@ -653,16 +655,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -690,10 +697,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -722,14 +730,19 @@
"allowNever": false,
"allowNullish": false,
"allowNumber": false,
"allowRegExp"
|
source/configs/strict.unit.test.ts > strict > should match the snapshot:
source/configs/strict.unit.test.ts#L6
Error: Snapshot `strict > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -2,215 +2,79 @@
{
"name": "2bad/strict",
},
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
"constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
"for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
"getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
"no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
"no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
"no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
"no-invalid-regexp": "error",
- "no-invalid-this": "error",
"no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
"no-loss-of-precision": "error",
- "no-magic-numbers": "error",
"no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no-nonoctal-decimal-escape": "error",
"no-obj-calls": "error",
- "no-object-constructor": "er
|
source/configs/strict.unit.test.ts > strict > should include the js all config:
source/configs/strict.unit.test.ts#L14
Error: Snapshot `strict > should include the js all config 1` mismatched
- Expected
+ Received
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
- "constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
- "for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
- "getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
- "no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
+ "constructor-super": "error",
+ "for-direction": "error",
+ "getter-return": "error",
+ "no-async-promise-executor": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
- "no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
+ "no-ex-assign": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
- "no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
- "no-invalid-regexp": "error",
- "no-invalid-this": "error",
- "no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
- "no-loss-of-precision": "error",
- "no-magic-numbers": "error",
- "no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
+ "no-import-assign": "error",
+ "no-invalid-regexp": "error",
+ "no-irregular-whitespace": "error",
+ "no-loss-of-precision": "error",
+ "no-misleading-character-class": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no
|
test on ubuntu-latest node@20
Process completed with exit code 1.
|
source/configs/all.unit.test.ts > all > should match the snapshot:
source/configs/all.unit.test.ts#L6
Error: Snapshot `all > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -206,11 +206,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -286,10 +286,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -747,10 +748,11 @@
"@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",
@@ -789,16 +791,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -826,10 +833,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -859,13 +867,18 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
]
|
source/configs/recommended.unit.test.ts > recommended > should match the snapshot:
source/configs/recommended.unit.test.ts#L6
Error: Snapshot `recommended > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -70,11 +70,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -150,10 +150,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -611,10 +612,11 @@
"@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",
@@ -653,16 +655,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -690,10 +697,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -722,14 +730,19 @@
"allowNever": false,
"allowNullish": false,
"allowNumber": false,
"allowRegExp"
|
source/configs/strict.unit.test.ts > strict > should match the snapshot:
source/configs/strict.unit.test.ts#L6
Error: Snapshot `strict > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -2,215 +2,79 @@
{
"name": "2bad/strict",
},
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
"constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
"for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
"getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
"no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
"no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
"no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
"no-invalid-regexp": "error",
- "no-invalid-this": "error",
"no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
"no-loss-of-precision": "error",
- "no-magic-numbers": "error",
"no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no-nonoctal-decimal-escape": "error",
"no-obj-calls": "error",
- "no-object-constructor": "er
|
source/configs/strict.unit.test.ts > strict > should include the js all config:
source/configs/strict.unit.test.ts#L14
Error: Snapshot `strict > should include the js all config 1` mismatched
- Expected
+ Received
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
- "constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
- "for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
- "getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
- "no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
+ "constructor-super": "error",
+ "for-direction": "error",
+ "getter-return": "error",
+ "no-async-promise-executor": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
- "no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
+ "no-ex-assign": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
- "no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
- "no-invalid-regexp": "error",
- "no-invalid-this": "error",
- "no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
- "no-loss-of-precision": "error",
- "no-magic-numbers": "error",
- "no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
+ "no-import-assign": "error",
+ "no-invalid-regexp": "error",
+ "no-irregular-whitespace": "error",
+ "no-loss-of-precision": "error",
+ "no-misleading-character-class": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no
|
collect coverage
Process completed with exit code 1.
|
test on ubuntu-latest node@22
The job was canceled because "_20_ubuntu-latest" failed.
|
source/configs/all.unit.test.ts > all > should match the snapshot:
source/configs/all.unit.test.ts#L6
Error: Snapshot `all > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -206,11 +206,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -286,10 +286,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -747,10 +748,11 @@
"@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",
@@ -789,16 +791,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -826,10 +833,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -859,13 +867,18 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
]
|
source/configs/recommended.unit.test.ts > recommended > should match the snapshot:
source/configs/recommended.unit.test.ts#L6
Error: Snapshot `recommended > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -70,11 +70,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.1",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -150,10 +150,11 @@
"@typescript-eslint/no-restricted-types": "error",
"@typescript-eslint/no-shadow": "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-parameter-property-assignment": "error",
"@typescript-eslint/no-unnecessary-qualifier": "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",
@@ -611,10 +612,11 @@
"@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",
@@ -653,16 +655,21 @@
"allowNullish": false,
"allowNumber": false,
"allowRegExp": false,
},
],
+ "@typescript-eslint/return-await": [
+ "error",
+ "error-handling-correctness-only",
+ ],
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
"no-array-constructor": "off",
"no-implied-eval": "off",
+ "no-return-await": "off",
"no-throw-literal": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"prefer-promise-reject-errors": "off",
@@ -690,10 +697,11 @@
"@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-parameters": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-enum-comparison": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
@@ -722,14 +730,19 @@
"allowNever": false,
"allowNullish": false,
"allowNumber": false,
"allowRegExp"
|
source/configs/strict.unit.test.ts > strict > should match the snapshot:
source/configs/strict.unit.test.ts#L6
Error: Snapshot `strict > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -2,215 +2,79 @@
{
"name": "2bad/strict",
},
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
"constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
"for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
"getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
"no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
"no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
"no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
"no-invalid-regexp": "error",
- "no-invalid-this": "error",
"no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
"no-loss-of-precision": "error",
- "no-magic-numbers": "error",
"no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no-nonoctal-decimal-escape": "error",
"no-obj-calls": "error",
- "no-object-constructor": "er
|
source/configs/strict.unit.test.ts > strict > should include the js all config:
source/configs/strict.unit.test.ts#L14
Error: Snapshot `strict > should include the js all config 1` mismatched
- Expected
+ Received
{
"rules": {
- "accessor-pairs": "error",
- "array-callback-return": "error",
- "arrow-body-style": "error",
- "block-scoped-var": "error",
- "camelcase": "error",
- "capitalized-comments": "error",
- "class-methods-use-this": "error",
- "complexity": "error",
- "consistent-return": "error",
- "consistent-this": "error",
- "constructor-super": "error",
- "curly": "error",
- "default-case": "error",
- "default-case-last": "error",
- "default-param-last": "error",
- "dot-notation": "error",
- "eqeqeq": "error",
- "for-direction": "error",
- "func-name-matching": "error",
- "func-names": "error",
- "func-style": "error",
- "getter-return": "error",
- "grouped-accessor-pairs": "error",
- "guard-for-in": "error",
- "id-denylist": "error",
- "id-length": "error",
- "id-match": "error",
- "init-declarations": "error",
- "logical-assignment-operators": "error",
- "max-classes-per-file": "error",
- "max-depth": "error",
- "max-lines": "error",
- "max-lines-per-function": "error",
- "max-nested-callbacks": "error",
- "max-params": "error",
- "max-statements": "error",
- "new-cap": "error",
- "no-alert": "error",
- "no-array-constructor": "error",
- "no-async-promise-executor": "error",
- "no-await-in-loop": "error",
- "no-bitwise": "error",
- "no-caller": "error",
+ "constructor-super": "error",
+ "for-direction": "error",
+ "getter-return": "error",
+ "no-async-promise-executor": "error",
"no-case-declarations": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
- "no-console": "error",
"no-const-assign": "error",
"no-constant-binary-expression": "error",
"no-constant-condition": "error",
- "no-constructor-return": "error",
- "no-continue": "error",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
- "no-div-regex": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
- "no-duplicate-imports": "error",
- "no-else-return": "error",
"no-empty": "error",
"no-empty-character-class": "error",
- "no-empty-function": "error",
"no-empty-pattern": "error",
"no-empty-static-block": "error",
- "no-eq-null": "error",
- "no-eval": "error",
- "no-ex-assign": "error",
- "no-extend-native": "error",
- "no-extra-bind": "error",
+ "no-ex-assign": "error",
"no-extra-boolean-cast": "error",
- "no-extra-label": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-global-assign": "error",
- "no-implicit-coercion": "error",
- "no-implicit-globals": "error",
- "no-implied-eval": "error",
- "no-import-assign": "error",
- "no-inline-comments": "error",
- "no-inner-declarations": "error",
- "no-invalid-regexp": "error",
- "no-invalid-this": "error",
- "no-irregular-whitespace": "error",
- "no-iterator": "error",
- "no-label-var": "error",
- "no-labels": "error",
- "no-lone-blocks": "error",
- "no-lonely-if": "error",
- "no-loop-func": "error",
- "no-loss-of-precision": "error",
- "no-magic-numbers": "error",
- "no-misleading-character-class": "error",
- "no-multi-assign": "error",
- "no-multi-str": "error",
- "no-negated-condition": "error",
- "no-nested-ternary": "error",
- "no-new": "error",
- "no-new-func": "error",
+ "no-import-assign": "error",
+ "no-invalid-regexp": "error",
+ "no-irregular-whitespace": "error",
+ "no-loss-of-precision": "error",
+ "no-misleading-character-class": "error",
"no-new-native-nonconstructor": "error",
- "no-new-wrappers": "error",
"no
|
test on ubuntu-latest node@22
Process completed with exit code 1.
|
test on windows-latest node@20
The job was canceled because "_20_ubuntu-latest" failed.
|
test on windows-latest node@20
The operation was canceled.
|
test on windows-latest node@22
The job was canceled because "_20_ubuntu-latest" failed.
|
test on windows-latest node@22
The operation was canceled.
|