summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2019-04-07#2132 - Implement feature tests with ale#Hasw0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-04-02Merge pull request #2340 from svanharmelen/svh/f-gotypew0rp
make `gotype` return all errors
2019-03-29PSScriptAnalyzer (#2370)Jesse Harris
* Added psscriptanalyzer * Added exclusions and documentation * Added PSScriptAnalyzer handler test
2019-03-25Merge pull request #2363 from davidsierradz/masterw0rp
support jsonlint local executable
2019-03-25Merge pull request #2378 from antew/feature/elm-lsp-linterw0rp
Elm: Support for elm-lsp
2019-03-25Use location of `composer.json` for PHP project path too (#2391)Shahin Sorkh
* move php-langserver "test for .git dir" test-project to its own directory * search for composer.json file in php-langserver first then .git dir * add test for php-langserver composer.json
2019-03-21Add support for elm-lspAntew
2019-03-15support jsonlint local executabledavidsierradz
2019-03-12make `gotype` return all errorsSander van Harmelen
When using `gotype` without the `-e` option, it will only output the first 10 errors. When working on a larger package that ofter means taht those 10 errors are in other files then the one that you are currently working on which then seems to indicate that there are no errors. By adding the `-e` flag, all errors will be returned and shown properly in the file that you are working on.
2019-03-11make options for credo configurable (#2337)Adam Trepanier
* Add credo --strict option If a user sets 'let g:ale_elixir_credo_strict=1' it will run credo with --strict instead of suggest. The default (0) is to run as suggest. * Added credo docs
2019-03-09linter/markdown: adds support for languatool (#2155)Vincent Dahmen
2019-03-06Merge pull request #2305 from campbellr/masterw0rp
javac: Don't assume src/main/java always exists
2019-03-05Add lsp_config support for rls (#2332)Nathan Henrie
* Add lsp_config for rls * Add working config example and test
2019-03-03javac: Don't assume src/main/java always existsRyan Campbell
Some projects I have only have src/test/java (no /src/main/java), which seemed to break some incorrect assumptions the linter had.
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2019-02-20Merge pull request #2303 from kevinoid/bandit-use-configw0rp
python/bandit: Use .bandit configuration file
2019-02-17python/bandit: Use .bandit configuration fileKevin Locke
Bandit automatically [uses any .bandit file] within the directories on which it is invoked. Since ALE invokes bandit on stdin, it does not load a .bandit file automatically. Add support for automatically finding a .bandit file and passing it to bandit via the --ini option along with a variable to disable this behavior if desired. Note: This is useful for the skips and tests configuration options, but not exclude which would require invoking bandit using a file name, which may or may not be a good trade-off. [uses any .bandit file]: https://github.com/PyCQA/bandit/blob/1.5.1/bandit/cli/main.py#L70-L73 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-17python/pylint: Change directory to project rootKevin Locke
Pylint only [checks for pylintrc] (and .pylintrc) files in the packages aboves its current directory before falling back to user and global pylintrc. For projects with a src dir, running pylint from the directory containing the file will not use the project pylintrc. Adopt the convention used by many other Python linters of running from the project root, which solves this issue. Add pylintrc and .pylintrc to FindProjectRoot. Update docs. [checks for pylintrc]: https://github.com/PyCQA/pylint/blob/pylint-2.2.2/pylint/config.py#L106 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-12pylama: Use %s instead of %tKevin Locke
Although using %t to lint changes was desirable, many pylama checks use surrounding paths and file contents (e.g. C0103 module name, E0402 relative import beyond top, etc.) The more such errors I find during testing, the less %t seems like a good idea. Switch to %s. Also set `lint_file` to 1 and mark Pylama as a file linter in the docs. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-11add project_root_callback for tsserver (#2290)Derek Sifford
* add project_root_callback for tsserver * add tests for tsserver project root * Update test/command_callback/test_javascript_tsserver_command_callback.vader
2019-02-10Merge pull request #2268 from m-pilia/alexw0rp
Add settings for the Alex linter
2019-02-10Support ale_sh_shellcheck_dialect to set dialectKevin Locke
As discussed in w0rp/ale#1051, there are cases where it would be useful to be able to specify the dialect explicitly. This commit allows users to do so using the ale_sh_shellcheck_dialect variable. Fixes: w0rp/ale#1051 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Complain about binary operators on the ends of linesw0rp
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-08Merge pull request #2284 from jqno/masterw0rp
Fixes javalsp linter
2019-02-07Fix #2276 - Replace a potentially infinite loop for hiew0rp
2019-02-07Fixes javalsp linterJan Ouwens
2019-02-06Make Cypher linter dynamicFrancisco Lopes
2019-02-06Merge pull request #2270 from oblitum/add-cypher-lintw0rp
linter/cypher: add cypher-lint
2019-02-06Update syntax checkingw0rp
* Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.
2019-02-03linter/cypher: add cypher-lintFrancisco Lopes
2019-02-02Add settings for the Alex linterMartino Pilia
The executable for the Alex linter is currently hard-coded as 'alex', which is an issue given the fact that it conflicts with the Haskell lexer generator, whose executable is also called 'alex', has been around a dozen years before the linter, and is packaged in the official repositories of the major Linux distributions. This commit adds options to use a local executable for the alex linter (which is a node package), and an option to set a custom executable. As side changes: * The pattern in the alex handler is made more readable by turnig it into a very-magic regex. * Alex handles plain text, markdown, and HTML. Specific flags for HTML and markdown are provided when instantiating the linters for the respective filetypes, while before those formats were treated as plain text.
2019-02-01Fix #2263 - detailed Flow errors should show the original messagew0rp
2019-01-27Set lint_file for the ameba linterw0rp
2019-01-27Add initial ameba (crystal linter) support (#2174)Harrison Bachrach
* Add initial ameba (crystal linter) support Note that this depends on saved file as `ameba` does not have STDIN support * Fix formatting of crystal linter documentation * Add tests for ameba executable customization
2019-01-27Merge pull request #2228 from Nomad145/ktlintw0rp
Add ktlint Fixer Support
2019-01-27Merge pull request #2225 from ravicious/masterw0rp
Pass --compiler flag to elm-test when linting 0.19 tests
2019-01-27Add textlint for tex (#2234)TANIGUCHI Masaya
2019-01-27SugarSS support from PR 1967 (#2219)Niclas Åhdén
* sugarss support + bonus naming Sass correctly * cleanup + alphabetic ordering
2019-01-27Merge pull request #2207 from pmacosta/masterw0rp
Fixed parsing of pydocstyle errors
2019-01-27Merge pull request #2215 from irwand/masterw0rp
support older flake8 output, still used by hacking module from openstack style guide
2019-01-27Merge pull request #2235 from erydo/stack-ghc-optionsw0rp
Add g:haskell_stack_ghc_options like …_cabal_ghc_…
2019-01-27Add VHDL Support & Newer Verilog Linters (#2229)John Gentile
* Added VHDL file support with ghdl compiler * Update ghdl.vim * Create vcom.vim * Create xvhdl.vim * Update xvlog.vim * Added documentation for VHDL & Verilog linters * Added tests to VHDL & Verilog linters
2019-01-26Merge pull request #2250 from m-pilia/banditw0rp
Add bandit linter for Python
2019-01-26#2132 Unify temporary file management in command.vimw0rp
2019-01-26Add bandit linter for PythonMartino Pilia
2019-01-22Add haskell_stack_ghc_options like …_cabal_ghc_…Robert Estelle
Adds new option `g:haskell_stack_ghc_options` which passes options to `stack ghc`. This is implemented similiarly to `g:haskell_cabal_ghc_options`.
2019-01-20Add support for pyls configuration optionsyut23
Resolves #1443. Heavily inspired by the analogous support added for elixir-ls.
2019-01-20Add ktlint fixer support.Michael Phillips