avh4/elm-format

Backslash prepended to underscores in comments

Ouverte

#587 ouverte le 24 déc. 2018

 (2 commentaires) (0 réaction) (0 personne assignée)Haskell (147 forks)batch import
help wanted

Métriques du dépôt

Stars
 (1 333 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur