Skip to content

Instantly share code, notes, and snippets.

@rofrol
Last active November 16, 2017 23:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rofrol/98e8a788b3866493f53ad25f38563675 to your computer and use it in GitHub Desktop.
Save rofrol/98e8a788b3866493f53ad25f38563675 to your computer and use it in GitHub Desktop.

linter-elm-make

Always Compile Main: Yes

You can have the main paths set per project with file linter-elm-make.json and content like:

{
  "mainPaths": [
    "src/elm/Main.elm"
  ]
}

linter-ui-default

Panel Represents: Entire Project

Status Bar Represents: Entire Project

output aka don't compile twice

If you also want to change the output of linter-elm-make you have to hack it. Edit file ~/.atom/packages/linter-elm-make/lib/linter-elm-make.js. Change line with --output=/dev/null to

let args = [inputFilePath, '--report=json', '--output=dist/js/elm.js', '--debug', '--yes'];

And restart atom.

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