Update github/codeql-action digest to afb54ba #40
Annotations
24 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.0-alpha.44",
},
"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",
@@ -940,11 +941,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4816,10 +4817,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -5062,10 +5064,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5867,16 +5873,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6238,10 +6245,25 @@
},
],
"type": "suggestion",
},
},
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs": {
+ "description": "Disallow unnecessary assignment of constructor propert
|
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.0-alpha.44",
},
"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",
@@ -804,11 +805,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4680,10 +4681,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -4926,10 +4928,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5731,16 +5737,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6099,10 +6106,25 @@
},
},
"type": "object",
},
],
+ "type": "suggestion",
+ },
+ },
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs"
|
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",
"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": "error",
"no-octal": "error",
- "no-octal-escape": "error",
- "no-param-reassign": "error",
- "no-plusplus": "error",
- "no-promise-executor-return": "error",
- "no-proto": "error",
"no-prototype-builtins": "error",
"no-redeclare": "error"
|
collect coverage
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.0-alpha.44",
},
"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",
@@ -940,11 +941,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4816,10 +4817,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -5062,10 +5064,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5867,16 +5873,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6238,10 +6245,25 @@
},
],
"type": "suggestion",
},
},
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs": {
+ "description": "Disallow unnecessary assignment of constructor propert
|
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.0-alpha.44",
},
"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",
@@ -804,11 +805,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4680,10 +4681,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -4926,10 +4928,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5731,16 +5737,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6099,10 +6106,25 @@
},
},
"type": "object",
},
],
+ "type": "suggestion",
+ },
+ },
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs"
|
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",
"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": "error",
"no-octal": "error",
- "no-octal-escape": "error",
- "no-param-reassign": "error",
- "no-plusplus": "error",
- "no-promise-executor-return": "error",
- "no-proto": "error",
"no-prototype-builtins": "error",
"no-redeclare": "error"
|
test on ubuntu-latest node@22
Process completed with exit code 1.
|
test on ubuntu-latest node@21
The job was canceled because "_22_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.0-alpha.44",
},
"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",
@@ -940,11 +941,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4816,10 +4817,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -5062,10 +5064,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5867,16 +5873,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6238,10 +6245,25 @@
},
],
"type": "suggestion",
},
},
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs": {
+ "description": "Disallow unnecessary assignment of constructor propert
|
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.0-alpha.44",
},
"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",
@@ -804,11 +805,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.0.0-alpha.39",
+ "version": "8.0.0-alpha.44",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4680,10 +4681,11 @@
"create": [Function],
"defaultOptions": [
{
"allowForKnownSafeCalls": [],
"allowForKnownSafePromises": [],
+ "checkThenables": false,
"ignoreIIFE": false,
"ignoreVoid": true,
},
],
"meta": {
@@ -4926,10 +4928,14 @@
},
],
},
"type": "array",
},
+ "checkThenables": {
+ "description": "Whether to check all "Thenable"s, not just the built-in Promise type.",
+ "type": "boolean",
+ },
"ignoreIIFE": {
"description": "Whether to ignore async IIFEs (Immediately Invoked Function Expressions).",
"type": "boolean",
},
"ignoreVoid": {
@@ -5731,16 +5737,17 @@
"type": "array",
"uniqueItems": true,
},
"message": {
"minLength": 1,
+ "type": "string",
+ },
+ "regex": {
"type": "string",
},
},
- "required": [
- "group",
- ],
+ "required": undefined,
"type": "object",
},
"type": "array",
"uniqueItems": true,
},
@@ -6099,10 +6106,25 @@
},
},
"type": "object",
},
],
+ "type": "suggestion",
+ },
+ },
+ "no-unnecessary-parameter-property-assignment": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs"
|
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",
"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": "error",
"no-octal": "error",
- "no-octal-escape": "error",
- "no-param-reassign": "error",
- "no-plusplus": "error",
- "no-promise-executor-return": "error",
- "no-proto": "error",
"no-prototype-builtins": "error",
"no-redeclare": "error"
|
test on ubuntu-latest node@21
Process completed with exit code 1.
|
test on windows-latest node@20
The job was canceled because "_22_ubuntu-latest" failed.
|
test on windows-latest node@20
The operation was canceled.
|
test on windows-latest node@22
The job was canceled because "_22_ubuntu-latest" failed.
|
test on windows-latest node@22
The operation was canceled.
|
test on windows-latest node@21
The job was canceled because "_22_ubuntu-latest" failed.
|
test on windows-latest node@21
The operation was canceled.
|
test on ubuntu-latest node@20
The job was canceled because "_22_ubuntu-latest" failed.
|
test on ubuntu-latest node@20
The operation was canceled.
|