summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2020-01-31Add sql-lint as linterJoe Reynolds
2020-01-02Fix the buildw0rp
2020-01-02Fix #2704 - Show mypy notes; can be disabledw0rp
2019-11-26Fix 2891 - eslint not showing errors.Horacio Sanson
ESLint errors are contained in an array that can contain different stuff other than JSON error messages. This patch iterates over the whole array ignoring any non-json data.
2019-11-07Merge pull request #2887 from tamago324/add-nimcheck-end_col-optionsw0rp
Add nimcheck end_col options
2019-11-07Merge pull request #2617 from robindar/masterw0rp
Fix crystal-lang non file-tied message handling
2019-11-07Add nimcheck end_col optionstamago324
nimcheck
2019-10-11Fix crystal-lang non file-tied message handlingDavid A. R. Robin
Some messages of the crystal compiler are not tied to a file. This causes a 'Key not present in Dictionnary' error (E716). For the record, the json output on ```require "./nonexistent.cr"``` is the following : ```json [ { "file":"/tmp/file.cr", "line":1, "column":1, "size":0, "message":"while requiring \"./nonexistent.cr\"" }, { "message":"can't find file './nonexistent.cr' relative to '/tmp'" } ] ``` The second message does not have line/column attributes.
2019-10-07fix tflint handler for 0.11+ (#2775)Jérôme Foray
* fix tflint handler for 0.11+ * fixup! fix tflint handler for 0.11+ * maintain compatibility with previous tflint output format * fixup! maintain compatibility with previous tflint output format * Add comment about tflint's output format accross versions
2019-10-07Merge pull request #2813 from werneta/masterw0rp
Update vlog parser to handle new output format
2019-10-07Merge pull request #2694 from elebow/add-ruby-debridew0rp
Add ruby debride (closes #2471)
2019-10-05Add test for new vlog formatThomas A. Werne
2019-09-20Merge pull request #2691 from elebow/mdl-use-json-outputw0rp
mdl: Use JSON output instead of parsing text
2019-09-19Add support for `solc` Solidity compiler (#2648)Karl Bartel
* Add support for `solc` Solidity compiler * Set default value for `solidity_solc_options` * Add test for solc handler
2019-09-12Merge pull request #2693 from elebow/chmod-remove-xw0rp
Remove +x bit from some files that don't need it.
2019-08-31linter/sh: Improve parsing of error messages in different localesJeffrey Lau
Fixes #2687
2019-08-18mdl: Use JSON output instead of parsing textEddie Lebow
Also add test coverage for the mdl handler.
2019-08-13debride: Add debride linter (closes #2471)Eddie Lebow
2019-08-13Remove +x bit from some files that don't need it.Eddie Lebow
2019-07-02Support csc, update mcsc (#2586)hernot
* Added a new csc linter for C# code. * More output is now handled for mcsc.
2019-06-19Handle powershell unexpected token with newline (#2588)Jesse Harris
* Newline in unexpected token broke parser * fixed test to properly capture regressions * removed deprecated linter options for powershell
2019-06-08Merge pull request #2559 from nerdrew/rust-cargo-rendered-detailw0rp
show rendered cargo error in detail for clippy errors
2019-06-08Merge pull request #2551 from laino/eslint-jsonw0rp
Use JSON output for ESLint and fix tsserver column
2019-06-05Fix #2525 - Convert Windows paths in a Unix environmentw0rp
2019-06-04show rendered cargo error in detailAndrew Lazarus
2019-06-03Fix #1279 - Run cppcheck differently when modifiedChristoph Koehler
cppcheck is now run without the --project option and from the buffer's directory instead when the buffer has been modified. Saving the buffer will get results by linting the project instead.
2019-06-02Use JSON output for eslint and fix tsserver columnNils Kuhnhenn
2019-05-29Merge pull request #2529 from maxwell-k/terraform_linterw0rp
Add a terraform linter
2019-05-28Fix java checkstyle handler.Horacio Sanson
The checkstyle handler is capable of parsing the new and old output formats. Unfortunately there are some particular output messages that matched both the new and old regular expressions: [WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround] This caused ALE to report extra errors since the message was being matched twice, once as a warning and another (incorrect) old formatted error. This MR fixes this by stopping any parsing using the old format regexp is any errors of the new format are correcly parsed. There is no reason to expect checkstyle to output both styles in the same report.
2019-05-23Add a terraform linterKeith Maxwell
This linter uses the check functionality built into terraform. ALE already has a fixer using `terraform fmt` but this doesn't provide error messages. ALE already has a linter using `tflint` but this requires an extra application to be installed. For example this linter will give a warning that ! is an illegal character in the line below: variable "example" !{} This linter runs the buffer through the command below and parses the output: terraform fmt -no-color -check=true - This commit includes a basic implementation, documentation and tests. The only option is to control which executable is run. Tested with: $ terraform -version Terraform v0.11.13
2019-05-20Close #2516 - Handle problems with inlined functionsw0rp
2019-05-19Add support for Erlang dialyzer (#2509)Antoine Gagné
* Add support for Erlang dialyzer * Add an option to specify rebar3 profile In doing so, the use of the `**` wildcard becomes unnecessary.
2019-05-14Close #908 - Report phpcs problems as style problemsw0rp
2019-05-13Close #791 - Handle exceptions for puglintw0rp
2019-05-12Make eslint respect the ale_warn_about_trailing_whitespace settingw0rp
2019-05-09Add option to show msg id when pylint is used (#2445)Katsuya Horiuchi
* Add python_pylint_use_msg_id to tweak output of pylint * Add test for ale_python_pylint_use_msg_id * Add doc on ale_python_pylint_use_msg_id
2019-05-08Merge pull request #2134 from oaue/masterw0rp
javac linter: fix handling of error messages containing ':' character
2019-05-01Better phpstan default configuration (#2444)Julien Deniau
* Use phpstan config file as default whenever possible + report as error
2019-04-13Merge pull request #2394 from harttle/masterw0rp
feat: fecs support for js/html/css lint and format
2019-04-13Linter for powershell syntax errors (#2413)Jesse Harris
* Linter for powershell syntax errors
2019-04-11feat: fecs support for js/html/css lint and formatharttle
`fecs` is a lint tool for HTML/CSS/JavaScript, see http://fecs.baidu.com for more options.
2019-04-10Add a linter for clojure using clj-kondo (#2377)Masashi Iizuka
2019-04-10Adding new linter "cookstyle" for chef recipes (Issue #1187) (#2362)Raphael Hoegger
2019-03-29#2395 - Handle empty output for redpenw0rp
2019-03-29PSScriptAnalyzer (#2370)Jesse Harris
* Added psscriptanalyzer * Added exclusions and documentation * Added PSScriptAnalyzer handler test
2019-03-09linter/markdown: adds support for languatool (#2155)Vincent Dahmen
2019-03-02set correct Rust span end columnJean Mertz
The Rust compiler returns the first column that is _not_ part of the current span as `column_end`, while Ale expects `end_col` to signify the last column of the span.
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-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-03linter/cypher: add cypher-lintFrancisco Lopes