Code Monkey home page Code Monkey logo

Comments (23)

github-actions avatar github-actions commented on May 18, 2024 1

There is no diff by prettier/prettier@7c5a7d3

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024 1

There is no diff by prettier/prettier@7c5a7d3

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024 1

Diff by prettier/prettier@36c35be

Submodule repos/eslint-plugin-vue contains modified content
diff --git a/repos/eslint-plugin-vue/tools/setup-eslint-rule-types.js b/repos/eslint-plugin-vue/tools/setup-eslint-rule-types.js
index d836d02..dc6c258 100644
--- a/repos/eslint-plugin-vue/tools/setup-eslint-rule-types.js
+++ b/repos/eslint-plugin-vue/tools/setup-eslint-rule-types.js
@@ -7,7 +7,11 @@
 const fs = require('fs')
 const path = require('path')
 const eslint = require('eslint')
-const ruleNames = new Set(new eslint.Linter().getRules().keys())
+const ruleNames = new Set(
+  new eslint.Linter()
+    .getRules()
+    .keys()
+)
 
 const TYPINGS_ESLINT_RULES_ROOT = path.resolve(
   __dirname,
Submodule repos/typescript-eslint contains modified content
diff --git a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
index a1fa2104..83e1ed30 100644
--- a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
+++ b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
@@ -58,9 +58,10 @@ interface SuggestionOutput<TMessageIds extends string> {
 }
 
 interface InvalidTestCase<
-  TMessageIds extends string,
-  TOptions extends Readonly<unknown[]>
-> extends ValidTestCase<TOptions> {
+    TMessageIds extends string,
+    TOptions extends Readonly<unknown[]>
+  >
+  extends ValidTestCase<TOptions> {
   /**
    * Expected errors.
    */

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024 1

Diff by fisker/prettier@16e33ba

Submodule repos/babel contains modified content
diff --git a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
index 95ca9b119..baeca41a9 100644
--- a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
+++ b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
@@ -4,7 +4,7 @@
 
 const proposalPlugins = new Set([
   "proposal-class-properties",
-  "proposal-private-methods"
+  "proposal-private-methods",
 ]);
 
 // use intermediary object to enforce alphabetical key order
Submodule repos/typescript-eslint contains modified content
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
index 05c35c7a..7b6bf6d3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
@@ -1570,9 +1570,9 @@ export default createRule<Options, MessageIds>({
      * 2. Don't set any offsets against the first token of the node.
      * 3. Call `ignoreNode` on the node sometime after exiting it and before validating offsets.
      */
-    const offsetListeners = Object.keys(baseOffsetListeners).reduce<
-      TSESLint.RuleListener
-    >(
+    const offsetListeners = Object.keys(
+      baseOffsetListeners,
+    ).reduce<TSESLint.RuleListener>(
       /*
        * Offset listener calls are deferred until traversal is finished, and are called as
        * part of the final `Program:exit` listener. This is necessary because a node might
@@ -1590,9 +1590,9 @@ export default createRule<Options, MessageIds>({
        * ignored nodes are known.
        */
       (acc, key) => {
-        const listener = baseOffsetListeners[key] as TSESLint.RuleFunction<
-          TSESTree.Node
-        >;
+        const listener = baseOffsetListeners[
+          key
+        ] as TSESLint.RuleFunction<TSESTree.Node>;
         // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
         acc[key] = node => listenerCallQueue.push({ listener, node });
 
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
index 295e8209..4a9378d7 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
@@ -1237,10 +1237,9 @@ function validateUnderscores(name: string): boolean {
   return !wasUnderscore;
 }
 
-const PredefinedFormatToCheckFunction: Readonly<Record<
-  PredefinedFormats,
-  (name: string) => boolean
->> = {
+const PredefinedFormatToCheckFunction: Readonly<
+  Record<PredefinedFormats, (name: string) => boolean>
+> = {
   [PredefinedFormats.PascalCase]: isPascalCase,
   [PredefinedFormats.StrictPascalCase]: isStrictPascalCase,
   [PredefinedFormats.camelCase]: isCamelCase,
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
index e73fd4b5..9c18d0e3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
@@ -36,9 +36,7 @@ export default util.createRule<Options, MessageIds>({
   ],
   create(context) {
     const rules = baseRule.create(context);
-    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<
-      TSESTree.Node
-    >;
+    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<TSESTree.Node>;
 
     /*
       The following nodes are handled by the member-delimiter-style rule
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
index 672f50dc..f76bf47e 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
@@ -16,9 +16,9 @@ const {
   isObjectNotArray,
   getParserServices,
 } = ESLintUtils;
-type InferMessageIdsTypeFromRule<T> = ESLintUtils.InferMessageIdsTypeFromRule<
+type InferMessageIdsTypeFromRule<
   T
->;
+> = ESLintUtils.InferMessageIdsTypeFromRule<T>;
 type InferOptionsTypeFromRule<T> = ESLintUtils.InferOptionsTypeFromRule<T>;
 
 export {
diff --git a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
index c57dfc98..0b3c3943 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
@@ -19,10 +19,9 @@ const parserOptions = {
   project: './tsconfig.json',
 };
 
-const formatTestNames: Readonly<Record<
-  PredefinedFormatsString,
-  Record<'valid' | 'invalid', string[]>
->> = {
+const formatTestNames: Readonly<
+  Record<PredefinedFormatsString, Record<'valid' | 'invalid', string[]>>
+> = {
   camelCase: {
     valid: ['strictCamelCase', 'lower', 'camelCaseUNSTRICT'],
     invalid: ['snake_case', 'UPPER_CASE', 'UPPER', 'StrictPascalCase'],
diff --git a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
index d305b291..6333207b 100644
--- a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
+++ b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
@@ -115,9 +115,9 @@ interface RuleFixer {
 type ReportFixFunction = (
   fixer: RuleFixer,
 ) => null | RuleFix | RuleFix[] | IterableIterator<RuleFix>;
-type ReportSuggestionArray<TMessageIds extends string> = ReportDescriptorBase<
-  TMessageIds
->[];
+type ReportSuggestionArray<
+  TMessageIds extends string
+> = ReportDescriptorBase<TMessageIds>[];
 
 interface ReportDescriptorBase<TMessageIds extends string> {
   /**
@@ -328,29 +328,21 @@ interface RuleListener {
   TryStatement?: RuleFunction<TSESTree.TryStatement>;
   TSAbstractClassProperty?: RuleFunction<TSESTree.TSAbstractClassProperty>;
   TSAbstractKeyword?: RuleFunction<TSESTree.TSAbstractKeyword>;
-  TSAbstractMethodDefinition?: RuleFunction<
-    TSESTree.TSAbstractMethodDefinition
-  >;
+  TSAbstractMethodDefinition?: RuleFunction<TSESTree.TSAbstractMethodDefinition>;
   TSAnyKeyword?: RuleFunction<TSESTree.TSAnyKeyword>;
   TSArrayType?: RuleFunction<TSESTree.TSArrayType>;
   TSAsExpression?: RuleFunction<TSESTree.TSAsExpression>;
   TSAsyncKeyword?: RuleFunction<TSESTree.TSAsyncKeyword>;
   TSBigIntKeyword?: RuleFunction<TSESTree.TSBigIntKeyword>;
   TSBooleanKeyword?: RuleFunction<TSESTree.TSBooleanKeyword>;
-  TSCallSignatureDeclaration?: RuleFunction<
-    TSESTree.TSCallSignatureDeclaration
-  >;
+  TSCallSignatureDeclaration?: RuleFunction<TSESTree.TSCallSignatureDeclaration>;
   TSClassImplements?: RuleFunction<TSESTree.TSClassImplements>;
   TSConditionalType?: RuleFunction<TSESTree.TSConditionalType>;
   TSConstructorType?: RuleFunction<TSESTree.TSConstructorType>;
-  TSConstructSignatureDeclaration?: RuleFunction<
-    TSESTree.TSConstructSignatureDeclaration
-  >;
+  TSConstructSignatureDeclaration?: RuleFunction<TSESTree.TSConstructSignatureDeclaration>;
   TSDeclareKeyword?: RuleFunction<TSESTree.TSDeclareKeyword>;
   TSDeclareFunction?: RuleFunction<TSESTree.TSDeclareFunction>;
-  TSEmptyBodyFunctionExpression?: RuleFunction<
-    TSESTree.TSEmptyBodyFunctionExpression
-  >;
+  TSEmptyBodyFunctionExpression?: RuleFunction<TSESTree.TSEmptyBodyFunctionExpression>;
   TSEnumDeclaration?: RuleFunction<TSESTree.TSEnumDeclaration>;
   TSEnumMember?: RuleFunction<TSESTree.TSEnumMember>;
   TSExportAssignment?: RuleFunction<TSESTree.TSExportAssignment>;
@@ -371,9 +363,7 @@ interface RuleListener {
   TSMethodSignature?: RuleFunction<TSESTree.TSMethodSignature>;
   TSModuleBlock?: RuleFunction<TSESTree.TSModuleBlock>;
   TSModuleDeclaration?: RuleFunction<TSESTree.TSModuleDeclaration>;
-  TSNamespaceExportDeclaration?: RuleFunction<
-    TSESTree.TSNamespaceExportDeclaration
-  >;
+  TSNamespaceExportDeclaration?: RuleFunction<TSESTree.TSNamespaceExportDeclaration>;
   TSNeverKeyword?: RuleFunction<TSESTree.TSNeverKeyword>;
   TSNonNullExpression?: RuleFunction<TSESTree.TSNonNullExpression>;
   TSNullKeyword?: RuleFunction<TSESTree.TSNullKeyword>;
@@ -400,12 +390,8 @@ interface RuleListener {
   TSTypeLiteral?: RuleFunction<TSESTree.TSTypeLiteral>;
   TSTypeOperator?: RuleFunction<TSESTree.TSTypeOperator>;
   TSTypeParameter?: RuleFunction<TSESTree.TSTypeParameter>;
-  TSTypeParameterDeclaration?: RuleFunction<
-    TSESTree.TSTypeParameterDeclaration
-  >;
-  TSTypeParameterInstantiation?: RuleFunction<
-    TSESTree.TSTypeParameterInstantiation
-  >;
+  TSTypeParameterDeclaration?: RuleFunction<TSESTree.TSTypeParameterDeclaration>;
+  TSTypeParameterInstantiation?: RuleFunction<TSESTree.TSTypeParameterInstantiation>;
   TSTypePredicate?: RuleFunction<TSESTree.TSTypePredicate>;
   TSTypeQuery?: RuleFunction<TSESTree.TSTypeQuery>;
   TSTypeReference?: RuleFunction<TSESTree.TSTypeReference>;

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with foo

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

There is no diff by prettier/prettier@7c5a7d3

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 36c35be2109e4d4d4b0e89862c993e15e22cc6d1

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 36c35be2109e4d4d4b0e89862c993e15e22cc6d1

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

Diff by prettier/prettier@d2ce7d4

Submodule repos/babel contains modified content
diff --git a/repos/babel/packages/babel-parser/src/parser/error.js b/repos/babel/packages/babel-parser/src/parser/error.js
index 4fe08d8c4..095d43b77 100644
--- a/repos/babel/packages/babel-parser/src/parser/error.js
+++ b/repos/babel/packages/babel-parser/src/parser/error.js
@@ -42,7 +42,7 @@ export default class ParserError extends CommentsParser {
   raiseWithData(
     pos: number,
     data?: {
-      missingPlugin?: Array<string>,
+      missingPlugin?: Array/*:: <string> */,
       code?: string,
     },
     errorTemplate: string,
diff --git a/repos/babel/packages/babel-parser/src/parser/index.js b/repos/babel/packages/babel-parser/src/parser/index.js
index 6e9446907..75804f25c 100644
--- a/repos/babel/packages/babel-parser/src/parser/index.js
+++ b/repos/babel/packages/babel-parser/src/parser/index.js
@@ -14,7 +14,7 @@ import ProductionParameterHandler, {
   PARAM,
 } from "../util/production-parameter";
 
-export type PluginsMap = Map<string, { [string]: any }>;
+export type PluginsMap = Map/*:: <string, { [string]: any }> */;
 
 export default class Parser extends StatementParser {
   // Forward-declaration so typescript plugin can override jsx plugin
@@ -41,7 +41,7 @@ export default class Parser extends StatementParser {
   }
 
   // This can be overwritten, for example, by the TypeScript plugin.
-  getScopeHandler(): Class<ScopeHandler<*>> {
+  getScopeHandler(): Class/*:: <ScopeHandler/*:: <*> */> */ {
     return ScopeHandler;
   }
 
diff --git a/repos/babel/packages/babel-parser/src/tokenizer/index.js b/repos/babel/packages/babel-parser/src/tokenizer/index.js
index 971226007..474a3c8ce 100644
--- a/repos/babel/packages/babel-parser/src/tokenizer/index.js
+++ b/repos/babel/packages/babel-parser/src/tokenizer/index.js
@@ -122,7 +122,7 @@ export default class Tokenizer extends ParserErrors {
   isLookahead: boolean;
 
   // Token store.
-  tokens: Array<Token | N.Comment> = [];
+  tokens: Array/*:: <Token | N.Comment> */ = [];
 
   constructor(options: Options, input: string) {
     super();
diff --git a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
index 95ca9b119..baeca41a9 100644
--- a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
+++ b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
@@ -4,7 +4,7 @@
 
 const proposalPlugins = new Set([
   "proposal-class-properties",
-  "proposal-private-methods"
+  "proposal-private-methods",
 ]);
 
 // use intermediary object to enforce alphabetical key order
Submodule repos/typescript-eslint contains modified content
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
index 05c35c7a..7b6bf6d3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
@@ -1570,9 +1570,9 @@ export default createRule<Options, MessageIds>({
      * 2. Don't set any offsets against the first token of the node.
      * 3. Call `ignoreNode` on the node sometime after exiting it and before validating offsets.
      */
-    const offsetListeners = Object.keys(baseOffsetListeners).reduce<
-      TSESLint.RuleListener
-    >(
+    const offsetListeners = Object.keys(
+      baseOffsetListeners,
+    ).reduce<TSESLint.RuleListener>(
       /*
        * Offset listener calls are deferred until traversal is finished, and are called as
        * part of the final `Program:exit` listener. This is necessary because a node might
@@ -1590,9 +1590,9 @@ export default createRule<Options, MessageIds>({
        * ignored nodes are known.
        */
       (acc, key) => {
-        const listener = baseOffsetListeners[key] as TSESLint.RuleFunction<
-          TSESTree.Node
-        >;
+        const listener = baseOffsetListeners[
+          key
+        ] as TSESLint.RuleFunction<TSESTree.Node>;
         // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
         acc[key] = node => listenerCallQueue.push({ listener, node });
 
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
index 295e8209..4a9378d7 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
@@ -1237,10 +1237,9 @@ function validateUnderscores(name: string): boolean {
   return !wasUnderscore;
 }
 
-const PredefinedFormatToCheckFunction: Readonly<Record<
-  PredefinedFormats,
-  (name: string) => boolean
->> = {
+const PredefinedFormatToCheckFunction: Readonly<
+  Record<PredefinedFormats, (name: string) => boolean>
+> = {
   [PredefinedFormats.PascalCase]: isPascalCase,
   [PredefinedFormats.StrictPascalCase]: isStrictPascalCase,
   [PredefinedFormats.camelCase]: isCamelCase,
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
index e73fd4b5..9c18d0e3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
@@ -36,9 +36,7 @@ export default util.createRule<Options, MessageIds>({
   ],
   create(context) {
     const rules = baseRule.create(context);
-    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<
-      TSESTree.Node
-    >;
+    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<TSESTree.Node>;
 
     /*
       The following nodes are handled by the member-delimiter-style rule
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
index 672f50dc..f76bf47e 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
@@ -16,9 +16,9 @@ const {
   isObjectNotArray,
   getParserServices,
 } = ESLintUtils;
-type InferMessageIdsTypeFromRule<T> = ESLintUtils.InferMessageIdsTypeFromRule<
+type InferMessageIdsTypeFromRule<
   T
->;
+> = ESLintUtils.InferMessageIdsTypeFromRule<T>;
 type InferOptionsTypeFromRule<T> = ESLintUtils.InferOptionsTypeFromRule<T>;
 
 export {
diff --git a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
index c57dfc98..0b3c3943 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
@@ -19,10 +19,9 @@ const parserOptions = {
   project: './tsconfig.json',
 };
 
-const formatTestNames: Readonly<Record<
-  PredefinedFormatsString,
-  Record<'valid' | 'invalid', string[]>
->> = {
+const formatTestNames: Readonly<
+  Record<PredefinedFormatsString, Record<'valid' | 'invalid', string[]>>
+> = {
   camelCase: {
     valid: ['strictCamelCase', 'lower', 'camelCaseUNSTRICT'],
     invalid: ['snake_case', 'UPPER_CASE', 'UPPER', 'StrictPascalCase'],
diff --git a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
index d305b291..6333207b 100644
--- a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
+++ b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
@@ -115,9 +115,9 @@ interface RuleFixer {
 type ReportFixFunction = (
   fixer: RuleFixer,
 ) => null | RuleFix | RuleFix[] | IterableIterator<RuleFix>;
-type ReportSuggestionArray<TMessageIds extends string> = ReportDescriptorBase<
-  TMessageIds
->[];
+type ReportSuggestionArray<
+  TMessageIds extends string
+> = ReportDescriptorBase<TMessageIds>[];
 
 interface ReportDescriptorBase<TMessageIds extends string> {
   /**
@@ -328,29 +328,21 @@ interface RuleListener {
   TryStatement?: RuleFunction<TSESTree.TryStatement>;
   TSAbstractClassProperty?: RuleFunction<TSESTree.TSAbstractClassProperty>;
   TSAbstractKeyword?: RuleFunction<TSESTree.TSAbstractKeyword>;
-  TSAbstractMethodDefinition?: RuleFunction<
-    TSESTree.TSAbstractMethodDefinition
-  >;
+  TSAbstractMethodDefinition?: RuleFunction<TSESTree.TSAbstractMethodDefinition>;
   TSAnyKeyword?: RuleFunction<TSESTree.TSAnyKeyword>;
   TSArrayType?: RuleFunction<TSESTree.TSArrayType>;
   TSAsExpression?: RuleFunction<TSESTree.TSAsExpression>;
   TSAsyncKeyword?: RuleFunction<TSESTree.TSAsyncKeyword>;
   TSBigIntKeyword?: RuleFunction<TSESTree.TSBigIntKeyword>;
   TSBooleanKeyword?: RuleFunction<TSESTree.TSBooleanKeyword>;
-  TSCallSignatureDeclaration?: RuleFunction<
-    TSESTree.TSCallSignatureDeclaration
-  >;
+  TSCallSignatureDeclaration?: RuleFunction<TSESTree.TSCallSignatureDeclaration>;
   TSClassImplements?: RuleFunction<TSESTree.TSClassImplements>;
   TSConditionalType?: RuleFunction<TSESTree.TSConditionalType>;
   TSConstructorType?: RuleFunction<TSESTree.TSConstructorType>;
-  TSConstructSignatureDeclaration?: RuleFunction<
-    TSESTree.TSConstructSignatureDeclaration
-  >;
+  TSConstructSignatureDeclaration?: RuleFunction<TSESTree.TSConstructSignatureDeclaration>;
   TSDeclareKeyword?: RuleFunction<TSESTree.TSDeclareKeyword>;
   TSDeclareFunction?: RuleFunction<TSESTree.TSDeclareFunction>;
-  TSEmptyBodyFunctionExpression?: RuleFunction<
-    TSESTree.TSEmptyBodyFunctionExpression
-  >;
+  TSEmptyBodyFunctionExpression?: RuleFunction<TSESTree.TSEmptyBodyFunctionExpression>;
   TSEnumDeclaration?: RuleFunction<TSESTree.TSEnumDeclaration>;
   TSEnumMember?: RuleFunction<TSESTree.TSEnumMember>;
   TSExportAssignment?: RuleFunction<TSESTree.TSExportAssignment>;
@@ -371,9 +363,7 @@ interface RuleListener {
   TSMethodSignature?: RuleFunction<TSESTree.TSMethodSignature>;
   TSModuleBlock?: RuleFunction<TSESTree.TSModuleBlock>;
   TSModuleDeclaration?: RuleFunction<TSESTree.TSModuleDeclaration>;
-  TSNamespaceExportDeclaration?: RuleFunction<
-    TSESTree.TSNamespaceExportDeclaration
-  >;
+  TSNamespaceExportDeclaration?: RuleFunction<TSESTree.TSNamespaceExportDeclaration>;
   TSNeverKeyword?: RuleFunction<TSESTree.TSNeverKeyword>;
   TSNonNullExpression?: RuleFunction<TSESTree.TSNonNullExpression>;
   TSNullKeyword?: RuleFunction<TSESTree.TSNullKeyword>;
@@ -400,12 +390,8 @@ interface RuleListener {
   TSTypeLiteral?: RuleFunction<TSESTree.TSTypeLiteral>;
   TSTypeOperator?: RuleFunction<TSESTree.TSTypeOperator>;
   TSTypeParameter?: RuleFunction<TSESTree.TSTypeParameter>;
-  TSTypeParameterDeclaration?: RuleFunction<
-    TSESTree.TSTypeParameterDeclaration
-  >;
-  TSTypeParameterInstantiation?: RuleFunction<
-    TSESTree.TSTypeParameterInstantiation
-  >;
+  TSTypeParameterDeclaration?: RuleFunction<TSESTree.TSTypeParameterDeclaration>;
+  TSTypeParameterInstantiation?: RuleFunction<TSESTree.TSTypeParameterInstantiation>;
   TSTypePredicate?: RuleFunction<TSESTree.TSTypePredicate>;
   TSTypeQuery?: RuleFunction<TSESTree.TSTypeQuery>;
   TSTypeReference?: RuleFunction<TSESTree.TSTypeReference>;

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 16e33ba75c0f10c3a39f0b346ae8ef4d452124d3 on fisker/prettier

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 16e33ba75c0f10c3a39f0b346ae8ef4d452124d3 on fisker/prettier

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

There is no diff by prettier/prettier@d2ce7d4

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 16e33ba75c0f10c3a39f0b346ae8ef4d452124d3 on fisker/prettier

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

There is no diff by fisker/prettier@16e33ba

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 36c35be2109e4d4d4b0e89862c993e15e22cc6d1

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

Diff by prettier/prettier@36c35be

Submodule repos/babel contains modified content
diff --git a/repos/babel/eslint/babel-eslint-plugin/src/rules/new-cap.js b/repos/babel/eslint/babel-eslint-plugin/src/rules/new-cap.js
index 1fddf1a43..50d933f01 100644
--- a/repos/babel/eslint/babel-eslint-plugin/src/rules/new-cap.js
+++ b/repos/babel/eslint/babel-eslint-plugin/src/rules/new-cap.js
@@ -1,7 +1,9 @@
 import ruleComposer from "eslint-rule-composer";
 import eslint from "eslint";
 
-const rule = new eslint.Linter().getRules().get("new-cap");
+const rule = new eslint.Linter()
+  .getRules()
+  .get("new-cap");
 
 /**
  * Returns whether a node is under a decorator or not.
diff --git a/repos/babel/eslint/babel-eslint-plugin/src/rules/no-invalid-this.js b/repos/babel/eslint/babel-eslint-plugin/src/rules/no-invalid-this.js
index d420faa5c..cf6ee302a 100644
--- a/repos/babel/eslint/babel-eslint-plugin/src/rules/no-invalid-this.js
+++ b/repos/babel/eslint/babel-eslint-plugin/src/rules/no-invalid-this.js
@@ -1,7 +1,9 @@
 import ruleComposer from "eslint-rule-composer";
 import eslint from "eslint";
 
-const noInvalidThisRule = new eslint.Linter().getRules().get("no-invalid-this");
+const noInvalidThisRule = new eslint.Linter()
+  .getRules()
+  .get("no-invalid-this");
 
 export default ruleComposer.filterReports(noInvalidThisRule, problem => {
   let inClassMember = false;
diff --git a/repos/babel/eslint/babel-eslint-plugin/src/rules/no-unused-expressions.js b/repos/babel/eslint/babel-eslint-plugin/src/rules/no-unused-expressions.js
index 455153474..9f9860a34 100644
--- a/repos/babel/eslint/babel-eslint-plugin/src/rules/no-unused-expressions.js
+++ b/repos/babel/eslint/babel-eslint-plugin/src/rules/no-unused-expressions.js
@@ -1,7 +1,9 @@
 import ruleComposer from "eslint-rule-composer";
 import eslint from "eslint";
 
-const rule = new eslint.Linter().getRules().get("no-unused-expressions");
+const rule = new eslint.Linter()
+  .getRules()
+  .get("no-unused-expressions");
 
 /**
  * @param {ASTNode} node - any node
diff --git a/repos/babel/eslint/babel-eslint-plugin/src/rules/object-curly-spacing.js b/repos/babel/eslint/babel-eslint-plugin/src/rules/object-curly-spacing.js
index 210f7a9fe..996eb4334 100644
--- a/repos/babel/eslint/babel-eslint-plugin/src/rules/object-curly-spacing.js
+++ b/repos/babel/eslint/babel-eslint-plugin/src/rules/object-curly-spacing.js
@@ -1,7 +1,9 @@
 import ruleComposer from "eslint-rule-composer";
 import eslint from "eslint";
 
-const rule = new eslint.Linter().getRules().get("object-curly-spacing");
+const rule = new eslint.Linter()
+  .getRules()
+  .get("object-curly-spacing");
 
 export default ruleComposer.filterReports(rule, problem => {
   const node = problem.node;
diff --git a/repos/babel/eslint/babel-eslint-plugin/src/rules/semi.js b/repos/babel/eslint/babel-eslint-plugin/src/rules/semi.js
index 07e41f917..a90236fca 100644
--- a/repos/babel/eslint/babel-eslint-plugin/src/rules/semi.js
+++ b/repos/babel/eslint/babel-eslint-plugin/src/rules/semi.js
@@ -3,7 +3,9 @@ import eslint from "eslint";
 
 const OPT_OUT_PATTERN = /^[-[(/+`]/; // One of [(/+-`
 
-const rule = new eslint.Linter().getRules().get("semi");
+const rule = new eslint.Linter()
+  .getRules()
+  .get("semi");
 
 function isSemicolon(token) {
   return token.type === "Punctuator" && token.value === ";";
diff --git a/repos/babel/packages/babel-core/test/path.js b/repos/babel/packages/babel-core/test/path.js
index 2edb48921..d151b88c8 100644
--- a/repos/babel/packages/babel-core/test/path.js
+++ b/repos/babel/packages/babel-core/test/path.js
@@ -30,18 +30,20 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ArrowFunctionExpression: function (path) {
-              path.get("body").replaceWith({
-                type: "BlockStatement",
-                body: [
-                  {
-                    type: "ReturnStatement",
-                    argument: {
-                      type: "BooleanLiteral",
-                      value: true,
+              path
+                .get("body")
+                .replaceWith({
+                  type: "BlockStatement",
+                  body: [
+                    {
+                      type: "ReturnStatement",
+                      argument: {
+                        type: "BooleanLiteral",
+                        value: true,
+                      },
                     },
-                  },
-                ],
-              });
+                  ],
+                });
             },
           },
         }),
@@ -60,10 +62,12 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ArrowFunctionExpression: function (path) {
-              path.get("body").replaceWith({
-                type: "BooleanLiteral",
-                value: true,
-              });
+              path
+                .get("body")
+                .replaceWith({
+                  type: "BooleanLiteral",
+                  value: true,
+                });
             },
           },
         }),
@@ -82,19 +86,21 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ForInStatement: function (path) {
-              path.get("left").replaceWith({
-                type: "VariableDeclaration",
-                kind: "var",
-                declarations: [
-                  {
-                    type: "VariableDeclarator",
-                    id: {
-                      type: "Identifier",
-                      name: "KEY",
+              path
+                .get("left")
+                .replaceWith({
+                  type: "VariableDeclaration",
+                  kind: "var",
+                  declarations: [
+                    {
+                      type: "VariableDeclarator",
+                      id: {
+                        type: "Identifier",
+                        name: "KEY",
+                      },
                     },
-                  },
-                ],
-              });
+                  ],
+                });
             },
           },
         }),
@@ -113,10 +119,12 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ForInStatement: function (path) {
-              path.get("left").replaceWith({
-                type: "Identifier",
-                name: "KEY",
-              });
+              path
+                .get("left")
+                .replaceWith({
+                  type: "Identifier",
+                  name: "KEY",
+                });
             },
           },
         }),
@@ -135,19 +143,21 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ForStatement: function (path) {
-              path.get("init").replaceWith({
-                type: "VariableDeclaration",
-                kind: "var",
-                declarations: [
-                  {
-                    type: "VariableDeclarator",
-                    id: {
-                      type: "Identifier",
-                      name: "KEY",
+              path
+                .get("init")
+                .replaceWith({
+                  type: "VariableDeclaration",
+                  kind: "var",
+                  declarations: [
+                    {
+                      type: "VariableDeclarator",
+                      id: {
+                        type: "Identifier",
+                        name: "KEY",
+                      },
                     },
-                  },
-                ],
-              });
+                  ],
+                });
             },
           },
         }),
@@ -166,10 +176,12 @@ describe("traversal path", function () {
         new Plugin({
           visitor: {
             ForStatement: function (path) {
-              path.get("init").replaceWith({
-                type: "Identifier",
-                name: "KEY",
-              });
+              path
+                .get("init")
+                .replaceWith({
+                  type: "Identifier",
+                  name: "KEY",
+                });
             },
           },
         }),
diff --git a/repos/babel/packages/babel-generator/src/node/whitespace.js b/repos/babel/packages/babel-generator/src/node/whitespace.js
index 67194e5b7..af73e8328 100644
--- a/repos/babel/packages/babel-generator/src/node/whitespace.js
+++ b/repos/babel/packages/babel-generator/src/node/whitespace.js
@@ -276,9 +276,11 @@ export const list = {
   if (typeof amounts === "boolean") {
     amounts = { after: amounts, before: amounts };
   }
-  [type].concat(t.FLIPPED_ALIAS_KEYS[type] || []).forEach(function (type) {
-    nodes[type] = function () {
-      return amounts;
-    };
-  });
+  [type]
+    .concat(t.FLIPPED_ALIAS_KEYS[type] || [])
+    .forEach(function (type) {
+      nodes[type] = function () {
+        return amounts;
+      };
+    });
 });
diff --git a/repos/babel/packages/babel-parser/src/parser/error.js b/repos/babel/packages/babel-parser/src/parser/error.js
index 4fe08d8c4..095d43b77 100644
--- a/repos/babel/packages/babel-parser/src/parser/error.js
+++ b/repos/babel/packages/babel-parser/src/parser/error.js
@@ -42,7 +42,7 @@ export default class ParserError extends CommentsParser {
   raiseWithData(
     pos: number,
     data?: {
-      missingPlugin?: Array<string>,
+      missingPlugin?: Array/*:: <string> */,
       code?: string,
     },
     errorTemplate: string,
diff --git a/repos/babel/packages/babel-parser/src/parser/index.js b/repos/babel/packages/babel-parser/src/parser/index.js
index 6e9446907..75804f25c 100644
--- a/repos/babel/packages/babel-parser/src/parser/index.js
+++ b/repos/babel/packages/babel-parser/src/parser/index.js
@@ -14,7 +14,7 @@ import ProductionParameterHandler, {
   PARAM,
 } from "../util/production-parameter";
 
-export type PluginsMap = Map<string, { [string]: any }>;
+export type PluginsMap = Map/*:: <string, { [string]: any }> */;
 
 export default class Parser extends StatementParser {
   // Forward-declaration so typescript plugin can override jsx plugin
@@ -41,7 +41,7 @@ export default class Parser extends StatementParser {
   }
 
   // This can be overwritten, for example, by the TypeScript plugin.
-  getScopeHandler(): Class<ScopeHandler<*>> {
+  getScopeHandler(): Class/*:: <ScopeHandler/*:: <*> */> */ {
     return ScopeHandler;
   }
 
diff --git a/repos/babel/packages/babel-parser/src/tokenizer/index.js b/repos/babel/packages/babel-parser/src/tokenizer/index.js
index 971226007..474a3c8ce 100644
--- a/repos/babel/packages/babel-parser/src/tokenizer/index.js
+++ b/repos/babel/packages/babel-parser/src/tokenizer/index.js
@@ -122,7 +122,7 @@ export default class Tokenizer extends ParserErrors {
   isLookahead: boolean;
 
   // Token store.
-  tokens: Array<Token | N.Comment> = [];
+  tokens: Array/*:: <Token | N.Comment> */ = [];
 
   constructor(options: Options, input: string) {
     super();
diff --git a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
index 95ca9b119..baeca41a9 100644
--- a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
+++ b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
@@ -4,7 +4,7 @@
 
 const proposalPlugins = new Set([
   "proposal-class-properties",
-  "proposal-private-methods"
+  "proposal-private-methods",
 ]);
 
 // use intermediary object to enforce alphabetical key order
Submodule repos/typescript-eslint contains modified content
diff --git a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
index a1fa2104..83e1ed30 100644
--- a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
+++ b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/RuleTester.ts
@@ -58,9 +58,10 @@ interface SuggestionOutput<TMessageIds extends string> {
 }
 
 interface InvalidTestCase<
-  TMessageIds extends string,
-  TOptions extends Readonly<unknown[]>
-> extends ValidTestCase<TOptions> {
+    TMessageIds extends string,
+    TOptions extends Readonly<unknown[]>
+  >
+  extends ValidTestCase<TOptions> {
   /**
    * Expected errors.
    */

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run with checking out 16e33ba75c0f10c3a39f0b346ae8ef4d452124d3 on fisker/prettier

from prettier-regression-testing.

sosukesuzuki avatar sosukesuzuki commented on May 18, 2024

run

from prettier-regression-testing.

github-actions avatar github-actions commented on May 18, 2024

Diff by prettier/prettier@d2ce7d4

Submodule repos/babel contains modified content
diff --git a/repos/babel/packages/babel-parser/src/parser/error.js b/repos/babel/packages/babel-parser/src/parser/error.js
index 4fe08d8c4..095d43b77 100644
--- a/repos/babel/packages/babel-parser/src/parser/error.js
+++ b/repos/babel/packages/babel-parser/src/parser/error.js
@@ -42,7 +42,7 @@ export default class ParserError extends CommentsParser {
   raiseWithData(
     pos: number,
     data?: {
-      missingPlugin?: Array<string>,
+      missingPlugin?: Array/*:: <string> */,
       code?: string,
     },
     errorTemplate: string,
diff --git a/repos/babel/packages/babel-parser/src/parser/index.js b/repos/babel/packages/babel-parser/src/parser/index.js
index 6e9446907..75804f25c 100644
--- a/repos/babel/packages/babel-parser/src/parser/index.js
+++ b/repos/babel/packages/babel-parser/src/parser/index.js
@@ -14,7 +14,7 @@ import ProductionParameterHandler, {
   PARAM,
 } from "../util/production-parameter";
 
-export type PluginsMap = Map<string, { [string]: any }>;
+export type PluginsMap = Map/*:: <string, { [string]: any }> */;
 
 export default class Parser extends StatementParser {
   // Forward-declaration so typescript plugin can override jsx plugin
@@ -41,7 +41,7 @@ export default class Parser extends StatementParser {
   }
 
   // This can be overwritten, for example, by the TypeScript plugin.
-  getScopeHandler(): Class<ScopeHandler<*>> {
+  getScopeHandler(): Class/*:: <ScopeHandler/*:: <*> */> */ {
     return ScopeHandler;
   }
 
diff --git a/repos/babel/packages/babel-parser/src/tokenizer/index.js b/repos/babel/packages/babel-parser/src/tokenizer/index.js
index 971226007..474a3c8ce 100644
--- a/repos/babel/packages/babel-parser/src/tokenizer/index.js
+++ b/repos/babel/packages/babel-parser/src/tokenizer/index.js
@@ -122,7 +122,7 @@ export default class Tokenizer extends ParserErrors {
   isLookahead: boolean;
 
   // Token store.
-  tokens: Array<Token | N.Comment> = [];
+  tokens: Array/*:: <Token | N.Comment> */ = [];
 
   constructor(options: Options, input: string) {
     super();
diff --git a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
index 95ca9b119..baeca41a9 100644
--- a/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
+++ b/repos/babel/packages/babel-preset-env/data/shipped-proposals.js
@@ -4,7 +4,7 @@
 
 const proposalPlugins = new Set([
   "proposal-class-properties",
-  "proposal-private-methods"
+  "proposal-private-methods",
 ]);
 
 // use intermediary object to enforce alphabetical key order
Submodule repos/typescript-eslint contains modified content
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
index 05c35c7a..7b6bf6d3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts
@@ -1570,9 +1570,9 @@ export default createRule<Options, MessageIds>({
      * 2. Don't set any offsets against the first token of the node.
      * 3. Call `ignoreNode` on the node sometime after exiting it and before validating offsets.
      */
-    const offsetListeners = Object.keys(baseOffsetListeners).reduce<
-      TSESLint.RuleListener
-    >(
+    const offsetListeners = Object.keys(
+      baseOffsetListeners,
+    ).reduce<TSESLint.RuleListener>(
       /*
        * Offset listener calls are deferred until traversal is finished, and are called as
        * part of the final `Program:exit` listener. This is necessary because a node might
@@ -1590,9 +1590,9 @@ export default createRule<Options, MessageIds>({
        * ignored nodes are known.
        */
       (acc, key) => {
-        const listener = baseOffsetListeners[key] as TSESLint.RuleFunction<
-          TSESTree.Node
-        >;
+        const listener = baseOffsetListeners[
+          key
+        ] as TSESLint.RuleFunction<TSESTree.Node>;
         // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
         acc[key] = node => listenerCallQueue.push({ listener, node });
 
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
index 295e8209..4a9378d7 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
@@ -1237,10 +1237,9 @@ function validateUnderscores(name: string): boolean {
   return !wasUnderscore;
 }
 
-const PredefinedFormatToCheckFunction: Readonly<Record<
-  PredefinedFormats,
-  (name: string) => boolean
->> = {
+const PredefinedFormatToCheckFunction: Readonly<
+  Record<PredefinedFormats, (name: string) => boolean>
+> = {
   [PredefinedFormats.PascalCase]: isPascalCase,
   [PredefinedFormats.StrictPascalCase]: isStrictPascalCase,
   [PredefinedFormats.camelCase]: isCamelCase,
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
index e73fd4b5..9c18d0e3 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/rules/semi.ts
@@ -36,9 +36,7 @@ export default util.createRule<Options, MessageIds>({
   ],
   create(context) {
     const rules = baseRule.create(context);
-    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<
-      TSESTree.Node
-    >;
+    const checkForSemicolon = rules.ExpressionStatement as TSESLint.RuleFunction<TSESTree.Node>;
 
     /*
       The following nodes are handled by the member-delimiter-style rule
diff --git a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
index 672f50dc..f76bf47e 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/src/util/index.ts
@@ -16,9 +16,9 @@ const {
   isObjectNotArray,
   getParserServices,
 } = ESLintUtils;
-type InferMessageIdsTypeFromRule<T> = ESLintUtils.InferMessageIdsTypeFromRule<
+type InferMessageIdsTypeFromRule<
   T
->;
+> = ESLintUtils.InferMessageIdsTypeFromRule<T>;
 type InferOptionsTypeFromRule<T> = ESLintUtils.InferOptionsTypeFromRule<T>;
 
 export {
diff --git a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
index c57dfc98..0b3c3943 100644
--- a/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
+++ b/repos/typescript-eslint/packages/eslint-plugin/tests/rules/naming-convention.test.ts
@@ -19,10 +19,9 @@ const parserOptions = {
   project: './tsconfig.json',
 };
 
-const formatTestNames: Readonly<Record<
-  PredefinedFormatsString,
-  Record<'valid' | 'invalid', string[]>
->> = {
+const formatTestNames: Readonly<
+  Record<PredefinedFormatsString, Record<'valid' | 'invalid', string[]>>
+> = {
   camelCase: {
     valid: ['strictCamelCase', 'lower', 'camelCaseUNSTRICT'],
     invalid: ['snake_case', 'UPPER_CASE', 'UPPER', 'StrictPascalCase'],
diff --git a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
index d305b291..6333207b 100644
--- a/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
+++ b/repos/typescript-eslint/packages/experimental-utils/src/ts-eslint/Rule.ts
@@ -115,9 +115,9 @@ interface RuleFixer {
 type ReportFixFunction = (
   fixer: RuleFixer,
 ) => null | RuleFix | RuleFix[] | IterableIterator<RuleFix>;
-type ReportSuggestionArray<TMessageIds extends string> = ReportDescriptorBase<
-  TMessageIds
->[];
+type ReportSuggestionArray<
+  TMessageIds extends string
+> = ReportDescriptorBase<TMessageIds>[];
 
 interface ReportDescriptorBase<TMessageIds extends string> {
   /**
@@ -328,29 +328,21 @@ interface RuleListener {
   TryStatement?: RuleFunction<TSESTree.TryStatement>;
   TSAbstractClassProperty?: RuleFunction<TSESTree.TSAbstractClassProperty>;
   TSAbstractKeyword?: RuleFunction<TSESTree.TSAbstractKeyword>;
-  TSAbstractMethodDefinition?: RuleFunction<
-    TSESTree.TSAbstractMethodDefinition
-  >;
+  TSAbstractMethodDefinition?: RuleFunction<TSESTree.TSAbstractMethodDefinition>;
   TSAnyKeyword?: RuleFunction<TSESTree.TSAnyKeyword>;
   TSArrayType?: RuleFunction<TSESTree.TSArrayType>;
   TSAsExpression?: RuleFunction<TSESTree.TSAsExpression>;
   TSAsyncKeyword?: RuleFunction<TSESTree.TSAsyncKeyword>;
   TSBigIntKeyword?: RuleFunction<TSESTree.TSBigIntKeyword>;
   TSBooleanKeyword?: RuleFunction<TSESTree.TSBooleanKeyword>;
-  TSCallSignatureDeclaration?: RuleFunction<
-    TSESTree.TSCallSignatureDeclaration
-  >;
+  TSCallSignatureDeclaration?: RuleFunction<TSESTree.TSCallSignatureDeclaration>;
   TSClassImplements?: RuleFunction<TSESTree.TSClassImplements>;
   TSConditionalType?: RuleFunction<TSESTree.TSConditionalType>;
   TSConstructorType?: RuleFunction<TSESTree.TSConstructorType>;
-  TSConstructSignatureDeclaration?: RuleFunction<
-    TSESTree.TSConstructSignatureDeclaration
-  >;
+  TSConstructSignatureDeclaration?: RuleFunction<TSESTree.TSConstructSignatureDeclaration>;
   TSDeclareKeyword?: RuleFunction<TSESTree.TSDeclareKeyword>;
   TSDeclareFunction?: RuleFunction<TSESTree.TSDeclareFunction>;
-  TSEmptyBodyFunctionExpression?: RuleFunction<
-    TSESTree.TSEmptyBodyFunctionExpression
-  >;
+  TSEmptyBodyFunctionExpression?: RuleFunction<TSESTree.TSEmptyBodyFunctionExpression>;
   TSEnumDeclaration?: RuleFunction<TSESTree.TSEnumDeclaration>;
   TSEnumMember?: RuleFunction<TSESTree.TSEnumMember>;
   TSExportAssignment?: RuleFunction<TSESTree.TSExportAssignment>;
@@ -371,9 +363,7 @@ interface RuleListener {
   TSMethodSignature?: RuleFunction<TSESTree.TSMethodSignature>;
   TSModuleBlock?: RuleFunction<TSESTree.TSModuleBlock>;
   TSModuleDeclaration?: RuleFunction<TSESTree.TSModuleDeclaration>;
-  TSNamespaceExportDeclaration?: RuleFunction<
-    TSESTree.TSNamespaceExportDeclaration
-  >;
+  TSNamespaceExportDeclaration?: RuleFunction<TSESTree.TSNamespaceExportDeclaration>;
   TSNeverKeyword?: RuleFunction<TSESTree.TSNeverKeyword>;
   TSNonNullExpression?: RuleFunction<TSESTree.TSNonNullExpression>;
   TSNullKeyword?: RuleFunction<TSESTree.TSNullKeyword>;
@@ -400,12 +390,8 @@ interface RuleListener {
   TSTypeLiteral?: RuleFunction<TSESTree.TSTypeLiteral>;
   TSTypeOperator?: RuleFunction<TSESTree.TSTypeOperator>;
   TSTypeParameter?: RuleFunction<TSESTree.TSTypeParameter>;
-  TSTypeParameterDeclaration?: RuleFunction<
-    TSESTree.TSTypeParameterDeclaration
-  >;
-  TSTypeParameterInstantiation?: RuleFunction<
-    TSESTree.TSTypeParameterInstantiation
-  >;
+  TSTypeParameterDeclaration?: RuleFunction<TSESTree.TSTypeParameterDeclaration>;
+  TSTypeParameterInstantiation?: RuleFunction<TSESTree.TSTypeParameterInstantiation>;
   TSTypePredicate?: RuleFunction<TSESTree.TSTypePredicate>;
   TSTypeQuery?: RuleFunction<TSESTree.TSTypeQuery>;
   TSTypeReference?: RuleFunction<TSESTree.TSTypeReference>;

from prettier-regression-testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.