Update all non-major dependencies #259
Annotations
3 errors
Run npm run test:unit:
source/configs/strict.unit.test.ts#L6
Error: Snapshot `strict > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -68,11 +68,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.11.0",
+ "version": "8.14.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -317,10 +317,11 @@
"*.cts",
],
"rules": {
"constructor-super": "off",
"getter-return": "off",
+ "no-class-assign": "off",
"no-const-assign": "off",
"no-dupe-args": "off",
"no-dupe-class-members": "off",
"no-dupe-keys": "off",
"no-func-assign": "off",
@@ -819,11 +820,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.11.0",
+ "version": "8.14.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -902,12 +903,13 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "awaitUsingOfNonAsyncDisposable": "Unexpected `await using` of a value that is not async disposable.",
"convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
- "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
+ "forAwaitOfNonAsyncIterable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -4375,10 +4377,14 @@
},
"ignoreVoidOperator": {
"description": "Whether to ignore returns that start with the `void` operator.",
"type": "boolean",
},
+ "ignoreVoidReturningFunctions": {
+ "description": "Whether to ignore returns from functions with explicit `void` return types and functions with contextual `void` return types.",
+ "type": "boolean",
+ },
},
"type": "object",
},
],
"type": "problem",
@@ -6194,11 +6200,11 @@
"alwaysFalsy": "Unnecessary conditional, value is always falsy.",
"alwaysFalsyFunc": "This callback should return a conditional, but return is always falsy.",
"alwaysNullish": "Unnecessary conditional, left-hand side of `??` operator is always `null` or `undefined`.",
"alwaysTruthy": "Unnecessary conditional, value is always truthy.",
"alwaysTruthyFunc": "This callback should return a conditional, but return is always truthy.",
- "literalBooleanExpression": "Unnecessary conditional, both sides of the expression are literal values.",
+ "literalBooleanExpression": "Unnecessary conditional, comparison is always {{trueOrFalse}}. Both sides of the comparison always have a literal type.",
"never": "Unnecessary conditional, value is `never`.",
"neverNullish": "Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined.",
"neverOptionalChain": "Unnecessary optional chain on a non-nullish value.",
"noOverlapBooleanExpression": "Unnecessary conditional, the types have no overlap.",
"noStrictNullCheck": "Thi
|
Run npm run test:unit:
source/configs/strict.unit.test.ts#L14
Error: Snapshot `strict > should include the js all config 1` mismatched
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.11.0",
+ "version": "8.14.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -250,10 +250,11 @@
"*.cts",
],
"rules": {
"constructor-super": "off",
"getter-return": "off",
+ "no-class-assign": "off",
"no-const-assign": "off",
"no-dupe-args": "off",
"no-dupe-class-members": "off",
"no-dupe-keys": "off",
"no-func-assign": "off",
@@ -752,11 +753,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.11.0",
+ "version": "8.14.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -835,12 +836,13 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "awaitUsingOfNonAsyncDisposable": "Unexpected `await using` of a value that is not async disposable.",
"convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
- "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
+ "forAwaitOfNonAsyncIterable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -4308,10 +4310,14 @@
},
"ignoreVoidOperator": {
"description": "Whether to ignore returns that start with the `void` operator.",
"type": "boolean",
},
+ "ignoreVoidReturningFunctions": {
+ "description": "Whether to ignore returns from functions with explicit `void` return types and functions with contextual `void` return types.",
+ "type": "boolean",
+ },
},
"type": "object",
},
],
"type": "problem",
@@ -6127,11 +6133,11 @@
"alwaysFalsy": "Unnecessary conditional, value is always falsy.",
"alwaysFalsyFunc": "This callback should return a conditional, but return is always falsy.",
"alwaysNullish": "Unnecessary conditional, left-hand side of `??` operator is always `null` or `undefined`.",
"alwaysTruthy": "Unnecessary conditional, value is always truthy.",
"alwaysTruthyFunc": "This callback should return a conditional, but return is always truthy.",
- "literalBooleanExpression": "Unnecessary conditional, both sides of the expression are literal values.",
+ "literalBooleanExpression": "Unnecessary conditional, comparison is always {{trueOrFalse}}. Both sides of the comparison always have a literal type.",
"never": "Unnecessary conditional, value is `never`.",
"neverNullish": "Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined.",
"neverOptionalChain": "Unnecessary optional chain on a non-nullish value.",
"noOverlapBooleanExpression": "Unnecessary conditional, the types have no overlap.",
"noStrictNullCheck": "This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",
@@ -6795,10 +6801,11 @@
},
"o
|
Run npm run test:unit
Process completed with exit code 1.
|
Loading