summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
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
2017-02-21escape dot in maker regex (#357)Chris Paul
* escape dot in maker regex * Create test_typecheck_handler * Rename test_typecheck_handler to test_typecheck_handler.vader
2017-02-21Merge pull request #353 from pauloalem/masterw0rp
Add sml support via smlnj
2017-02-21Merge remote-tracking branch 'adriaanzon/php-columns'w0rp
2017-02-21Merge pull request #348 from rob-b/add-hdevtools-linterw0rp
Add hdevtools linter for haskell
2017-02-18Add sml support via smlnjpaulo alem
2017-02-18PHP: Make parser work with more error messagesAdriaan Zonnenberg
2017-02-17Add hdevtools linter for haskellRob Berry
This adds support for the hdevtools haskell linter https://github.com/hdevtools/hdevtools The output for hdevtools is near identical to the ghc output so this also extracts the ghc handler into the handle file and adds tests * Add testing for previous major release of ghc
2017-02-16Fix clang++ flag typo.Andrea Caforio
2017-02-16Add hdevtools linter for haskellRob Berry
This adds support for the hdevtools haskell linter https://github.com/hdevtools/hdevtools The output for hdevtools is near identical to the ghc output so this also extracts the ghc handler into the handle file and adds tests
2017-02-15Support columns on php handlerAdriaan Zonnenberg
Also added some tests for different error messages
2017-02-16Fix 'yamllint' syntaxAlex Masterov
2017-02-15Merge pull request #345 from AlexMasterov/feature/yaml-yamllint-optionsw0rp
Add yamllint option to pass in more options
2017-02-15Add yamllint option to pass in more optionsAlex Masterov
2017-02-14Update line marker pattern for new gfortranDaan van Vugt
Add tests for GCC 4.1.2, 4.9.2 and 6.3.1
2017-02-12Add stylelint option to pass in more optionsAlex Masterov
2017-02-11Fix the clangtidy linter, and document everythingw0rp
2017-02-11Add clang-tidy linter for cpp. (#275)Tim van Deurzen
* Add clang-tidy linter for cpp. * Use stdin-wrapper to allow linting as you type.
2017-02-11Fix the custom check issue.w0rp
2017-02-11Make javac work in a basic wayw0rp
2017-02-11Added support for javac (with eclipse classpath support for now) (#141)Valentin Finini
* A try at javac support for ALE * Small cleanup: moved '/tmp/java_ale' string into script var * Fixed Travis-CI build failing on autocmd not being in augroup and stupid omission * One more fix for Travis-CI * For some reason, expandtab was not set * Indentation and removal of header guard. Used examples from ale_linters/c/gcc.vim and ale_linters/javascript/eslint.vim for the indentation of string concat blocks.
2017-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2017-02-11Merge pull request #329 from tomotanakamura/AddClangToCppw0rp
Add clang to cpp linters.
2017-02-11Add clang to cpp linters.tomotanakamura
2017-02-10Fix #246 Don't run flow if there's no .flowconfigw0rp
2017-02-09Pass the buffer's filename to CredoJon Parise
By default, Credo attributes input from STDIN as though it came from a file named `stdin`. This change passes the buffer's filename, too, so that Credo can use that information when applying its configuration. This is a nice improvement because files like `mix.exs` are normally excluded from Credo-based linting. Previously, ALE would show lint warnings for those files as they were edited. Now, they are correctly honor the Credo configuration and don't produce lint output.
2017-02-09Merge pull request #306 from ahmedelgabri/standardjsw0rp
Add standard linter
2017-02-09add xo support (#304)Daniel Lupu
* add xo support * add documentation * Fix a screw up when fixing conflicts * Fix it harder
2017-02-09Merge pull request #295 from metakirby5/pr/coffeelint-localw0rp
Add support for locally installed coffee and coffeelint
2017-02-09Merge pull request #285 from medains/masterw0rp
Linter addition of PHP Mess Detector
2017-02-07Cover the Rust handler with some testsw0rp
2017-02-07try fixing go build (#297)Joshua Rubin
* try fixing go build * cache some system calls * fix /dev/null * use chained commands, use `go test -c` instead of `go tool compile` * fix some unescaped shell commands * fix a bug with explicitly setting GOPATH * implement changes requested in code review. handle errors from multiple files. fix issue when starting a new package * run `go env` as a job * ensure all functions return the proper type * fix loclist line numbers in some cases * remove multibuffer support for now
2017-02-07#256 Attempt to fix Rust linter issues againw0rp
2017-02-07#256 Attempt to fix Rust linter issuesw0rp
2017-02-06#289 Only use the --stdin-display-name flag if the flake8 version supports itw0rp
2017-02-06Merge pull request #307 from yous/rubocop-commentw0rp
Update comments for RuboCop pattern
2017-02-06Merge pull request #305 from notkild/masterw0rp
Fix rust linting with cargo when multiple targets are present
2017-02-06Fix rust linting with cargo when multiple targets are presentnotkild
2017-02-06Update comments for RuboCop patternChayoung You
2017-02-05Take the rubocop filename from the buffer number given to the functionw0rp
2017-02-05Merge pull request #299 from derekprior/dp-fix-rubocop-againw0rp
Fix Rubocop filename handling
2017-02-05Add standard linterAhmed El Gabri
2017-02-05Merge pull request #294 from tpict/masterw0rp
Add vint support for Neovim commands
2017-02-04Fix mypy error parsing when column numbers are included.w0rp
2017-02-04Fix #124 Finish implementing command chaining, and make it work for DMDw0rp
2017-02-03Fix Rubocop filename handlingDerek Prior
In my previous change, I updated the Rubocop linter to pass the filename to Rubocop. This change was tested on a file I expected Rubocop to ignore and the experience in vim was as I expected. However, I soon found that ALE wasn't finding errors in files that should not be ignored. After investigation, I found a few issues that this commit fixes: 1. We were not properly passing the current filename. We now use `expand` to get the filename. 2. The regular expression used in the callback was expecting the static value of `_` for the filename in output. We now use a looser regular expression that begins matching on the first `:`. 3. The linter was defined statically. By using the current filename when defining the command the linter would always use the filename of the first Ruby file the user opened. We now use a `command_callback` to inject the proper filename. I tested these changes on a configuration with included and excluded files and found it to work as I expected. Apologies for the earlier incorrect change.