summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
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-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.
2017-02-02Add --enable-neovim flag to vint when appropriatetpict
2017-02-01Tell gcc to use C, not C++, when linting C source filesEinfachToll
A regression bug introduced with PR #232 Ref #278
2017-01-30Dockerfile linting via hadolint (#282)Łukasz Jan Niemier
* Add hadolint linter for Dockerfiles * Fix path * Fix typo * Update docs
2017-01-27Enable Rubocop to exclude files based on configDerek Prior
When using `--stdin`, Rubocop requires that you also pass the associated file name. ALE was previously passing `_` as the filename. By passing the actual relative path to the file and enabling the `--force-exclusion` option, we can get Rubocop to respect excluded files in the configuration. Closes #197
2017-01-22Add a script for custom checks to enforce using the abort flag for functions ↵w0rp
and trailing whitespace, and fix existing issues.
2017-01-22Make the Erlang linter code match the style used in the rest of the ↵w0rp
codebase. Make the options match the new standard.
2017-01-22Add erlc lint for Erlang (#248) (#255)Magnus
* Add erlc lint for Erlang (#248) * Ignore certain errors in Erlang .hrl files (#248) A .hrl file does not need to have a -module definition. Additionally, it is common to have unused elements in such a file, as the entities will be used in a file including the header. * Address change requests to Erlang linter
2017-01-20Improve mypy handling a little bit morew0rp
2017-01-19REVERT "Fix some naming conventions and use abort for all Rust functions, ↵w0rp
and disable the rust linters for now, re #256" This reverts commit f412b4f96fa49f4ed856db25c10bdf4b9c2e4cec. Conflicts: doc/ale.txt
2017-01-19Merge pull request #262 from KenjiTakahashi/fix_swiftlintw0rp
Fix SwiftLint
2017-01-18Fix using variable g:ale_python_mypy_options that was not definedAswin
2017-01-17Fix SwiftLintKenjiTakahashi
1. Should be defined for 'swift' files, not 'swiftlint'. 2. Use `--use-stdin` option instead of the stdin-wrapper.
2017-01-15Document the mypy options, and fix spacing issues, largely in the documentationw0rp
2017-01-15Merge pull request #237 from keith/ks/mypy-linterw0rp
Add python mypy support
2017-01-15Rename pylint _args variables to _options variablesw0rp
2017-01-15Merge pull request #243 from SabatierBoris/masterw0rp
Add options for pylint linter
2017-01-15Support C# linting with mono compiler mcs. (#250)Junfeng Li
* Support netcore project linting. * Support check on the fly. * Remove debug. * Rename csc.vim to mcs.vim as it should be. * Update README. * Update doc. * Using `=~#` instead of `=~`.
2017-01-15Improve Verilator support (#205) (#258)Masahiro H
* improve-verilator-support * fix for linter
2017-01-13Add executable and arguments options for pylint linterSABATIER Boris
2017-01-13Fix some naming conventions and use abort for all Rust functions, and ↵w0rp
disable the rust linters for now, re #256
2017-01-12Prefix mandatory flake8 arguments with extra spaces so they will always workw0rp
2017-01-12Fix #175 - Fix the error types for rubocopw0rp
2017-01-12Add support for Rust using rustc and cargo (#230)EinfachToll
* Add rustc checker for rust files * Add documentation for rustc * Use a nice helper function * Add cargo as linter * Complete the doc for rust linters * Put l: in front of every local variable * Apply the requested stylistic changes
2017-01-12Merge pull request #245 from zefei/add-eslint-optionsw0rp
Add eslint option to pass in more options
2017-01-05added eslint option to pass in more optionsZefei Xuan
2017-01-04Added hack linter for php (#239)Zefei Xuan
* added hack linter * updated docs for hack (hh_client) * naming
2017-01-04Merge pull request #244 from icgood/fix-perlcritic-typo-exceptionw0rp
Fix typo in perlcritic linter dictionary
2017-01-04Merge pull request #236 from Chronial/patch-1w0rp
Pass file name to flake8
2017-01-03Fix typo in perlcritic linter dictionaryIan Good
The linter validation logic was checking for `stdout`, `stderr`, or `both`, resulting in an exception being thrown when loading the perlcritic linter.
2016-12-30Add python mypy supportKeith Smiley
This adds support for the official optional python typechecker.
2016-12-30Pass file name to flake8Chronial
2016-12-28Fix PHP lint generic error without line numberstill-dreaming-1
This makes php output more specific error messages. The format is the normal one ALE expects, but on some systems ALE does not work with PHP unless the display_errors=1 option is used. Without that option php will only output a generic message without a line number like "Errors parsing index.php"
2016-12-26Merge pull request #232 from grzebiel/masterw0rp
Added ability to reload compilation flags for c and c++
2016-12-24Added ability to reload compilation flags for c and c++ after loading plugingrzebiel
2016-12-23Redirect go build output to /dev/nullHeyward Fann
Named file file will be created after ALE, this can redirect the output to /dev/null if go build failed.