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