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.
Plugin requires Linter package and it should install it by itself. If it did not, please follow Linter instructions here.
$ apm install linter-rebar3
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
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.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.