Skip to content

ymtszw/build-elm-analyse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

build-elm-analyse

Run elm-analyse in Atom Editor using build.

Depends on:

elm-analyse must be installed globally.

Working directory is always current project root. Both elm.json and elm-analyse.json must be found there.

Usage

Trigger build for the whole project, then elm-analyse will run, too. (by default build key binding, Option + Cmd + b or F9 in mac)

Alternatively, you can selectively run elm-analyse.

  1. Open command palette (Shift + Cmd + P in mac)
  2. Run Build: Elm Analyse

Motivation

I initially published linter-elm-analyse, though elm-analyse is rather costly operation and takes usually longer time than per-file linters/formatters. In such cases it would be better to manually run it on-demand, so build provider is the way to take.