Update all non-major dependencies #220
Annotations
4 errors
|
Run npm run test:
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.5.0",
+ "version": "8.10.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -819,11 +819,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.10.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -902,10 +902,12 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
+ "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -1030,10 +1032,11 @@
"preferGetterStyle": "Literals should be exposed using getters.",
"preferGetterStyleSuggestion": "Replace the literals with getters.",
},
"schema": [
{
+ "description": "Which literal class member syntax to prefer.",
"enum": [
"fields",
"getters",
],
"type": "string",
@@ -1066,22 +1069,22 @@
{
"additionalProperties": false,
"properties": {
"enforceForClassFields": {
"default": true,
- "description": "Enforces that functions used as instance field initializers utilize `this`",
+ "description": "Enforces that functions used as instance field initializers utilize `this`.",
"type": "boolean",
},
"exceptMethods": {
- "description": "Allows specified method names to be ignored with this rule",
+ "description": "Allows specified method names to be ignored with this rule.",
"items": {
"type": "string",
},
"type": "array",
},
"ignoreClassesThatImplementAnInterface": {
- "description": "Ignore classes that specifically implement some interface",
+ "description": "Makes the rule ignore class members that are defined within a class that `implements` a type",
"oneOf": [
{
"description": "Ignore all classes that implement an interface",
"type": "boolean",
},
@@ -1121,10 +1124,11 @@
"preferConstructor": "The generic type arguments should be specified as part of the constructor type arguments.",
"preferTypeAnnotation": "The generic type arguments should be specified as part of the type annotation.",
},
"schema": [
{
+ "description": "Which constructor call syntax to prefer.",
"enum": [
"type-annotation",
"constructor",
],
"type": "string",
@@ -1149,10 +1153,11 @@
"preferIndexSignature": "An index signature is preferred over a record.",
|
Run npm run test:
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.5.0",
+ "version": "8.10.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -752,11 +752,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.10.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -835,10 +835,12 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
+ "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -963,10 +965,11 @@
"preferGetterStyle": "Literals should be exposed using getters.",
"preferGetterStyleSuggestion": "Replace the literals with getters.",
},
"schema": [
{
+ "description": "Which literal class member syntax to prefer.",
"enum": [
"fields",
"getters",
],
"type": "string",
@@ -999,22 +1002,22 @@
{
"additionalProperties": false,
"properties": {
"enforceForClassFields": {
"default": true,
- "description": "Enforces that functions used as instance field initializers utilize `this`",
+ "description": "Enforces that functions used as instance field initializers utilize `this`.",
"type": "boolean",
},
"exceptMethods": {
- "description": "Allows specified method names to be ignored with this rule",
+ "description": "Allows specified method names to be ignored with this rule.",
"items": {
"type": "string",
},
"type": "array",
},
"ignoreClassesThatImplementAnInterface": {
- "description": "Ignore classes that specifically implement some interface",
+ "description": "Makes the rule ignore class members that are defined within a class that `implements` a type",
"oneOf": [
{
"description": "Ignore all classes that implement an interface",
"type": "boolean",
},
@@ -1054,10 +1057,11 @@
"preferConstructor": "The generic type arguments should be specified as part of the constructor type arguments.",
"preferTypeAnnotation": "The generic type arguments should be specified as part of the type annotation.",
},
"schema": [
{
+ "description": "Which constructor call syntax to prefer.",
"enum": [
"type-annotation",
"constructor",
],
"type": "string",
@@ -1082,10 +1086,11 @@
"preferIndexSignature": "An index signature is preferred over a record.",
"preferRecord": "A record is preferred over an index signature.",
},
"schema": [
{
+ "description":
|
Run npm run test
The operation was canceled.
|
Loading