summaryrefslogtreecommitdiff
path: root/ale_linters/dockerfile
AgeCommit message (Collapse)Author
2023-05-22Dockerlinter (#4518)Shad
* dockerlinter support * Tests & ShellCheck reference * sort and align docs
2022-11-04Add 'dockerfile_hadolint_options' config setting (#4353)Matthew Armand
- Add this option so command line arguments can be supplied to hadolint - This will be respected when running in docker and via the executable - Preserve the --no-color and - flags, and add these to the list - Add to docs and tests
2021-10-19fix(hadolint): set code field as well (#3943)infokiller
2021-07-05hadolint: multiple fixes and adapt expected format (#3678)Moritz Röhrich
- Show hadolint rule number in vim gutter in addition to `ALEDetails` - Capture and show error in case of syntax errors - Add tests for error capture - Adapt existing tests fixes: #2333 fixes: #958
2021-04-10hadolint: fix color output and stdin shown as "-" (#3680)infokiller
2020-11-29hadolint: Recognize message typeMoritz Röhrich
Hadolint is in the process of adding the severity of a lint rule to the commandline output: https://github.com/hadolint/hadolint/pull/501 This change utilizes that to show the severity in vim.
2020-05-06Fix style and testmax ulidtko
2020-05-06Improve :ALEDetail for dockerfile_lintmax ulidtko
1. The often longish `description` moved away from (supposedly short) statusline `message` into the `detail` section. 2. dockerfile_lint sends `reference_url` pointing to issue explanations. Use that.
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2018-10-26Add the dockerfile_lint linter for Dockerfiles (#1971)Alexander "Ananace" Olofsson
* Add the dockerfile_lint linter for Dockerfiles
2018-09-04Improve ALE project style checkingw0rp
* The project style linter now runs while you type. * Now the scripts for checking the project require blank lines. * Many style issues have been found and fixed.
2018-01-29Added tests for hadolintJose Lorenzo Rodriguez
2018-01-23Improving hadolint checkerJosé Lorenzo Rodríguez
- Displaying dockerfile parse errors instead of silently failing - Adding error detail with link to the docs
2017-08-11Ban !=# and !=? from the codebasew0rp
2017-08-08Ban use of ==# or ==? in the codebase, and prefer is# or is? insteadw0rp
2017-07-03Allow `hadolint` linter to run via docker image (#720)Chris Weyl
* Add documentation for hadolint (doc/ale-hadolint.txt) * Allow `hadolint` linter to run via docker image These changes enable the `hadolint` linter to run via the author's docker image, if present. Three modes are supported: * never use docker; * always use docker; and * use docker as a failback.
2017-04-24Simplify some code and format some tests betterw0rp
2017-04-18Add a function for getting matches, and use it to simplify a lot of codew0rp
2017-04-15Make code more consistentw0rp
2017-03-30Remove 'col' from linters where it is hardcoded to 1 (#434)Adriaan Zonnenberg
* Remove 'col' from linters where it is hardcoded to 1 When 'col' is 1, the first column will get highlighted for no reason. It should be 0 (which is the default). In the scalac linter there was also a check about the outcome of `stridx`. It would set l:col to 0 if it was -1, and then it uses `'col': l:col + 1` to convert the outcome of `stridx` to the actual column number. This will make 'col' equals 1 when there is no match. We can remove the check because `-1 + 1 = 0`. * Remove outdated comments about vcol vcol was added as a default, and the loclists that follow these comments do not contain 'vcol' anymore
2017-02-26Copy all loclist items returned from handlers, and set up defaults for ↵w0rp
convenience
2017-01-30Dockerfile linting via hadolint (#282)Łukasz Jan Niemier
* Add hadolint linter for Dockerfiles * Fix path * Fix typo * Update docs