This package provides the following services:
linter-rebar3
A bare minimun erlang linter based on rebar3.
This linter plugin for Linter provides an interface to rebar3.
It will be used with files that have the "source.erlang" syntax
(ie. *.erl
). It's based on linter-elixirc.
Installation
Plugin requires Linter package and it should install it by itself. If it did not, please follow Linter instructions here.
Method 1: In console
$ apm install linter-rebar3
Method 2: In Atom
- Edit > Preferences (Ctrl+,)
- Install > Search "linter-rebar3" > Install
Settings
Plugin should work with default settings. If not:
-
Edit > Preferences (Ctrl+,)
-
Packages > Search "linter-rebar3" > Settings
-
Rebar3 path - use
which rebar3
to find path. ie./usr/local/bin/rebar3
Usage
If you open folder with rebar3 project (rebar.config
exists in project's root
folder), linter will use rebar3 compile
to include all dependencies.
Note that this only works with rebar3 projects. It should work without problems either with single "apps" or "rels" structure.