From ab3911e7153b19761633644023529ae6c9337c86 Mon Sep 17 00:00:00 2001 From: Omri Luzon Date: Thu, 22 Dec 2022 07:14:48 +0200 Subject: [PATCH] fix comment --- packages/eslint-plugin/src/rules/block-spacing.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/eslint-plugin/src/rules/block-spacing.ts b/packages/eslint-plugin/src/rules/block-spacing.ts index 224dec2a119d..45e6eb2bfd5e 100644 --- a/packages/eslint-plugin/src/rules/block-spacing.ts +++ b/packages/eslint-plugin/src/rules/block-spacing.ts @@ -152,9 +152,9 @@ export default util.createRule({ ...baseRules, // This code worked "out of the box" for interface and type literal - // Enums were very close to match as well, the only reason they it not is that was that enums don't have a body node in the parser - // So the opening brace punctuator starts in the middle of the node - // `getFirstToken` in the base rule did not filter for the first opening brace punctuator + // Enums were very close to match as well, the only reason they are not is that was that enums don't have a body node in the parser + // So the opening brace punctuator starts in the middle of the node - `getFirstToken` in + // the base rule did not filter for the first opening brace punctuator TSInterfaceBody: baseRules.BlockStatement as never, TSTypeLiteral: baseRules.BlockStatement as never, TSEnumDeclaration: checkSpacingInsideBraces,