summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2017-04-11#392 Report errors inside of headers, in a very basic wayw0rp
2017-04-11Merge pull request #458 from Szero/masterw0rp
Added shellcheck executable and options variable
2017-04-10Typo correcting 3.0.7 -> 0.3.7 for `vint --no-color`David Alexander
2017-04-09added shellcheck executable and options variableSzero
updated docs
2017-04-08Added a missing space to the nimcheck commandMathijs Saey
2017-04-08Add Ruby MRI linter (#453)Brandon Roehl
* Added ruby mri linter * Added to the list of supported linters * Async and now with 4 spaces * Vader tests for ruby * Match style choices * Vader test for the Ruby handler now works and passes
2017-04-08improved the sml linter (#445)Shalom Yiblet
* improved the sml linter * made matching operator agnostic to user settings * added tests for sml
2017-04-07Update nimcheck.vim (#451)Mathijs Saey
Added a '--threads:on' switch to the nim check command so that it doesn't produce errors when using one of the various modules that require threads.
2017-04-07Add support for linting Handlebars templates with ember-template-lint (#452)Adrian
* Ember-template-lint Handlebars template linter: initial handler, test. * Handlebars support with ember-template-lint: basic documentation entries.
2017-04-05Adds options to foodcritic linter (#437)José Júnior
* Adds options to foodcritic linter Adds a way to pass command line options to the foodcritic command and documentation about it. * Creates a simple test for foodcritic command callback This test simply runs the GetCommand function for the foodcritic linter and feeds it with some test variables to assert the command line is being created/escaped correctly. * Makes foodcritic linter use a command callback Following review comments, changes the foodcritic linter to use a `GetCommand` callback for the `command_callback` linter option. Makes sure that `~` are escaped: flags on foodcritic command line are negated by adding a `~` in front of the specific cop name: ``` foodcritic -t ~FC011 ``` But the way the commands are executed cause foodcritic to fail (since tilde is recognized as home directory). * Fixes the doc to include new variables
2017-04-03#447 Pass a temporary file to the shell linter insteadw0rp
2017-04-03#447 Support zsh in the shell linterw0rp
2017-03-31Fix #438 Create Java .class files for javac in a temporary directoryw0rp
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-03-30Add support for gosimple and staticcheckBen Reedy
2017-03-29Fix #260 automatically set .csslintrc files from ancestor directoriesw0rp
2017-03-29Use the lint_file option so the Cargo linter will only be run against files ↵w0rp
on disk
2017-03-29Make the tslint file match the style in the rest of the codebasew0rp
2017-03-29Fix #421 Automatically detect create-react-app pathsw0rp
2017-03-27Adjust rubocop error levelsGabriel Holodak
Consider rubocop fatal errors as ALE errors, and rubocop style warnings as ALE warnings.
2017-03-27Merge branch 'add-dogma'w0rp
2017-03-27Use the same formatting as other files for the dogma linter file, and cover ↵w0rp
the Handler function with tests
2017-03-27Make cargo linter lighter: (#408)Idan Arye
- Use `cargo check` instead of `cargo build` when `g:ale_rust_cargo_use_check` is truish. - Use `--frozen` to avoid locking the project.
2017-03-25Add support for ASM files using GCCLucas Kolstad
2017-03-23Add the dogma checker.Blaž Hrastnik
2017-03-22Fix problems with nim check (#404)baabelfish
* Fix problems with nim check - Multi file errors are not shown in the same buffer - Fixes parsing of error type that contain ':' * Remove redundant fnameescape
2017-03-21tslint parameterized executable and config path (#400)Ruben Paz
* Allow modifying the location of the tsling executable * Allow definition of config file path * fnameescape configuration file
2017-03-18Add support for nim checkbaabelfish
2017-03-13add slim-lint (#388)Markus Doits
* add slim-lint * add slim readme entry * add slim entry to doc * add slimlint vader test
2017-03-13Merge pull request #393 from naoina/fix-coffeelint-patternw0rp
Fix pattern of output for coffeelint
2017-03-13Fix pattern of output for coffeelintNaoya Inada
2017-03-12Merge pull request #389 from jparise/erlc-output-tmpdirw0rp
Write erlc output files to the temporary directory
2017-03-11Use tempname() to create the temporary output fileJon Parise
Also, "manage" this filename so ALE can clean it up.
2017-03-11Support older versions of Vintw0rp
2017-03-11#277 #318 Support all same-directory includes for gcc and clangw0rp
2017-03-11FIX #344 - Add options to Perl linterPaul Johnson
Conflicts: doc/ale.txt
2017-03-10Write erlc output files to the temporary directoryJon Parise
In particular, if we're working with a leex (.xrl) or yecc (.yrl) source file, erlc would otherwise generate the corresponding .erl file in the current directory (often the project root), which is generally not what we want. Unconditionally writing erlc output to a temporary directory also matches Flycheck's behavior.
2017-03-09Fix #386 report problems with eslint configuration filesw0rp
2017-03-05Add support for nix lintingAlistair Bill
2017-03-04#384 Try and stop stupid errors coming from the gobuild functionsw0rp
2017-03-03Add hamllint linter for Haml (#377)Patrick Lewis
* Add hamllint linter for Haml * Simplify hamllint
2017-03-01Add support for error detailsJasper Woudenberg
Some review needed.
2017-03-02proselint: Add more supported filetypes (#367)Daniel M. Capella
* proselint: Add more suported filetypes * proselint: Minor consistency fixes * Vim help: Disable linters by default
2017-03-01Fix PHP column matching for unexpected single quotes (#370)Adriaan Zonnenberg
* PHP: Fix column matching for unexpected single quotes Unexpected single quotes resulted in an empty match, because PHP surrounds the errors with quotes, and we check for the next quote to be the ending delimiter. For example: an unexpected string 'foo' would be presented as `unexpected ''foo''`, and then the match would be `''`. The inner part of that match is an empty string. This adds a check for the keyword "expecting". Any quote after "expecting" won't be matched, so we can use greedy matching instead of non-greedy. * PHP: Use "very magic" The pattern started to get unreadable Also replaced non-greedy matching (`\{-}`) by greedy matching, because we don't need to match non-greedily anymore and it reads a little nicer. * PHP: Add tests for column matches And with that, also a test for unexpected single quotes.
2017-03-01Use latest C++ standardequal-l2
2017-02-27Merge pull request #366 from kbenzie/cmakelintw0rp
Add cmakelint support for cmake filetype
2017-02-26Copy all loclist items returned from handlers, and set up defaults for ↵w0rp
convenience
2017-02-25Add display of the pylint symbol name for the msg_id.John Sivak
2017-02-25Add cmakelint support for cmake filetypeKenneth Benzie (Benie)
2017-02-22Fix Credo's line-matching pattern (#360)Jon Parise
* Fix Credo's line-matching pattern In d3e7d3d5, the line matching pattern was changed to handle filenames other than `stdin`. Unfortunately, this broke the pattern's ability to reliably extract both line and column numbers because the latter is an optional match and the filename portion was very greedy. This resulted in line numbers being discarded (treated as part of the filename) and column numbers being interpreted as line numbers. This change simplifies the pattern to only anchor on the line's suffix, ignoring the filename portion entirely. Alternatively, we could use vim's `\f` ("file name characters") class, but that could still run into problems when `:`'s naturally appear in the filename. * Add a Vader test case for the Credo handler