mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
" Author: KabbAmine - https://github.com/KabbAmine
|
||||
|
||||
if exists('g:loaded_ale_linters_sass_sassLint')
|
||||
if exists('g:loaded_ale_linters_sass_sasslint')
|
||||
finish
|
||||
endif
|
||||
|
||||
let g:loaded_ale_linters_sass_sassLint = 1
|
||||
let g:loaded_ale_linters_sass_sasslint = 1
|
||||
|
||||
call ALEAddLinter('sass', {
|
||||
\ 'name': 'sassLint',
|
||||
\ 'executable': 'sass-lint',
|
||||
\ 'command': g:ale#util#stdin_wrapper . ' .sass sass-lint -v -q -f compact',
|
||||
\ 'callback': 'ale_linters#css#csslint#Handle',
|
||||
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
|
||||
\})
|
||||
Reference in New Issue
Block a user