summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2020-05-15feat(javac): Add java_javac_sourcepath variableNiBo
This variable can set multiple source code paths, the source code path is a relative path (relative to the project root directory)
2020-05-15Merge pull request #3077 from puritys/javaagentHoracio Sanson
To support javaagent on eclipselsp
2020-05-09Merge pull request #3134 from Ian2020/masterHoracio Sanson
Add shellcheck as linter for bats files
2020-05-08Use a function to define shellcheck linters and vars needed, fixes testsIan2020
2020-05-06Fix style and testmax ulidtko
2020-05-06Improve :ALEDetail for dockerfile_lintmax ulidtko
1. The often longish `description` moved away from (supposedly short) statusline `message` into the `detail` section. 2. dockerfile_lint sends `reference_url` pointing to issue explanations. Use that.
2020-05-05Merge branch 'rust-analyzer' of https://github.com/jonhoo/ale into ↵RyanSquared
jonhoo-rust-analyzer
2020-04-29Add Apple's swift-format as a linterKlaas Pieter Annema
2020-04-28Moved common code to ale handlers, updated bats docIan2020
2020-04-25Fix eclipselsp command function.Horacio Sanson
Changes in eclipselsp and java caused the command needed to run the language server fail to build properly. Thi PR fixes those issues.
2020-04-24Add shellcheck as linter for bats filesIan2020
2020-04-21Add vim-language-server linter supportJeffrey Lau
2020-04-20Merge pull request #3121 from zoonfafer/scala-metalsw0rp
linter/scala/metals: Fix return value of GetProjectRoot()
2020-04-20Add terraform-lsp integration (#2758)Oliver Ford
* Add terraform-lsp integration https://github.com/juliosueiras/terraform-lsp * Add tests & docs for terraform-lsp integration terraform_langserver_options setting added to send custom flags to terraform-lsp. Vader tests have been added to test custom executable, custom flags, and finding the project root. All tests pass. Initial documentation has been added for the above. Resolves dense-analysis/ale#2758, juliosueiras#57 * Fix tag alignment Co-authored-by: = <Aubrey.S.Lavigne@gmail.com> Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-04-19Merge pull request #3027 from ndtho8205/fix-kotlinc-stderrHoracio Sanson
Fix 3011 - not catching kotlinc output on stderr
2020-04-18ccls: Detect build dir and set compilationDatabaseDirectoryTomas Janousek
Fixes #2621
2020-04-18linter/scala/metals: Fix return value of GetProjectRoot()Jeffrey Lau
It was returning 0 when it should be returning an empty string. The 'AssertEqual' in the ale image is from an old version so it does not check the types of the arguments. This is already fixed in https://github.com/junegunn/vader.vim/commit/427fe19104c15066e4c1d5d385076e8e07a0dee8 Closes #3120
2020-04-18Adds column number to the verilator verilog linterTG
Since version 4.032 (04/2020) verilator linter messages also contain the column number, and look like: %Error: /tmp/test.sv:3:1: syntax error, unexpected endmodule, expecting ';' To stay compatible with old versions of the tool, the column number is optional in the researched pattern regular expression. See commit: https://github.com/verilator/verilator/commit/81c659957e89f28861fde870f000cce2d5f76729
2020-04-18Fix 2269 - use ktlint stdin.Horacio Sanson
Use stdin flag instead of temporary files. This allows ktlint to work with .editorconfig files.
2020-04-17Merge pull request #2681 from mynomoto/clj-kondo-cachew0rp
Use cache for clj-kondo linter
2020-04-09rust-analyzer server binary changed nameJon Gjengset
2020-04-02add stdin option for supported vint versionsTim Bedard
2020-03-26Fix code conventionpuritys
2020-03-26To support javaagent on eclipselsppuritys
2020-03-23Fix 2732 - Add bashate supportHoracio Sanson
2020-03-17Avoid overriding parsed C/C++ -std=* flagAlex Wang
ALE appends flags from {c,cpp}_{clang,gcc}_options after those found by parsing compile_commands.json or Makefile output. If -std=* flags are present in both the ALE flags and parsed flags, the last one present (i.e., ALE's -std=* flag) will determine the mode the compiler works in. This can result in errors showing up in vim but not in the actual build or vice-versa. For example, say you have foo.cpp: #include <type_traits> int main() { return std::is_same_v<float, int>; } If cpp_clang_options contains -std=c++17 and -std=c++14 is parsed from compile_commands.json, then ALE would end up running something like: clang++ -S -x c++ -fsyntax-only -std=c++14 -std=c++17 - < foo.cpp This would result in no errors showing up in Vim, but the actual build would fail with: <stdin>:3:14: error: no template named 'is_same_v' in namespace 'std'; did you mean 'is_same'? return std::is_same_v<float, int>; ~~~~~^~~~~~~~~ is_same /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:872:61: note: 'is_same' declared here template <class _Tp, class _Up> struct _LIBCPP_TEMPLATE_VIS is_same : public false_type {}; ^ <stdin>:3:35: error: expected '(' for function-style cast or type construction return std::is_same_v<float, int>; ~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2 errors generated. as the actual build would not have the -std=c++17 flag added by ALE. If cpp_clang_options contains -std=c++14 and -std=c++17 is parsed from compile_commands.json, then the opposite problem would occur. ALE would end up running something like: clang++ -S -x c++ -fsyntax-only -std=c++17 -std=c++14 - < foo.cpp and would show an error on line 3 of foo.cpp: [clang] No template named 'is_same_v' in namespace 'std'; did you mean 'is_same'? (fix available) The actual build, on the other hand, would succeed without any complaints. Removing -std=* from ALE's flags if it is already present in the parsed flags ensures that the wrong -std=* flag is not used. An alternative would have been to switch the order in which parsed flags and ALE flags were concatenated when producing the command to execute, but that could prevent a user from intentionally using ALE's flags to override some other flags, e.g. -W* flags to enable/disable warnings in a project whose flags are not under the developer's control. -std=* flags are also present in cuda/nvcc.vim, objc/clang.vim, objcpp/clang.vim, and vhdl/ghdl.vim, but none of those linters appear to parse compile_commands.json or `make` output.
2020-03-06Fix 3011 - not catching kotlinc output on stderrTho Nguyen Duc
2020-01-31Add sql-lint as linterJoe Reynolds
2020-01-02Merge pull request #2908 from af/patch-1w0rp
Fix for incorrect eslint output parsing for graphql files
2020-01-02Mypy: try to find folder containing mypy.ini to use as cwd. (#2385)Harry Percival
* When deciding which directory to run mypy from, prefer a folder with mypy.ini in it * Add a test for mypy.ini-finding behaviour
2020-01-02Fix #2704 - Show mypy notes; can be disabledw0rp
2019-12-19allow passing custom options to markdownlintdavidsierradz
2019-12-05verilog: Add filename to vlog linter outputpatrick96
2019-11-27Fix 2913 - checkstyle config file ignored.Horacio Sanson
If checkstyle is configured with custom options that contain "-c" then the checkstyle config file option is ignored. This PR modifies the regular expression when creating the checkstyle command to avoid this.
2019-11-24Fix for incorrect eslint output parsing for graphql filesAaron Franks
The output is configured to be JSON, but the handler was parsing it as 'lines'
2019-11-23shell: Make description more accurateEddie Lebow
The shell linter does more than just bash.
2019-11-14Merge pull request #2660 from YPCrumble/masterw0rp
Add StandardJS linter for TypeScript
2019-11-09Default errorview in pwsh7 now conciseJesse Harris
2019-11-07Merge pull request #2887 from tamago324/add-nimcheck-end_col-optionsw0rp
Add nimcheck end_col options
2019-11-07Revert "Add definition of c/clangd's language as C (#2791)"w0rp
This reverts commit f4070f6c43b3cb2e7463d8426a68d5a726991288.
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-29Merge pull request #2819 from greg0ire/psalm_extra_optionsw0rp
Add the possiblity to add extra psalm options
2019-10-28Merge pull request #2700 from elebow/clangcheck-no-color-diagnosticsw0rp
clangcheck: Add -fno-color-diagnostics (closes #2188)
2019-10-21Allow the use of StandardX for StandardJS linting and fixing.Ian Campbell
See https://github.com/standard/standardx
2019-10-21Add StandardJS for TypeScript linting and fixing.Ian Campbell
2019-10-18Make more names match upJon Gjengset
2019-10-17Merge remote-tracking branch 'murfalo/clangd-compile-commands'w0rp
2019-10-17Add support for nimlsp (#2815)Jerko Steiner
* Add support for nimlsp.vim * Add test and docs for nimlsp * Add nimlsp to supported-tools.md * Add nimlsp to doc/ale-supported-languages-and-tools.txt
2019-10-17Add definition of c/clangd's language as C (#2791)João Borges
* Add definition of c/clangd's language as C * Update tests for clangd to be called with '-x c' * Change to use single quotes instead of double quotes