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_sass_sasslint')
|
2016-10-03 14:02:21 -04:00
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2016-10-03 18:24:18 -04:00
|
|
|
let g:loaded_ale_linters_sass_sasslint = 1
|
2016-10-03 14:02:21 -04:00
|
|
|
|
|
|
|
call ALEAddLinter('sass', {
|
|
|
|
\ 'name': 'sassLint',
|
|
|
|
\ 'executable': 'sass-lint',
|
|
|
|
\ 'command': g:ale#util#stdin_wrapper . ' .sass 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
|
|
|
\})
|