summaryrefslogtreecommitdiff
path: root/ale_linters/scss/sasslint.vim
blob: c0dd09c8d4495f83e8104cc7452642967ba0c81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" Author: KabbAmine - https://github.com/KabbAmine

if exists('g:loaded_ale_linters_scss_sasslint')
    finish
endif

let g:loaded_ale_linters_scss_sasslint = 1

call ale#linter#Define('scss', {
\   'name': 'sasslint',
\   'executable': 'sass-lint',
\   'command': g:ale#util#stdin_wrapper . ' .scss sass-lint -v -q -f compact',
\   'callback': 'ale#handlers#HandleCSSLintFormat',
\})