2016-10-03 18:02:21 +00:00
|
|
|
" Author: KabbAmine - https://github.com/KabbAmine
|
|
|
|
|
2016-10-03 22:24:18 +00:00
|
|
|
if exists('g:loaded_ale_linters_scss_sasslint')
|
2016-10-03 18:02:21 +00:00
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2016-10-03 22:24:18 +00:00
|
|
|
let g:loaded_ale_linters_scss_sasslint = 1
|
2016-10-03 18:02:21 +00:00
|
|
|
|
|
|
|
call ALEAddLinter('scss', {
|
|
|
|
\ 'name': 'sassLint',
|
|
|
|
\ 'executable': 'sass-lint',
|
|
|
|
\ 'command': g:ale#util#stdin_wrapper . ' .scss sass-lint -v -q -f compact',
|
2016-10-03 22:24:18 +00:00
|
|
|
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
|
2016-10-03 18:02:21 +00:00
|
|
|
\})
|