summaryrefslogtreecommitdiff
path: root/ale_linters/css/csslint.vim
blob: dbaed15b1f90b0f3d8416c760809cc082ceda8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" 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 ale#linter#Define('css', {
\   'name': 'csslint',
\   'executable': 'csslint',
\   'command': g:ale#util#stdin_wrapper . ' .css csslint --format=compact',
\   'callback': 'ale#handlers#HandleCSSLintFormat',
\})