avh4/elm-format

Backslash prepended to underscores in comments

Aperta

#587 aperta il 24 dic 2018

 (2 commenti) (0 reazioni) (0 assegnatari)Haskell (147 fork)batch import
help wanted

Metriche repository

Star
 (1333 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor