humio / atom-elm-format

Run elm-format in atom
https://atom.io/packages/elm-format
Apache License 2.0
10 stars 8 forks source link

Implement --elm-version #9

Closed benjick closed 7 years ago

benjick commented 8 years ago

Something like

version: {
  type: ['boolean', 'integer'],
  "default": false,
  "enum": [false, 16, 17]
}
anagrius commented 8 years ago

null probably better than false

ItamarGronich commented 7 years ago

So, no way to enforce an elm version? i'm using elm 16 and getting incompatible format errors.

benjick commented 7 years ago

Not really, but you can download the corresponding binary from https://github.com/avh4/elm-format/releases

anagrius commented 7 years ago

Reopen if still wanted