Skip to content

doc comment forces multiline exceptions #7947

Description

@tx46
  1. type exception Foo({name: string, msg: string}) and run formatter
  2. notice still single line
  3. add doc comment:
/** foo */
exception Foo({name: string, msg: string})

and run formatter
4. notice how formatter forces multiline:

/** foo */
exception Foo({
  name: string,
  msg: string,
})

see also #7946

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatterIssues related to code formatting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions