Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.11.0 to 8.12.2 in the eslint-dev group #1807

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps the eslint-dev group with 1 update: @typescript-eslint/eslint-plugin.

Updates @typescript-eslint/eslint-plugin from 8.11.0 to 8.12.2

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v8.12.2

8.12.2 (2024-10-29)

🩹 Fixes

  • eslint-plugin: [switch-exhaustiveness-check] invert considerDefaultExhaustiveForUnions (#10223)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.1

8.12.1 (2024-10-28)

🚀 Features

  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#10152)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#10160)
  • eslint-plugin: [switch-exhaustiveness-check] add considerDefaultExhaustiveForUnions option (#9954)
  • eslint-plugin: [no-base-to-string] handle String() (#10005)
  • typescript-eslint: improve undefined extension handling (#10177)

🩹 Fixes

  • eslint-plugin: [no-unsafe-return] don't reiterate through all type parts for each part (#10203)
  • website: enable noImplicitAny (#10175)
  • rule-tester: use cwd option to set base path for tests with file name (#10201)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.0

See https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

8.12.2 (2024-10-29)

🩹 Fixes

  • eslint-plugin: [switch-exhaustiveness-check] invert considerDefaultExhaustiveForUnions (#10223)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

8.12.1 (2024-10-28)

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.12.0 (2024-10-28)

🚀 Features

  • eslint-plugin: [no-base-to-string] handle String() (#10005)
  • eslint-plugin: [switch-exhaustiveness-check] add allowDefaultCaseMatchUnionMember option (#9954)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#10160)
  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#10152)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

Commits
  • 4af866a chore(release): publish 8.12.2
  • cc7177c fix(eslint-plugin): [switch-exhaustiveness-check] invert `considerDefaultExha...
  • 1edec1d chore(release): publish 8.12.1
  • 3413a2d chore(release): publish 8.12.0
  • ac18749 feat(eslint-plugin): [no-base-to-string] handle String() (#10005)
  • 3c8978d feat(eslint-plugin): [switch-exhaustiveness-check] add allowDefaultCaseMatchU...
  • af4743f test(eslint-plugin): fix a typo in a test, causing it to test the error typ...
  • 9c956ee feat(eslint-plugin): [consistent-indexed-object-style] report mapped types (#...
  • e765033 feat(eslint-plugin): [prefer-nullish-coalescing] add support for assignment e...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the eslint-dev group with 1 update: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin).


Updates `@typescript-eslint/eslint-plugin` from 8.11.0 to 8.12.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint-dev
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 4, 2024
@github-actions github-actions bot enabled auto-merge (squash) November 4, 2024 02:08
Copy link
Contributor

github-actions bot commented Nov 4, 2024

Diff between @typescript-eslint/eslint-plugin 8.11.0 and 8.12.2
diff --git a/dist/rules/consistent-indexed-object-style.js b/dist/rules/consistent-indexed-object-style.js
index v8.11.0..v8.12.2 100644
--- a/dist/rules/consistent-indexed-object-style.js
+++ b/dist/rules/consistent-indexed-object-style.js
@@ -108,4 +108,45 @@
                     checkMembers(node.body.body, node, node.id, `type ${node.id.name}${genericTypes} = `, ';', !node.extends.length);
                 },
+                TSMappedType(node) {
+                    const key = node.key;
+                    const scope = context.sourceCode.getScope(key);
+                    const scopeManagerKey = (0, util_1.nullThrows)(scope.variables.find(value => value.name === key.name && value.isTypeVariable), 'key type parameter must be a defined type variable in its scope');
+                    // If the key is used to compute the value, we can't convert to a Record.
+                    if (scopeManagerKey.references.some(reference => reference.isTypeReference)) {
+                        return;
+                    }
+                    const constraint = node.constraint;
+                    if (constraint.type === utils_1.AST_NODE_TYPES.TSTypeOperator &&
+                        constraint.operator === 'keyof' &&
+                        !(0, util_1.isParenthesized)(constraint, context.sourceCode)) {
+                        // This is a weird special case, since modifiers are preserved by
+                        // the mapped type, but not by the Record type. So this type is not,
+                        // in general, equivalent to a Record type.
+                        return;
+                    }
+                    // There's no builtin Mutable<T> type, so we can't autofix it really.
+                    const canFix = node.readonly !== '-';
+                    context.report({
+                        node,
+                        messageId: 'preferRecord',
+                        ...(canFix && {
+                            fix: (fixer) => {
+                                const keyType = context.sourceCode.getText(constraint);
+                                const valueType = context.sourceCode.getText(node.typeAnnotation);
+                                let recordText = `Record<${keyType}, ${valueType}>`;
+                                if (node.optional === '+' || node.optional === true) {
+                                    recordText = `Partial<${recordText}>`;
+                                }
+                                else if (node.optional === '-') {
+                                    recordText = `Required<${recordText}>`;
+                                }
+                                if (node.readonly === '+' || node.readonly === true) {
+                                    recordText = `Readonly<${recordText}>`;
+                                }
+                                return fixer.replaceText(node, recordText);
+                            },
+                        }),
+                    });
+                },
                 TSTypeLiteral(node) {
                     const parent = findParentDeclaration(node);
diff --git a/dist/rules/no-base-to-string.js b/dist/rules/no-base-to-string.js
index v8.11.0..v8.12.2 100644
--- a/dist/rules/no-base-to-string.js
+++ b/dist/rules/no-base-to-string.js
@@ -136,4 +136,14 @@
             return Usefulness.Never;
         }
+        function isBuiltInStringCall(node) {
+            if (node.callee.type === utils_1.AST_NODE_TYPES.Identifier &&
+                node.callee.name === 'String' &&
+                node.arguments[0]) {
+                const scope = context.sourceCode.getScope(node);
+                const variable = scope.set.get('String');
+                return !variable?.defs.length;
+            }
+            return false;
+        }
         return {
             'AssignmentExpression[operator = "+="], BinaryExpression[operator = "+"]'(node) {
@@ -148,4 +158,9 @@
                 }
             },
+            CallExpression(node) {
+                if (isBuiltInStringCall(node)) {
+                    checkExpression(node.arguments[0]);
+                }
+            },
             'CallExpression > MemberExpression.callee > Identifier[name = /^(toLocaleString|toString)$/].property'(node) {
                 const memberExpr = node.parent;
diff --git a/dist/rules/prefer-nullish-coalescing.js b/dist/rules/prefer-nullish-coalescing.js
index v8.11.0..v8.12.2 100644
--- a/dist/rules/prefer-nullish-coalescing.js
+++ b/dist/rules/prefer-nullish-coalescing.js
@@ -40,7 +40,7 @@
         messages: {
             noStrictNullCheck: 'This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.',
-            preferNullishOverOr: 'Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.',
-            preferNullishOverTernary: 'Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read.',
-            suggestNullish: 'Fix to nullish coalescing operator (`??`).',
+            preferNullishOverOr: 'Prefer using nullish coalescing operator (`??{{ equals }}`) instead of a logical {{ description }} (`||{{ equals }}`), as it is a safer operator.',
+            preferNullishOverTernary: 'Prefer using nullish coalescing operator (`??{{ equals }}`) instead of a ternary expression, as it is simpler to read.',
+            suggestNullish: 'Fix to nullish coalescing operator (`??{{ equals }}`).',
         },
         schema: [
@@ -130,5 +130,73 @@
             });
         }
+        // todo: rename to something more specific?
+        function checkAssignmentOrLogicalExpression(node, description, equals) {
+            const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
+            const type = checker.getTypeAtLocation(tsNode.left);
+            if (!(0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Null | ts.TypeFlags.Undefined)) {
+                return;
+            }
+            if (ignoreConditionalTests === true && isConditionalTest(node)) {
+                return;
+            }
+            if (ignoreMixedLogicalExpressions === true &&
+                isMixedLogicalExpression(node)) {
+                return;
+            }
+            // https://github.com/typescript-eslint/typescript-eslint/issues/5439
+            /* eslint-disable @typescript-eslint/no-non-null-assertion */
+            const ignorableFlags = [
+                (ignorePrimitives === true || ignorePrimitives.bigint) &&
+                    ts.TypeFlags.BigIntLike,
+                (ignorePrimitives === true || ignorePrimitives.boolean) &&
+                    ts.TypeFlags.BooleanLike,
+                (ignorePrimitives === true || ignorePrimitives.number) &&
+                    ts.TypeFlags.NumberLike,
+                (ignorePrimitives === true || ignorePrimitives.string) &&
+                    ts.TypeFlags.StringLike,
+            ]
+                .filter((flag) => typeof flag === 'number')
+                .reduce((previous, flag) => previous | flag, 0);
+            if (type.flags !== ts.TypeFlags.Null &&
+                type.flags !== ts.TypeFlags.Undefined &&
+                type.types.some(t => tsutils
+                    .intersectionTypeParts(t)
+                    .some(t => tsutils.isTypeFlagSet(t, ignorableFlags)))) {
+                return;
+            }
+            /* eslint-enable @typescript-eslint/no-non-null-assertion */
+            const barBarOperator = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(node.left, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator &&
+                token.value === node.operator), util_1.NullThrowsReasons.MissingToken('operator', node.type));
+            function* fix(fixer) {
+                if ((0, util_1.isLogicalOrOperator)(node.parent)) {
+                    // '&&' and '??' operations cannot be mixed without parentheses (e.g. a && b ?? c)
+                    if (node.left.type === utils_1.AST_NODE_TYPES.LogicalExpression &&
+                        !(0, util_1.isLogicalOrOperator)(node.left.left)) {
+                        yield fixer.insertTextBefore(node.left.right, '(');
+                    }
+                    else {
+                        yield fixer.insertTextBefore(node.left, '(');
+                    }
+                    yield fixer.insertTextAfter(node.right, ')');
+                }
+                yield fixer.replaceText(barBarOperator, node.operator.replace('||', '??'));
+            }
+            context.report({
+                node: barBarOperator,
+                messageId: 'preferNullishOverOr',
+                data: { description, equals },
+                suggest: [
+                    {
+                        messageId: 'suggestNullish',
+                        data: { equals },
+                        fix,
+                    },
+                ],
+            });
+        }
         return {
+            'AssignmentExpression[operator = "||="]'(node) {
+                checkAssignmentOrLogicalExpression(node, 'assignment', '=');
+            },
             ConditionalExpression(node) {
                 if (ignoreTernaryTests) {
@@ -155,5 +223,5 @@
                         node.test.right.right,
                     ];
-                    if (node.test.operator === '||') {
+                    if (['||', '||='].includes(node.test.operator)) {
                         if (node.test.left.operator === '===' &&
                             node.test.right.operator === '===') {
@@ -241,7 +309,10 @@
                         node,
                         messageId: 'preferNullishOverTernary',
+                        // TODO: also account for = in the ternary clause
+                        data: { equals: '' },
                         suggest: [
                             {
                                 messageId: 'suggestNullish',
+                                data: { equals: '' },
                                 fix(fixer) {
                                     const [left, right] = operator === '===' || operator === '=='
@@ -256,64 +327,5 @@
             },
             'LogicalExpression[operator = "||"]'(node) {
-                const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
-                const type = checker.getTypeAtLocation(tsNode.left);
-                if (!(0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Null | ts.TypeFlags.Undefined)) {
-                    return;
-                }
-                if (ignoreConditionalTests === true && isConditionalTest(node)) {
-                    return;
-                }
-                const isMixedLogical = isMixedLogicalExpression(node);
-                if (ignoreMixedLogicalExpressions === true && isMixedLogical) {
-                    return;
-                }
-                // https://github.com/typescript-eslint/typescript-eslint/issues/5439
-                /* eslint-disable @typescript-eslint/no-non-null-assertion */
-                const ignorableFlags = [
-                    (ignorePrimitives === true || ignorePrimitives.bigint) &&
-                        ts.TypeFlags.BigIntLike,
-                    (ignorePrimitives === true || ignorePrimitives.boolean) &&
-                        ts.TypeFlags.BooleanLike,
-                    (ignorePrimitives === true || ignorePrimitives.number) &&
-                        ts.TypeFlags.NumberLike,
-                    (ignorePrimitives === true || ignorePrimitives.string) &&
-                        ts.TypeFlags.StringLike,
-                ]
-                    .filter((flag) => typeof flag === 'number')
-                    .reduce((previous, flag) => previous | flag, 0);
-                if (type.flags !== ts.TypeFlags.Null &&
-                    type.flags !== ts.TypeFlags.Undefined &&
-                    type.types.some(t => tsutils
-                        .intersectionTypeParts(t)
-                        .some(t => tsutils.isTypeFlagSet(t, ignorableFlags)))) {
-                    return;
-                }
-                /* eslint-enable @typescript-eslint/no-non-null-assertion */
-                const barBarOperator = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(node.left, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator &&
-                    token.value === node.operator), util_1.NullThrowsReasons.MissingToken('operator', node.type));
-                function* fix(fixer) {
-                    if ((0, util_1.isLogicalOrOperator)(node.parent)) {
-                        // '&&' and '??' operations cannot be mixed without parentheses (e.g. a && b ?? c)
-                        if (node.left.type === utils_1.AST_NODE_TYPES.LogicalExpression &&
-                            !(0, util_1.isLogicalOrOperator)(node.left.left)) {
-                            yield fixer.insertTextBefore(node.left.right, '(');
-                        }
-                        else {
-                            yield fixer.insertTextBefore(node.left, '(');
-                        }
-                        yield fixer.insertTextAfter(node.right, ')');
-                    }
-                    yield fixer.replaceText(barBarOperator, '??');
-                }
-                context.report({
-                    node: barBarOperator,
-                    messageId: 'preferNullishOverOr',
-                    suggest: [
-                        {
-                            messageId: 'suggestNullish',
-                            fix,
-                        },
-                    ],
-                });
+                checkAssignmentOrLogicalExpression(node, 'or', '');
             },
         };
@@ -360,5 +372,5 @@
                 return true;
             }
-            else if (current.operator === '||') {
+            else if (['||', '||='].includes(current.operator)) {
                 // check the pieces of the node to catch cases like `a || b || c && d`
                 queue.push(current.parent, current.left, current.right);
diff --git a/dist/rules/switch-exhaustiveness-check.js b/dist/rules/switch-exhaustiveness-check.js
index v8.11.0..v8.12.2 100644
--- a/dist/rules/switch-exhaustiveness-check.js
+++ b/dist/rules/switch-exhaustiveness-check.js
@@ -50,4 +50,8 @@
                         description: `If 'true', allow 'default' cases on switch statements with exhaustive cases.`,
                     },
+                    considerDefaultExhaustiveForUnions: {
+                        type: 'boolean',
+                        description: `If 'true', the 'default' clause is used to determine whether the switch statement is exhaustive for union type`,
+                    },
                     requireDefaultForNonUnion: {
                         type: 'boolean',
@@ -61,8 +65,9 @@
         {
             allowDefaultCaseForExhaustiveSwitch: true,
+            considerDefaultExhaustiveForUnions: false,
             requireDefaultForNonUnion: false,
         },
     ],
-    create(context, [{ allowDefaultCaseForExhaustiveSwitch, requireDefaultForNonUnion }]) {
+    create(context, [{ allowDefaultCaseForExhaustiveSwitch, considerDefaultExhaustiveForUnions, requireDefaultForNonUnion, },]) {
         const services = (0, util_1.getParserServices)(context);
         const checker = services.program.getTypeChecker();
@@ -102,8 +107,10 @@
         function checkSwitchExhaustive(node, switchMetadata) {
             const { defaultCase, missingLiteralBranchTypes, symbolName } = switchMetadata;
-            // We only trigger the rule if a `default` case does not exist, since that
-            // would disqualify the switch statement from having cases that exactly
-            // match the members of a union.
-            if (missingLiteralBranchTypes.length > 0 && defaultCase === undefined) {
+            // If considerDefaultExhaustiveForUnions is enabled, the presence of a default case
+            // always makes the switch exhaustive.
+            if (considerDefaultExhaustiveForUnions && defaultCase != null) {
+                return;
+            }
+            if (missingLiteralBranchTypes.length > 0) {
                 context.report({
                     node: node.discriminant,
@@ -130,4 +137,5 @@
         symbolName) {
             const lastCase = node.cases.length > 0 ? node.cases[node.cases.length - 1] : null;
+            const defaultCase = node.cases.find(caseEl => caseEl.test == null);
             const caseIndent = lastCase
                 ? ' '.repeat(lastCase.loc.start.column)
@@ -163,4 +171,10 @@
                 .join('\n');
             if (lastCase) {
+                if (defaultCase) {
+                    const beforeFixString = missingCases
+                        .map(code => `${code}\n${caseIndent}`)
+                        .join('');
+                    return fixer.insertTextBefore(defaultCase, beforeFixString);
+                }
                 return fixer.insertTextAfter(lastCase, `\n${fixString}`);
             }
diff --git a/package.json b/package.json
index v8.11.0..v8.12.2 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
 {
   "name": "@typescript-eslint/eslint-plugin",
-  "version": "8.11.0",
+  "version": "8.12.2",
   "description": "TypeScript plugin for ESLint",
   "files": [
@@ -62,8 +62,8 @@
   "dependencies": {
     "@eslint-community/regexpp": "^4.10.0",
-    "@typescript-eslint/scope-manager": "8.11.0",
-    "@typescript-eslint/type-utils": "8.11.0",
-    "@typescript-eslint/utils": "8.11.0",
-    "@typescript-eslint/visitor-keys": "8.11.0",
+    "@typescript-eslint/scope-manager": "8.12.2",
+    "@typescript-eslint/type-utils": "8.12.2",
+    "@typescript-eslint/utils": "8.12.2",
+    "@typescript-eslint/visitor-keys": "8.12.2",
     "graphemer": "^1.4.0",
     "ignore": "^5.3.1",
@@ -76,6 +76,6 @@
     "@types/mdast": "^4.0.3",
     "@types/natural-compare": "*",
-    "@typescript-eslint/rule-schema-to-typescript-types": "8.11.0",
-    "@typescript-eslint/rule-tester": "8.11.0",
+    "@typescript-eslint/rule-schema-to-typescript-types": "8.12.2",
+    "@typescript-eslint/rule-tester": "8.12.2",
     "ajv": "^6.12.6",
     "cross-env": "^7.0.3",
diff --git a/dist/rules/consistent-indexed-object-style.js.map b/dist/rules/consistent-indexed-object-style.js.map
index v8.11.0..v8.12.2 100644
--- a/dist/rules/consistent-indexed-object-style.js.map
+++ b/dist/rules/consistent-indexed-object-style.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAEA,oDAAoE;AAEpE,kCAAqC;AAKrC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAAE,gDAAgD;YACtE,YAAY,EAAE,gDAAgD;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;gBACrD,IAAI,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;aACpC;SACF;KACF;IACD,cAAc,EAAE,CAAC,QAAQ,CAAC;IAC1B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,SAAS,YAAY,CACnB,OAA+B,EAC/B,IAA8D,EAC9D,QAAyC,EACzC,MAAc,EACd,OAAe,EACf,OAAO,GAAG,IAAI;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AI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACxE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/D,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,OAAO,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAGA,oDAAoE;AAEpE,kCAAkE;AAKlE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAAE,gDAAgD;YACtE,YAAY,EAAE,gDAAgD;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;gBACrD,IAAI,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;aACpC;SACF;KACF;IACD,cAAc,EAAE,CAAC,QAAQ,CAAC;IAC1B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,SAAS,YAAY,CACnB,OAA+B,EAC/B,IAA8D,EAC9D,QAAyC,EACzC,MAAc,EACd,OAAe,EACf,OAAO,GAAG,IAAI;YAEd,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;YAEzB,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB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CAAC;yBACF,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBACD,aAAa,CAAC,IAAI;oBAChB,MAAM,MAAM,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;oBAC3C,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACvD,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAC5B,IAAmB;IAEnB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACxE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/D,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,OAAO,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
\ No newline at end of file
diff --git a/dist/rules/no-base-to-string.js.map b/dist/rules/no-base-to-string.js.map
index v8.11.0..v8.12.2 100644
--- a/dist/rules/no-base-to-string.js.map
+++ b/dist/rules/no-base-to-string.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAqE;AAErE,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;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C,CAAC;gBACzC,CAAC;qBAAM,IACL,IAAA,kBAAW,EAAC,OAAO,EAAE,SAAS,CAAC,KAAK,QAAQ;oBAC5C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EACnD,CAAC;oBACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBACvC,CAAC;YACH,CAAC;YACD,sGAAsG,CACpG,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YACD,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAqE;AAErE,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,YAAY,EACV,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ullish-coalescing.js.map b/dist/rules/prefer-nullish-coalescing.js.map
index v8.11.0..v8.12.2 100644
--- a/dist/rules/prefer-nullish-coalescing.js.map
+++ b/dist/rules/prefer-nullish-coalescing.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAYiB;AAyBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,4GAA4G;YAC9G,wBAAwB,EACtB,4GAA4G;YAC9G,cAAc,EAAE,4CAA4C;SAC7D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uGAAuG;qBAC1G;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,qFAAqF;wBACvF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,wCAAwC;gCACrD,UAAU,EAAE;oCACV,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAA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AAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
\ No newline at end of file
+{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAYiB;AAyBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,mJAAmJ;YACrJ,wBAAwB,EACtB,wHAAwH;YAC1H,cAAc,EAAE,wDAAwD;SACzE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uGAAuG;qBAC1G;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,qFAAqF;wBACvF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,wCAAwC;gCACrD,UAAU,EAAE;oCACV,MAA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,IAAI,GAAG,EAA6B,CAAC;IAClD,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACnD,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACtB,SAAS;QACX,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAElB,IAAI,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;YACtD,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC9B,OAAO,IAAI,CAAC;YACd,CAAC;iBAAM,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACpD,sEAAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
\ No newline at end of file
diff --git a/dist/rules/switch-exhaustiveness-check.js.map b/dist/rules/switch-exhaustiveness-check.js.map
index v8.11.0..v8.12.2 100644
--- a/dist/rules/switch-exhaustiveness-check.js.map
+++ b/dist/rules/switch-exhaustiveness-check.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"switch-exhaustiveness-check.js","sourceRoot":"","sources":["../../src/rules/switch-exhaustiveness-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AAiCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAA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C,qBAAqB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;gBAC5C,iCAAiC,CAAC,cAAc,CAAC,CAAC;gBAClD,6BAA6B,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YACtD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,IAAa;IAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,OAAO;QAClB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,cAAc,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,6BAA6B,CAAC,IAAa;IAClD,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,IAAI,CAAC,EAAE,CACX,OAAO;SACJ,qBAAqB,CAAC,IAAI,CAAC;SAC3B,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AACN,CAAC"}
\ No newline at end of file
diff --git a/docs/rules/consistent-indexed-object-style.mdx b/docs/rules/consistent-indexed-object-style.mdx
index v8.11.0..v8.12.2 100644
--- a/docs/rules/consistent-indexed-object-style.mdx
+++ b/docs/rules/consistent-indexed-object-style.mdx
@@ -10,16 +10,22 @@
 > See **https://typescript-eslint.io/rules/consistent-indexed-object-style** for documentation.
 
-TypeScript supports defining arbitrary object keys using an index signature. TypeScript also has a builtin type named `Record` to create an empty object defining only an index signature. For example, the following types are equal:
+TypeScript supports defining arbitrary object keys using an index signature or mapped type.
+TypeScript also has a builtin type named `Record` to create an empty object defining only an index signature.
+For example, the following types are equal:
 
 ```ts
-interface Foo {
+interface IndexSignatureInterface {
   [key: string]: unknown;
 }
 
-type Foo = {
+type IndexSignatureType = {
   [key: string]: unknown;
 };
 
-type Foo = Record<string, unknown>;
+type MappedType = {
+  [key in string]: unknown;
+};
+
+type RecordType = Record<string, unknown>;
 ```
 
@@ -39,11 +45,15 @@
 
 ```ts option='"record"'
-interface Foo {
+interface IndexSignatureInterface {
   [key: string]: unknown;
 }
 
-type Foo = {
+type IndexSignatureType = {
   [key: string]: unknown;
 };
+
+type MappedType = {
+  [key in string]: unknown;
+};
 ```
 
@@ -52,5 +62,5 @@
 
 ```ts option='"record"'
-type Foo = Record<string, unknown>;
+type RecordType = Record<string, unknown>;
 ```
 
@@ -64,5 +74,5 @@
 
 ```ts option='"index-signature"'
-type Foo = Record<string, unknown>;
+type RecordType = Record<string, unknown>;
 ```
 
@@ -71,11 +81,15 @@
 
 ```ts option='"index-signature"'
-interface Foo {
+interface IndexSignatureInterface {
   [key: string]: unknown;
 }
 
-type Foo = {
+type IndexSignatureType = {
   [key: string]: unknown;
 };
+
+type MappedType = {
+  [key in string]: unknown;
+};
 ```
 
diff --git a/docs/rules/no-base-to-string.mdx b/docs/rules/no-base-to-string.mdx
index v8.11.0..v8.12.2 100644
--- a/docs/rules/no-base-to-string.mdx
+++ b/docs/rules/no-base-to-string.mdx
@@ -10,5 +10,5 @@
 > See **https://typescript-eslint.io/rules/no-base-to-string** for documentation.
 
-JavaScript will call `toString()` on an object when it is converted to a string, such as when `+` adding to a string or in `${}` template literals.
+JavaScript will call `toString()` on an object when it is converted to a string, such as when concatenated with a string (`expr + ''`), when interpolated into template literals (`${expr}`), or when passed as an argument to the String constructor (`String(expr)`).
 The default Object `.toString()` and `toLocaleString()` use the format `"[object Object]"`, which is often not what was intended.
 This rule reports on stringified values that aren't primitives and don't define a more useful `.toString()` or `toLocaleString()` method.
@@ -32,4 +32,5 @@
 // Interpolation and manual .toString() and `toLocaleString()` calls too:
 `Value: ${value}`;
+String({});
 ({}).toString();
 ({}).toLocaleString();
@@ -45,4 +46,5 @@
 `Arrays too: ${[1, 2, 3]}`;
 (() => {}).toString();
+String(42);
 (() => {}).toLocaleString();
 
@@ -65,4 +67,13 @@
 </Tabs>
 
+## Alternatives
+
+Consider using `JSON.stringify` when you want to convert non-primitive things to string for logging, debugging, etc.
+
+```typescript
+declare const o: object;
+const errorMessage = 'Found unexpected value: ' + JSON.stringify(o);
+```
+
 ## Options
 
@@ -83,4 +94,5 @@
 value.toString();
 let text = `${value}`;
+String(/regex/);
 ```
 
diff --git a/docs/rules/switch-exhaustiveness-check.mdx b/docs/rules/switch-exhaustiveness-check.mdx
index v8.11.0..v8.12.2 100644
--- a/docs/rules/switch-exhaustiveness-check.mdx
+++ b/docs/rules/switch-exhaustiveness-check.mdx
@@ -24,5 +24,5 @@
 
 When a `switch` statement over a union type is exhaustive, a final `default` case would be a form of dead code.
-Additionally, if a new value is added to the union type, a `default` would prevent the `switch-exhaustiveness-check` rule from reporting on the new case not being handled in the `switch` statement.
+Additionally, if a new value is added to the union type and you're using [`considerDefaultExhaustiveForUnions`](#considerDefaultExhaustiveForUnions), a `default` would prevent the `switch-exhaustiveness-check` rule from reporting on the new case not being handled in the `switch` statement.
 
 #### `allowDefaultCaseForExhaustiveSwitch` Caveats
@@ -58,7 +58,28 @@
 Since `value` is a non-union type it requires the switch case to have a default clause only with `requireDefaultForNonUnion` enabled.
 
+### `considerDefaultExhaustiveForUnions`
+
+{/* insert option description */}
+
+If set to true, a `switch` statement over a union type that includes a `default` case is considered exhaustive.
+Otherwise, the rule enforces explicitly handling every constituent of the union type with their own explicit `case`.
+Keeping this option disabled can be useful if you want to make sure every value added to the union receives explicit handling, with the `default` case reserved for reporting an error.
+
+Examples of additional **correct** code with `{ considerDefaultExhaustiveForUnions: true }`:
+
+```ts option='{ "considerDefaultExhaustiveForUnions": true }' showPlaygroundButton
+declare const literal: 'a' | 'b';
+
+switch (literal) {
+  case 'a':
+    break;
+  default:
+    break;
+}
+```
+
 ## Examples
 
-When the switch doesn't have exhaustive cases, either filling them all out or adding a default will correct the rule's complaint.
+When the switch doesn't have exhaustive cases, either filling them all out or adding a default (if you have `considerDefaultExhaustiveForUnions` enabled) will address the rule's complaint.
 
 Here are some examples of code working with a union of literals:
@@ -131,5 +152,7 @@
 <TabItem value="✅ Correct (Defaulted)">
 
-```ts
+```ts option='{ "considerDefaultExhaustiveForUnions": true }'
+// requires `considerDefaultExhaustiveForUnions` to be set to true
+
 type Day =
   | 'Monday'
@@ -207,5 +230,7 @@
 <TabItem value="✅ Correct (Defaulted)">
 
-```ts
+```ts option='{ "considerDefaultExhaustiveForUnions": true }'
+// requires `considerDefaultExhaustiveForUnions` to be set to true
+
 enum Fruit {
   Apple,
Size Files
2.6 MB → 2.6 MB (+9.0 KB 🟡) 542 → 542 (±0 🟢)
Command details
npm diff --diff=@typescript-eslint/eslint-plugin@8.11.0 --diff=@typescript-eslint/eslint-plugin@8.12.2 --diff-unified=2

See also the npm diff document.

Reported by ybiquitous/npm-diff-action@v1.6.0 (Node.js 22.11.0 and npm 10.9.0)

@github-actions github-actions bot merged commit e303d3a into main Nov 4, 2024
7 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/eslint-dev-48672b883e branch November 4, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants