erblint as fixer (#3935)

* fixer erblint

* erblint fixer test
This commit is contained in:
Roeland
2021-10-11 13:52:46 +02:00
committed by GitHub
parent 1ee7580557
commit 7413dfd3fc
4 changed files with 100 additions and 0 deletions

View File

@@ -100,6 +100,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['nim'],
\ 'description': 'Apply nimpretty to a file.',
\ },
\ 'erblint': {
\ 'function': 'ale#fixers#erblint#Fix',
\ 'suggested_filetypes': ['eruby'],
\ 'description': 'Apply erblint --autocorrect to a file.',
\ },
\ 'eslint': {
\ 'function': 'ale#fixers#eslint#Fix',
\ 'suggested_filetypes': ['javascript', 'typescript'],