summaryrefslogtreecommitdiff
path: root/ale_linters/erlang
AgeCommit message (Collapse)Author
2017-11-03windows compatible warning match pattern for erlc (#1071)Antoine Reilles
* windows compatible warning match pattern for erlc
2017-08-19Syntaxerl linter feature check (#861)Dmitri Vereshchagin
* Add feature check for SyntaxErl linter * Escape SyntaxErl executable path in commands
2017-08-19#860 Only enable the new option for setting the original filename for ↵w0rp
SyntaxErl if an option is on in ALE
2017-08-19Add original filename to SyntaxErl commandDmitri Vereshchagin
2017-08-08Ban use of ==# or ==? in the codebase, and prefer is# or is? insteadw0rp
2017-07-16Add SyntaxErl linterDmitri Vereshchagin
These changes add [SyntaxErl][1] integration. SyntaxErl is a syntax checker tool for Erlang. [1]: https://github.com/ten0s/syntaxerl
2017-05-12#549 Temporarily revert shell escaping changes, just for Windowsw0rp
2017-05-08#540 Fix shell escaping pretty much everywherew0rp
2017-04-16#427 Implement buffer variable overrides for all linter optionsw0rp
2017-04-15Fix #257 in preparation for #427, standardise options with fallbacks, and ↵w0rp
make it so every value can be computed dynamically
2017-03-30Remove 'col' from linters where it is hardcoded to 1 (#434)Adriaan Zonnenberg
* Remove 'col' from linters where it is hardcoded to 1 When 'col' is 1, the first column will get highlighted for no reason. It should be 0 (which is the default). In the scalac linter there was also a check about the outcome of `stridx`. It would set l:col to 0 if it was -1, and then it uses `'col': l:col + 1` to convert the outcome of `stridx` to the actual column number. This will make 'col' equals 1 when there is no match. We can remove the check because `-1 + 1 = 0`. * Remove outdated comments about vcol vcol was added as a default, and the loclists that follow these comments do not contain 'vcol' anymore
2017-03-11Use tempname() to create the temporary output fileJon Parise
Also, "manage" this filename so ALE can clean it up.
2017-03-10Write erlc output files to the temporary directoryJon Parise
In particular, if we're working with a leex (.xrl) or yecc (.yrl) source file, erlc would otherwise generate the corresponding .erl file in the current directory (often the project root), which is generally not what we want. Unconditionally writing erlc output to a temporary directory also matches Flycheck's behavior.
2017-02-26Copy all loclist items returned from handlers, and set up defaults for ↵w0rp
convenience
2017-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2017-01-22Make the Erlang linter code match the style used in the rest of the ↵w0rp
codebase. Make the options match the new standard.
2017-01-22Add erlc lint for Erlang (#248) (#255)Magnus
* Add erlc lint for Erlang (#248) * Ignore certain errors in Erlang .hrl files (#248) A .hrl file does not need to have a -module definition. Additionally, it is common to have unused elements in such a file, as the entities will be used in a file including the header. * Address change requests to Erlang linter