diff options
author | w0rp <w0rp@users.noreply.github.com> | 2016-12-06 13:22:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 13:22:47 +0000 |
commit | d5c626667e5aa881bf4ed0543697ecf46c0ac2f2 (patch) | |
tree | ad6354af2204ea639cfddea5cc22ac4e45ebe187 /ale_linters | |
parent | 1a749a6b433815a90b4bb9e2c31a442e8b685006 (diff) | |
parent | 725957de6e8cdbe9ca9d295e2e5ae273260e6c7a (diff) | |
download | ale-d5c626667e5aa881bf4ed0543697ecf46c0ac2f2.zip |
Merge pull request #207 from diartyz/master
[new linter] add stylelint support
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/css/stylelint.vim | 8 | ||||
-rw-r--r-- | ale_linters/sass/stylelint.vim | 8 | ||||
-rw-r--r-- | ale_linters/scss/stylelint.vim | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/ale_linters/css/stylelint.vim b/ale_linters/css/stylelint.vim new file mode 100644 index 00000000..8d656651 --- /dev/null +++ b/ale_linters/css/stylelint.vim @@ -0,0 +1,8 @@ +" Author: diartyz <diartyz@gmail.com> + +call ale#linter#Define('css', { +\ 'name': 'stylelint', +\ 'executable': 'stylelint', +\ 'command': g:ale#util#stdin_wrapper . ' .css stylelint', +\ 'callback': 'ale#handlers#HandleStyleLintFormat', +\}) diff --git a/ale_linters/sass/stylelint.vim b/ale_linters/sass/stylelint.vim new file mode 100644 index 00000000..ae0b655a --- /dev/null +++ b/ale_linters/sass/stylelint.vim @@ -0,0 +1,8 @@ +" Author: diartyz <diartyz@gmail.com> + +call ale#linter#Define('sass', { +\ 'name': 'stylelint', +\ 'executable': 'stylelint', +\ 'command': g:ale#util#stdin_wrapper . ' .sass stylelint', +\ 'callback': 'ale#handlers#HandleStyleLintFormat', +\}) diff --git a/ale_linters/scss/stylelint.vim b/ale_linters/scss/stylelint.vim new file mode 100644 index 00000000..135fb8e7 --- /dev/null +++ b/ale_linters/scss/stylelint.vim @@ -0,0 +1,8 @@ +" Author: diartyz <diartyz@gmail.com> + +call ale#linter#Define('scss', { +\ 'name': 'stylelint', +\ 'executable': 'stylelint', +\ 'command': g:ale#util#stdin_wrapper . ' .scss stylelint', +\ 'callback': 'ale#handlers#HandleStyleLintFormat', +\}) |