avh4/elm-format

Backslash prepended to underscores in comments

Aberta

#587 aberto em 24 de dez. de 2018

 (2 comentários) (0 reação) (0 responsável)Haskell (147 forks)batch import
help wanted

Métricas do repositório

Stars
 (1.333 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I have a type alias definition in the following form:

{-| represents a diary, as returned by the endpoint api/get_diary.
 -}

type alias Diary =
     { notes : String
     , pages : Int     
     }

Elm-format converts the comment to the following:

{-| represents a diary, as returned by the endpoint api/get\_diary.
 -}

I understand the usefulness of such rule in the code - but it should be ignored in comments.

Guia do colaborador