You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7 KiB
VimL

Squashed 'vim/bundle/syntastic/' changes from 56e19eb81..89bc82a26 89bc82a26 Manual: add a note about debugging. b2ad71cd1 Manual: add a clarification about statusline. d8af5028e Bug fix: Cygwin sets has("unix"). de0106e83 JSCS checker: add "--max-errors -1" option. cc440f1b4 Checker yamllint: cleanup. 8c4dadc7e New checker for YAML: yamllint (@adrienverge). 972b87ca0 Safer syntastic#util#unique(). d1a179d75 Vim 7.4.1128 can delete directories recursively. 1f4846fec Stylelint checker can also check SCSS files. 2db6f539d Checker scss_lint: use the JSON reporter of scss-lint. b10c59b21 Manual: clarification about quiet_messages. c57ba0da9 Asciidoc checker: fix errorformat to allow use as asciidoctor. e39f636e2 Flow checker: go back to "flow check". 17a4c0123 Checker ghc_mod is on its way out. 189be0ae7 Workaround for a misfeature in Vim 7.4.1013 and later. 3280220e6 JSCS checker bug fix: minor fallouts from 751afea. 91814d672 Manual: bit rot: vim-go now uses loclists. 751afea9e JSCS checker: use JSON reporter. dbd761006 Minor feature: auto_loc_list == 3. 281b29487 Avoid checking the preview window. 6074c3d39 Stylelint checker: update parser. 48736aa37 Mixedindentlint is a style checker. ac4541e0e Minor cleanup. ce8dd364f Add `returns` list to `SyntasticMake` 6be9b4c71 Add mixedindentlint checker redirect for css a0382253c Add mixedindentlint checker redirect for scss 7d27a3982 Add mixedindentlint checker for JavaScript 60f979393 R linters: minor cleanup. 06a846955 Checker tsc: add guards option. e60555de7 Registry: cleaner handling of checker redirections. 4725c8616 Lintr checker: cleanup. bf60b72f3 Attempt support for Rmd files 4078f0db8 Updates for newest syntastic best practices f92adf3c9 Enable R linting using lintr 2d0bb98cf Allow ESLint to check typescript files. 77e20e22d Bug fix: decouple skip_checks from check_on_wq. 70c723ac1 Back off 6379bd1, this is not safe. 6379bd198 /dev/null should work under win32unix. dc516ef19 Checker asm/gcc: allow generic overrides. 6d2e406f9 Slim_lint checker: cleanup. 46c692b51 Add slim-lint checker 200cd1d07 Merge remote-tracking branch 'origin/pr/1609' 3f9fde2c1 fix miss test classpath 4f1e3adf3 correct pymode lint variable name in documentation 73dd78548 Dockerfile_lint checker: cleanup. 13456d5a7 Add dockerfile-lint checker 10788ac8d Javac checker: cleanup. 094c3631c fix maven project which has set srcdir or testsrc dir 3593d1697 fix maven project which has set srcdir or testsrc dir cd40fe975 Ansible-lint checker: make "-p" option mandatory. 13c8e7530 Ansible-lint checker: add version check. 7d627000c Checkers clang_check and clang_tidy: workaround for a regression in Clang. 721a42d5b Ansible-lint checker: cleanup. f8e638d28 Add ansible-lint syntax checkers 85cde9235 Core: disable autocommand nesting by default. d79d77fbd Core: allow syntastic commands to be followed by other Vim commands. ae7e00aad Revert "Javac checker: minor optimisation." cfdcdfaa9 Javac checker: minor optimisation. 03c058ea5 Typo. dec5bc73b New checker vcom for VHDL (@jevogel). 9f599a161 Standard checker: allow generic standard frontends. 943923433 Typo. 646124823 Back off a4c3fcc for slimrb. 630169bfc Stylelint checker: typo. c596b6474 Stylelint checker: cleanup. 1d5a057a0 Add CSS Stylelint checker a4c3fcc4a Partial workaround for a misfeature of errorformat. 1926693d1 Coqtop checker: fix potentially harmful errorformat. 11ca31582 Iverilog checker: formatting. d51d5ea51 Merge remote-tracking branch 'origin/pr/1579' 448b6cc61 add MIT license to iverilog.vim e484ac941 BaseX: allow filenames to contain special characters. 2553f6389 BaseX checker: minor cleanup. 50653f0bc BaseX checker: cleanup. 89ad03b2e conform iverilog to makeprgBuild() 5bf9fa749 Add support for Icarus Verilog compiler 3c524a661 Added support for XQuery using BaseX.exe f6eaf7e8b README: add links to ghcmod-vim and vim-go. 544acba17 ghc-mod versions 5.4.0 and later are no longer supported. f57cc9e84 Bump version number. 1b6c70ddc Merge remote-tracking branch 'origin/pr/1573' 160446799 [drafter] Update known status code 72b704e6f Bump version. d36bc7807 Bump version for release. 7e26d3589 Merge remote-tracking branch 'origin/pr/1567' ba62f2e68 API Blueprint should use drafter e1217a888 Manual: cross reference skip_checks from the filtering section. b3ebf94ac Manual: fix typo. 50d031583 Vimlint checker: add logging. d3130d6b5 Minor cleanup. b8aef009b Bug fix: length of composite characters in stl_format. 66f4e9693 Eslint checker: log if called as a generic frontend. c34ea8955 Eslint checker: allow generic eslint frontends. e0a3cf753 Add width controls to the new stl_format flags. d73d7601c New flags for stl_format: %ne, %nw, %N, %pe, %pw, %P. 03c8a7b55 README: add a link to the Merlin project. 1885e867b Checkstyle checker: make checkstyle_classpath an actual classpath. debcecd5c Checker gometalinter: minor cleanup. f2084e9e4 Checker gometalinter: fix arguments. 9371aafa8 Minor cleanup: regex optimisation. 8bb535bd2 Checker gometalinter: cleanup. 3db525cac include test files by default. add error type. aca4d8ea4 add support for setting arguments on gometalinter f1f7deed3 use package instead of file 61b7dbf9c add gometalinter syntax checker 8164240f6 Hlint: handle hint file parsing errors. 1e7589fe5 Back off "Reset notifiers if skip_checks is set." 6a4262251 Reset notifiers if skip_checks is set. be111259e js-yaml checker: update errorformat. 1be907716 Javac checker: make checker-specific commands available at startup. 3fb986584 Go checker: option "-buildmode=archive" is new in go 1.5. 703287c76 Checker jade_lint: cleanup. b5883c80f Add jade-lint 0fe603595 Bug fix: minor shell escape issue. d077102eb Gotype checker: parse test files (@jonasi). 3c2e7e4ce Go checker: attempt to speed up builds (@gsalgado). 13727dd46 Set the GOGC env var to off to speed up go builds 47c70b3e1 Minor language and grammar fixes. 7014a52ac Manual: update the note about zsh. 1ae5589f9 Javac checker: attempt at fixing errorformat. 3fb8281a6 Bug fix: missing a couple of executable() checks. 748725c77 Tslint checker: version 2.4.0 and later no longer support "-f". bfc55793e ESLint checker: line numbers are now 1-based. a01107ffa Bug fix: safer handling of automatic includes. 9d69f4c16 Qmllint checker: cleanup. 6ff7c8934 New checker for qml: qmllint edde4c5ed New checker for stylus: stylint. 74586ff12 Manual: consistency fixes. 07f2745eb Manual: rephrase description of check_on_wq. d26c7f78c Bug fix: passive mode UI problem; autocmd cleanup. a6012f2b4 Move floating point functions to autoload. bcb4ca6e7 Safety net for enable_*_checker variables. 6929f24e4 Flog checker: cleanup. 5db87b9ec Add ruby flog checker 76ec53f18 Sqlint checker now returns 1 when it detects errors. aded15691 Bug fix: leftover from JSON cleanup. 1dde81a68 There is no such thing as has('iconv/dyn'). d35396286 Sqlint checker: add highlighting function. 1e475a7df Sqlint checker: cleanup. 125ce327e Add checker for sqlint (https://github.com/purcell/sqlint) ffcf625fc Minor cleanup. c44cb15c4 Cleanup: JSON decoding. eba7ae6d6 Debug: add indicator for modified shell-related options. 83829b766 Minor bug fix. 74fd7e6b9 Show chacker output when whining that we can't parse version string. 2e60dd4af Manual: add a note about Tim Pope's "flagship". 59513edd4 Manual: fix the notice about rvm. a596ef38b Gfortran checker: fix errorformat for gfortran 5. b1b79009e Manual: Fix filetype_map example. 4708cdd12 Add a mechanism for handling checkers disabled for security. d75f3e5e8 Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. a08221e98 Merge pull request #1463 from lavrin/erlang-rebar-rel-paths 0154e9d09 Translate relative paths from non-root rebar.config files 8e672780e Show checker output along with "checker returned abnormal status". 31cba018b Safety net: avoid suffixesadd interfering with findfile(). 176e32ca4 Cleanup. c9fc0d41e Checker javac: _really_ fix shell escaping in custom_classpath_command. dc15fa08c Checker javac: fix shell escaping in custom_classpath_command. c39563d95 Checker javac: cleanup. ec9da6732 Merge remote-tracking branch 'origin/pr/1456' dbb28cd84 Ada checker: disable generation of intermediate files. 8269ba278 Basic path substitution for g:syntastic_java_javac_custom_classpath_command git-subtree-dir: vim/bundle/syntastic git-subtree-split: 89bc82a2640414be38a22de9ded1994359c56735
9 years ago
"============================================================================
"File: dockerfile_lint.vim
"Description: Syntax checking plugin for syntastic.vim using dockerfile-lint
" (https://github.com/projectatomic/dockerfile-lint).
"Maintainer: Tim Carry <tim at pixelastic 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_dockerfile_dockerfile_lint_checker')
finish
endif
let g:loaded_syntastic_dockerfile_dockerfile_lint_checker = 1
let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_dockerfile_dockerfile_lint_GetLocList() dict
let makeprg = self.makeprgBuild({
\ 'args_after': '-j',
\ 'fname_before': '-f' })
let errorformat = '%t:%n:%l:%m'
let loclist = SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'preprocess': 'dockerfile_lint',
\ 'defaults': {'bufnr': bufnr('')},
\ 'returns': [0, 1] })
for e in loclist
if e['nr']
let e['subtype'] = 'Style'
endif
call remove(e, 'nr')
endfor
return loclist
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'dockerfile',
\ 'name': 'dockerfile_lint'})
let &cpo = s:save_cpo
unlet s:save_cpo
" vim: set sw=4 sts=4 et fdm=marker: