summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2017-07-13Add scalastyle linter (#766)Kevin Kays
* Add support for scalastyle * Add scalastyle docs * scalastyle support for column numbers * off by one column * Add tests for scalastyle command and handler * update readme for scalastyle * allow full scalastyle options instead of just config file * fix indentation * allow scalastyle config file in parent directories by a couple names. * check for missing match args with empty * remove echo * use a for loop
2017-07-12Add rails_best_practices handler (resolves #655) (#751)Eddie Lebow
* Move FindRailsRoot() to more general location * Add rails_best_practices handler (resolves #655) * Update documentation for rails_best_practices Also add brakeman to *ale* documentation. * rails_best_practices: allow overriding the executable * rails_best_practices: format help correctly * rails_best_practices: capture tool output on Windows
2017-07-12Fixup #756Sander van Harmelen
The real fix was not using absolute paths anymore (so not expanding with the `:p` option). The regex was correct and should at least include the `^` character to make sure the string starts with the given path/filename and not references the path/filename in some error description.
2017-07-11#756 Escape the paths used for the --include parameter for gometalinter, ↵w0rp
which uses RE2
2017-07-11Merge pull request #756 from svanharmelen/b-gometalinterw0rp
Make gometalinter work again
2017-07-11Look for ini file to spot python project root (#755)Matteo Centenaro
* Look for ini file to spot project root When looking for the project root folder it would be better to check for some well-known init file instead of __init__.py. Indeed, with python3 it is now possible to have namespace modules where intermediate dirs are not required to include the __init__.py file. * Break if statement conditions over several lines * Add blank lines for the if block * Add test for FindProjectRoot * Typo: missing / for MANIFEST.in * Fix test for non-namespace package * Add more test cases
2017-07-11Make gometalinter work againSander van Harmelen
They changed their logic to use related paths instead of absoluut paths (see [here](https://github.com/alecthomas/gometalinter/commit/a04df08be5899be3c7ad69aa379858dcb660c709#diff-04424ed7c660c10495a54e8d11be89eaR253)) This fixes the linter by also using relative paths…
2017-07-09Make every test set filenames and switch directories in the same way, and ↵w0rp
fix some missing escaping for the rubocop linter
2017-07-09Use rubocop's JSON output format (resolves #339) (#738)Eddie Lebow
* Use rubocop's JSON output format (resolves #339) Rubocop's emacs formatter seems to have changed format in some not-so-ancient version. The JSON formatter should provide a more stable interface than parsing lines with a regex. The JSON formatter was introduced in mid-2013, so it should be safe to assume available in any reasonably-modern environment. The oldest currently-supported version of ruby (according to ruby-lang.org) was not supported by rubocop until 2014. * Rubocop: Use global function for GetType * Rubocop: Use scope prefix in GetType * Rubocop: Update command_callback test * Rubocop: add end_col to Handle
2017-07-08Use different reporter to support older versions of jscs (#737)Jonathan Boudreau
* Use different reporter to support older versions of jscs * Add test and make more consistent with other code * Add documentation for jscs * Add more test coverage
2017-07-07#697 - Clear all highlights every time items are set again, and refactor ↵w0rp
most things. Clear errors when linters are removed
2017-07-07Make the executable for gometalinter configurablew0rp
2017-07-06#732 - Use the configuration files when fixing files with rubocopw0rp
2017-06-29Make pug-lint detect node_modules executables, and add options for pug-lint ↵w0rp
like the other linters
2017-06-28Add puppet-lint fixer (#701)Alexander "Ace" Olofsson
* Add puppet-lint fixer * Add vader test for puppetlint fixer * Ensure puppetlint variables are initialized
2017-06-27Fix #680 - Use --shadow-file to check for problems with mypy while you typew0rp
2017-06-25Add ruby fixer using `rubocop --auto-correct` (#689)Lynn Dylan Hurley
* add ruby fixer for `rubocop --auto-correct`
2017-06-21Fix some escaping and make some tests set filenames consistentlyw0rp
2017-06-14Add fusion-lint, documentation, and tests (#648)Ryan
* Add `fusion-lint` for first FusionScript linter * Add documentation over `fusion-lint` * Add tests for `fusion-lint` command callback
2017-06-07Search python fixers in virtual environment (#632)José Luis Lafuente
* Search python fixers in virtual environment * Add tests for python fixers
2017-05-18Add xmllint linter (#559)q12321q
* Add xmllint linter for xml
2017-05-17Escape executableDevon Meunier
2017-05-16Allow overriding rubocop executable.Devon Meunier
2017-05-08#540 Fix shell escaping pretty much everywherew0rp
2017-05-07Support `python -m flake8` for users who are running flake8 that wayw0rp
2017-05-07#335 Detect flake8 in vritualenv, and escape the executable pathw0rp
2017-05-06Fix #363 - Detect virtualenv executables and fix import paths for mypy. Use ↵w0rp
lint_file for mypy
2017-05-06Escape the pylint executable appropriatelyw0rp
2017-05-06Fix #208 - Use the file on disk for pylint, and follow import pathsw0rp
2017-05-06#208 Automatically detect pylint in virtualenv directoriesw0rp
2017-05-05[RFC] Add Brakeman for Ruby on Rails (references #385) (#509)Eddie Lebow
* Add brakeman for Ruby on Rails
2017-05-02Fix #410 - Use compile_commands.json files for clang-tidy, and check files ↵w0rp
on disk instead
2017-05-02#392 - Detect and use compile_commands.json for cppcheckw0rp
2017-04-29Add luacheck option to pass in more optionsAlex Masterov
2017-04-25Fixes #361, fixes #417 Get classpaths from Maven, and automatically detect ↵w0rp
src/main/java paths
2017-04-15Fix #168 - Make the Fortran linter more configurablew0rp
2017-03-31Fix #438 Create Java .class files for javac in a temporary directoryw0rp