Dmitri Vereshchagin
0551602b19
Add erlfmt fixer to the registry and use it with stdin ( #4868 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* Add erlfmt fixer to the registry
Without this, the fixer will not appear in the list of suggested tools
and cannot be used without additional configuration.
* Handle stdin in the erlfmt fixer command
Previously, the full path to the file being edited was used, which
resulted in the loss of unsaved changes.
* Add executable selection tests for erlfmt fixer
2024-12-29 13:55:43 +09:00
Dmitri Vereshchagin
898638abe5
Add erlang-ls as an alias for erlang_ls linter ( #4852 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
The project itself is often referred to as Erlang LS, so erlang-ls would
be a suitable alias.
2024-11-09 15:51:54 +09:00
Dmitri Vereshchagin
4fca3824cc
Add erlang-mode fixer for Erlang files ( #4848 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
This fixer performs indentation with the Erlang mode for Emacs.
The Erlang mode is maintained in the Erlang/OTP source tree. It indents
some things differently than the Vim indent plugin, and provides more
customization options.
2024-10-31 21:29:59 +09:00
Dmitri Vereshchagin
d82d968f8a
Set two-space indent for *.vader in .editorconfig ( #4849 )
...
Will be useful for those who use an EditorConfig plugin.
2024-10-31 21:28:44 +09:00
Dmitri Vereshchagin
48d73c87c3
Refactor SyntaxErl linter file ( #4807 )
2024-07-12 09:40:38 +09:00
Dmitri Vereshchagin
b74cd02648
Set working directory for Elvis linter ( #4726 )
...
Most of the time it works to assume that the current working
directory is the root of the project. However, this is not the case
for Rebar3 checked out dependencies, for example.
It's also worth noting that because of the way Elvis handles file
patterns, and because directories in configuration are relative to the
project root, the path supplied to command must be also relative.
2024-02-24 15:37:55 +09:00
Dmitri Vereshchagin
1c5b84f375
Update project root detection for erlang_ls linter ( #4619 )
...
* Refactor erlang_ls linter tests
* Add Rebar3 _checkouts support for erlang_ls linter
* Add Erlang.mk support for erlang_ls linter
2024-02-22 11:14:56 +09:00
Dmitri Vereshchagin
06efbdd25a
Add erlang_ls linter for Erlang files ( #4346 )
2022-10-29 20:58:30 +09:00
Dmitri Vereshchagin
76c2293e68
Add sub_type to Elvis output ( #3976 )
...
Elvis is Erlang style reviewer, thus all loclist objects should have
sub_type set to style.
2021-11-12 16:50:56 +09:00
Dmitri Vereshchagin
49718e0ec6
Add Elvis handler for Erlang
...
[Elvis][1] is an Erlang style reviewer.
[1]: https://github.com/inaka/elvis
2020-09-06 12:40:28 +03:00
Dmitri Vereshchagin
b2d3764a18
Syntaxerl linter feature check ( #861 )
...
* Add feature check for SyntaxErl linter
* Escape SyntaxErl executable path in commands
2017-08-19 18:54:23 +01:00
Dmitri Vereshchagin
18cb9a725d
Add original filename to SyntaxErl command
2017-08-19 17:18:48 +03:00
Dmitri Vereshchagin
e9e1bec772
Update SyntaxErl linter tests
2017-08-19 17:18:48 +03:00
Dmitri Vereshchagin
1aea6a34ff
Add SyntaxErl linter
...
These changes add [SyntaxErl][1] integration. SyntaxErl is a syntax
checker tool for Erlang.
[1]: https://github.com/ten0s/syntaxerl
2017-07-16 15:35:21 +03:00