build-elm-analyse

Run elm-analyse using atom-build

ymtszw

121

0

Bug Reports

0.1.0

BSD-3-Clause

GitHub

This package provides the following services:

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.