syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzBit rot: checkers less/stylelint and scss/stylelint are gone.
doc/syntastic-checkers.txt | 49 +++----------------------------------- plugin/syntastic.vim | 2 +- syntax_checkers/css/stylelint.vim | 4 +--- syntax_checkers/less/stylelint.vim | 23 ------------------ syntax_checkers/scss/stylelint.vim | 23 ------------------ 5 files changed, 5 insertions(+), 96 deletions(-) diff --git a/doc/syntastic-checkers.txt b/doc/syntastic-checkers.txt index 1f6fc5f7..3c8f0b1a 100644 --- a/doc/syntastic-checkers.txt +++ b/doc/syntastic-checkers.txt @@ -1844,8 +1844,7 @@ Checker options~ This checker is initialised using the "makeprgBuild()" function and thus it accepts the standard options described at |syntastic-config-makeprg|. -See also: |syntastic-html-stylelint|, |syntastic-less-stylelint|, -|syntastic-scss-stylelint|, |syntastic-vue-stylelint|. +See also: |syntastic-html-stylelint|, |syntastic-vue-stylelint|. ============================================================================== SYNTAX CHECKERS FOR CUCUMBER *syntastic-checkers-cucumber* @@ -3053,8 +3052,7 @@ Checker options~ This checker is initialised using the "makeprgBuild()" function and thus it accepts the standard options described at |syntastic-config-makeprg|. -See also: |syntastic-css-stylelint|, |syntastic-less-stylelint|, -|syntastic-scss-stylelint|, |syntastic-vue-stylelint|. +See also: |syntastic-css-stylelint|, |syntastic-vue-stylelint|. ------------------------------------------------------------------------------ 8. textlint *syntastic-html-textlint* @@ -3887,7 +3885,6 @@ The following checkers are available for LESS (filetype "less"): 1. lessc....................|syntastic-less-lessc| 2. RECESS...................|syntastic-less-recess| - 3. stylelint................|syntastic-less-stylelint| ------------------------------------------------------------------------------ 1. lessc *syntastic-less-lessc* @@ -3929,25 +3926,6 @@ accepts the standard options described at |syntastic-config-makeprg|. See also: |syntastic-css-recess|. ------------------------------------------------------------------------------- -3. stylelint *syntastic-less-stylelint* - -Name: stylelint -Maintainer: Tim Carry <tim@pixelastic.com> - -"stylelint" is a style linter for Cascading Stylesheets. See the project's -page for more information: - - http://stylelint.io/ - -Checker options~ - -This checker is initialised using the "makeprgBuild()" function and thus it -accepts the standard options described at |syntastic-config-makeprg|. - -See also: |syntastic-css-stylelint|, |syntastic-html-stylelint|, -|syntastic-scss-stylelint|, |syntastic-vue-stylelint|. - ============================================================================== SYNTAX CHECKERS FOR LEX *syntastic-checkers-lex* @@ -6145,7 +6123,6 @@ The following checkers are available for SCSS (filetype "scss"): 3. Sass Lint................|syntastic-scss-sass_lint| 4. SassC....................|syntastic-scss-sassc| 5. SCSS-lint................|syntastic-scss-scss_lint| - 6. stylelint................|syntastic-scss-stylelint| ------------------------------------------------------------------------------ 1. mixedindentlint *syntastic-scss-mixedindentlint* @@ -6248,25 +6225,6 @@ Checker options~ This checker is initialised using the "makeprgBuild()" function and thus it accepts the standard options described at |syntastic-config-makeprg|. ------------------------------------------------------------------------------- -6. stylelint *syntastic-scss-stylelint* - -Name: stylelint -Maintainer: Tim Carry <tim@pixelastic.com> - -"stylelint" is a style linter for Cascading Stylesheets. See the project's -page for more information: - - http://stylelint.io/ - -Checker options~ - -This checker is initialised using the "makeprgBuild()" function and thus it -accepts the standard options described at |syntastic-config-makeprg|. - -See also: |syntastic-css-stylelint|, |syntastic-html-stylelint|, -|syntastic-less-stylelint|, |syntastic-vue-stylelint|. - ============================================================================== SYNTAX CHECKERS FOR SH *syntastic-checkers-sh* @@ -7553,8 +7511,7 @@ Checker options~ This checker is initialised using the "makeprgBuild()" function and thus it accepts the standard options described at |syntastic-config-makeprg|. -See also: |syntastic-css-stylelint|, |syntastic-html-stylelint|, -|syntastic-less-stylelint|, |syntastic-scss-stylelint|. +See also: |syntastic-css-stylelint|, |syntastic-html-stylelint|. ============================================================================== SYNTAX CHECKERS FOR XHTML *syntastic-checkers-xhtml* diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index d6799ef9..415ea080 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.10.0-27' +let g:_SYNTASTIC_VERSION = '3.10.0-32' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/css/stylelint.vim b/syntax_checkers/css/stylelint.vim index d2ecdbc7..f16b4fe5 100644 --- a/syntax_checkers/css/stylelint.vim +++ b/syntax_checkers/css/stylelint.vim @@ -22,9 +22,7 @@ set cpo&vim let s:args_after = { \ 'css': '-f json', \ 'html': '-f json', - \ 'vue': '-f json', - \ 'less': '-f json -s less', - \ 'scss': '-f json -s scss' } + \ 'vue': '-f json' } function! SyntaxCheckers_css_stylelint_GetLocList() dict let makeprg = self.makeprgBuild({ 'args_after': get(s:args_after, self.getFiletype(), '') }) diff --git a/syntax_checkers/less/stylelint.vim b/syntax_checkers/less/stylelint.vim deleted file mode 100644 index 8c5576f7..00000000 --- a/syntax_checkers/less/stylelint.vim +++ /dev/null @@ -1,23 +0,0 @@ -"============================================================================ -"File: stylelint.vim -"Description: Syntax checking plugin for syntastic -"Maintainer: LCD 47 <lcd047 at gmail dot com> -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('g:loaded_syntastic_less_stylelint_checker') - finish -endif -let g:loaded_syntastic_less_stylelint_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'less', - \ 'name': 'stylelint', - \ 'redirect': 'css/stylelint'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/syntax_checkers/scss/stylelint.vim b/syntax_checkers/scss/stylelint.vim deleted file mode 100644 index fa00c698..00000000 --- a/syntax_checkers/scss/stylelint.vim +++ /dev/null @@ -1,23 +0,0 @@ -"============================================================================ -"File: stylelint.vim -"Description: Syntax checking plugin for syntastic -"Maintainer: LCD 47 <lcd047 at gmail dot com> -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('g:loaded_syntastic_scss_stylelint_checker') - finish -endif -let g:loaded_syntastic_scss_stylelint_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'scss', - \ 'name': 'stylelint', - \ 'redirect': 'css/stylelint'}) - -" vim: set sw=4 sts=4 et fdm=marker: