summaryrefslogtreecommitdiff
path: root/ale_linters/puppet
AgeCommit message (Collapse)Author
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-08-29Always use --color=false when validating puppetTim Byrne
Colorized output is difficult for ALE to parse.
2018-08-27Support options for puppet parser validateTim Byrne
It can be necessary to pass options to the puppet parser validation. The most glaring example of this is when using Puppet 3, with the `parser = future` option enabled. This update allows adding `--parser=future` to the options passed to Puppet.
2018-08-02Simplify the code for most linters and tests with closuresw0rp
2018-07-05Clean up root detection for puppet languageserverAlexander Olofsson
2018-07-04puppet: Add puppet-languageserver linterAlexander Olofsson
2018-05-29Fix for puppet version 5.4.0Daniel Kraemer
i don't know of any version lower than 5.4.0
2017-12-02Puppet: allow for when parser doesn't supply column for errors (#1182)Dave Wongillies
* puppet: add test for puppet parser validate * puppet: handle where parser validate doesn't supply the column * puppet: add test for when parser validate doesn't supply column * Fix puppet regex to handle Windows paths
2017-04-18Add a function for getting matches, and use it to simplify a lot of codew0rp
2017-04-16#427 Implement buffer variable overrides for all linter optionsw0rp
2017-04-12Set a default for the puppetlint options so the linter will behave like it ↵w0rp
always has done, by default
2017-04-12Add puppet-lint config options and documentation (#462)rcn
2017-04-11#392 Report errors inside of headers, in a very basic wayw0rp
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-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2017-01-22Add a script for custom checks to enforce using the abort flag for functions ↵w0rp
and trailing whitespace, and fix existing issues.
2016-11-25Add puppet linters (#183)Alexander "Ace" Olofsson
* Start adding Puppet linters * Use the correct output stream for puppet parser * Finish Puppet and puppet-lint linters * Add Puppet information to documentation