summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-09-15 21:09:04 +0100
committerw0rp <devw0rp@gmail.com>2016-09-15 21:09:04 +0100
commit192b3db3ee079625d524e88c56bb80b09af1f267 (patch)
tree1ec875fd720b089b8cfa252c0b565d00f05c5ed3 /ale_linters
parentd97d05e508fc5b4542bfbb30f1b1b2c0b72eac10 (diff)
downloadale-192b3db3ee079625d524e88c56bb80b09af1f267.zip
Credit fijshion for his work in the files, and make the new linters work again by adding the now required name arguments.
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/javascript/jscs.vim3
-rw-r--r--ale_linters/ruby/rubocop.vim3
2 files changed, 6 insertions, 0 deletions
diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim
index 2be08e92..cfac067a 100644
--- a/ale_linters/javascript/jscs.vim
+++ b/ale_linters/javascript/jscs.vim
@@ -1,3 +1,5 @@
+" Author: Chris Kyrouac - https://github.com/fijshion
+
if exists('g:loaded_ale_linters_javascript_jscs')
finish
endif
@@ -41,6 +43,7 @@ function! ale_linters#javascript#jscs#Handle(buffer, lines)
endfunction
call ALEAddLinter('javascript', {
+\ 'name': 'jscs',
\ 'executable': 'jscs',
\ 'command': 'jscs -r unix -n -',
\ 'callback': 'ale_linters#javascript#jscs#Handle',
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim
index 7ed91f4a..2fe74cc9 100644
--- a/ale_linters/ruby/rubocop.vim
+++ b/ale_linters/ruby/rubocop.vim
@@ -1,3 +1,5 @@
+" Author: Chris Kyrouac - https://github.com/fijshion
+
if exists('g:loaded_ale_linters_ruby_rubocop')
finish
endif
@@ -38,6 +40,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines)
endfunction
call ALEAddLinter('ruby', {
+\ 'name': 'rubocop',
\ 'executable': 'rubocop',
\ 'command': 'rubocop --format emacs --stdin _',
\ 'callback': 'ale_linters#ruby#rubocop#Handle',