summaryrefslogtreecommitdiff
path: root/ale_linters/dockerfile
AgeCommit message (Collapse)Author
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