summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
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-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-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.
2016-12-22add go build for build errors (#180)dzhou121
* add go build for build errors * Add go build to doc and README * Improvement for Go build Go build works on package level, so copy over the other files that belong to the same package to the temp folder as well. * revert back to simple go build * change gobuild script var name
2016-12-22[enhancement] add node_modules support for stylelint & htmlhint (#226)diartyz
* Add node_modules support for stylelint * add node_modules support for htmlhint * fix stdin * update doc about stylelint & htmlhint
2016-12-22#193 Fix a parsing error for parsing errors with eslintw0rp
2016-12-16Elm file filter & Windows bug fixes (#223)Eric Lehner
* Filters out unrelated errors in Elm linter The function now filters out errors that are unrelated to the file, those that were found in imported modules. It does this by comparing the temp directory environment variable to the file name in the elm output. If the file begins with the temp directory, then it sould be included (it's from the buffer). * Changing output to '/dev/null' Turns out the compiler only accepts /dev/null as an ignorable name. It's hard-coded here https://github.com/elm-lang/elm-make/blob/master/src/Flags.hs Changing this allows Windows linting to work. Otherwise the compiler errors when using "nul" * Fixes for Windows Should now be able to successfully handle Windows. Windows seemed to not handle the ";" properly, so I switched it to "&&", which probably should've been done anyway to prevent false positives. Oddly, matchend(l:error.file, l:temp_dir), and various other regex solutions, couldn't properly match the two. Subsetting did though, hence the new solution. * Applying corrections Made the file check case-insensitive for Windows, case-sensitive for Unix/non-windows. Added comment explaining hard coding of 'dev/null' * Spelling correction * Minor corrections Actually uses the is_file_buffer variable now, added space between the if statements, and added space between '-'
2016-12-14Merge pull request #221 from rob-b/improve-formatting-of-haskell-lintersw0rp
Improve formatting of ghc and hlint haskell linters
2016-12-14Improve formatting of ghc and hlint haskell lintersRob Berry
For ghc, it seemed that the conditional ``` if l:corrected_lines[-1] =~# ': error:$' let l:line = substitute(l:line, '\v^\s+', ' ', '') endif ``` was never being reached. It's actually better to unconditionally collapse whitespace anyway and so I simply removed the conditional check. For hlint I added more information about the error. This changes the reported error from `Error:` to something like: ` Error: Avoid lambda. Found: \ x -> foo x Why not: foo`
2016-12-13Add support for Swift with swiftlint (#214)David Mohundro
* Add support for swift with swiftlint * Fix issue by adding '.swift' file extension
2016-12-13Fix the proeslint linter for plaintext filesw0rp
2016-12-13Add Elm linting via elm-make (#213)Eric Lehner
* Add support for Elm linting * Adding documentation for Elm * Adjusting spacing * Addressing concerns listed in pull request Removed the s:FindRootDirectory function as it does not make much sense in this context. Adjusted the rest of the code to handle the removal of that function, including using the ale#util function to find the nearest file. Ensured that when an empty filepath is found, the code does not attempt to change directories. Ensured that the linter would take from stdin using the wrapper.
2016-12-06add stylelint supportdiartyz
2016-12-05Fix proper extension handling for tslintKrystian Paszkiewicz
2016-12-04LaTeX Linters (#190)Andrew Balmos
* Add chktex linter * Alias plaintex to tex * Add lacheck linter Closes #179 * Add the chktex warning code This very useful to have when you want to suppress lint warnings with LaTeX comments. chktex tends to be a bit noisy so this often needed. * lacheck: Make regex less specific To be more robust future changes in `stdin-wrapper`
2016-12-04Add support for tslint.json file detection in tslint (#198)kyrisu
* Add support for tslint.json file detection in tslint * Fix tslint.json path building for tslint
2016-12-01Add options variable for ruby-rubocopPo Shan Cheah
2016-11-28Fix #188: Revert to and older version of the Haskell linter, which works betterw0rp
2016-11-28Add Proselint (#185)poohzrn
* Add Proselint - Markdown - Tex - Text * Use ale#handler#HandleUnixFormatAsWarning * Indentation
2016-11-25Add puppet linters (#183)Alexander "Ace" Olofsson
* Start adding Puppet linters * Use the correct output stream for puppet parser * Finish Puppet and puppet-lint linters * Add Puppet information to documentation
2016-11-23Add ocaml linter: merlin (#177)Andrey Popp
* Add ocaml linter: merlin * Add docs for ocaml-merlin integration. * Remove annoying error message from ocaml merlin linter * Update doc to list merlin linter
2016-11-21Flow linter improvements (#176)Andrey Popp
* Fix flow linter to provide filename of the buffer Related #173 * Fix flow linter not to fail on empty response * Various improvement to message parsing
2016-11-14Add g:ale_python_flake8_executable (#174)Marius Gedminas
* Add g:ale_python_flake8_executable Closes #172. * Add g:ale_python_flake8_args * Always add - to flake8 invocations
2016-11-10Merge pull request #170 from mkusher/typescript_typecheck_linterw0rp
Add typecheck linter for typescript
2016-11-10removed useless echom from typecheck.vimAleh Kashnikau
2016-11-10Add typecheck linter for typescriptAleh Kashnikau
2016-11-03flow linting should only happen on flow typed files.delianides
2016-11-01Added support for foodcriticEdward Larkey
Adding support the foodcritic linter for Chef files. Listing all issues as warnings for now Doesn't get in the way of rubocop linting if ft=ruby.chef Updated documentation Closes #127
2016-11-01Add FlowType support (#157)Zach Perrault
* Add `javascript/flow` linter * Add documentation for flow * Remove a line from the docs that was from eslint * Only run if flow gives output; Correct link in doc * Address PR feedback #157
2016-10-31Add support for clang for cmshr-h
2016-10-30Merge pull request #153 from keith/ks/shellcheckw0rp
Choose shell dialect based on vim syntax
2016-10-30Merge pull request #155 from deathmaz/feature/htmlhint-argsw0rp
Added options variable for htmlhint
2016-10-28Default stdin in htmlhint optionsdeathmaz
2016-10-27Choose shell dialect based on vim syntaxKeith Smiley
Shellcheck is smart enough to check the shebang in a given file to determine which dialect to use. Unfortunately this doesn't work for files without shebangs, even if it might be apparent what dialect should be used, such as "bashrc" or "foo.bash". Luckily `filetype.vim` defines specific vars based on which shell dialect is being used based on a huge list of conditions. With this change we take those into account for all the types shellcheck supports, otherwise we fallback to letting it try and decide.
2016-10-27Add pylint formatterKeith Smiley
This customizes the output format of pylint in order to use the same pep8 parser
2016-10-27Added optoins variable for htmlhintdeathmaz