2016-10-03 13:05:58 -04:00
|
|
|
" Author: w0rp <devw0rp@gmail.com>
|
|
|
|
" Description: This file adds support for checking CSS code with csslint.
|
|
|
|
|
|
|
|
if exists('g:loaded_ale_linters_css_csslint')
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
|
|
|
let g:loaded_ale_linters_css_csslint = 1
|
|
|
|
|
|
|
|
call ALEAddLinter('css', {
|
|
|
|
\ 'name': 'csslint',
|
|
|
|
\ 'executable': 'csslint',
|
|
|
|
\ 'command': g:ale#util#stdin_wrapper . ' .css csslint --format=compact',
|
2016-10-03 18:24:18 -04:00
|
|
|
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
|
2016-10-03 13:05:58 -04:00
|
|
|
\})
|