refactor sasslint linter (#2077)

Previous implementation required one to have sass-lint globally. This
allows you to have it locally, override the executable and add options.
This commit is contained in:
Oskar Grunning
2018-12-06 11:23:31 -07:00
committed by Bjorn Neergaard
parent dc61d46e28
commit 2760cf7018
11 changed files with 163 additions and 32 deletions
-8
View File
@@ -1,8 +0,0 @@
" Author: KabbAmine - https://github.com/KabbAmine,
" Ben Falconer <ben@falconers.me.uk>
function! ale#handlers#sasslint#GetCommand(buffer) abort
return ale#path#BufferCdString(a:buffer)
\ . ale#Escape('sass-lint')
\ . ' -v -q -f compact %t'
endfunction