summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
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.
2017-02-02add support for locally installed coffeeEthan Chan
2017-02-02add support for locally installed coffeelintEthan Chan
2017-02-02Add --enable-neovim flag to vint when appropriatetpict
2017-02-01Linter addition of PHP Mess Detectormedains
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