summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-10doc: Add astyle entry to ALE c integrationjhlink
2020-07-10feat: Add astyle to fix/register.vimjhlink
2020-07-10feat: Add ALE fixer for astylejhlink
2020-07-08eslint: Use cwd from executable location to fix nested projects (#3222)Kevin Locke
* Split FindNearestExecutable from FindExecutable The path searching in ale#node#FindExecutable() will be useful for eslint. Refactor it into a separate function so it can be used without regard for the state of the _use_global and _executable variables. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * eslint: Set project root from local executable Using the nearest directory with node_modules does not work correctly for nested projects where the eslint dependencies are in the outer project. For example: https://github.com/dense-analysis/ale/issues/3143#issuecomment-652452362 Adopt the behavior of SublimeLinter, which runs from project_root determined by the presence of the eslint executable in node_modules/.bin (or eslint in dependencies/devDependencies of package.json, which we can add later as necessary). See [NodeLinter#find_local_executable]. [NodeLinter#find_local_executable]: https://github.com/SublimeLinter/SublimeLinter/blob/056e6f6/lint/base_linter/node_linter.py#L109 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-07-08Merge pull request #3223 from cspeterson/masterHoracio Sanson
Puppet handler regex fix, plus new test
2020-07-02Tests/puppet: add new test case for a heretofore unaccounted-for version of ↵Christopher Peterson
error message
2020-07-02Puppet handler: make error-parsing regex more robustChristopher Peterson
2020-07-01Run ESLint fixer from project root, where possible (#3096)Kevin Locke
* Split eslint#GetCdString from eslint#GetCommand Move the code for finding the project root and building the cd string into a separate function so that it can be reused in the eslint fixer. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * Run ESLint fixer from project root dir To match the ESLint linter, as changed in 9ee57d43 (which I forgot to apply to the fixer, whoops). Fixes: #3094 Closes: #3095 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-06-20Merge pull request #3158 from ulidtko/improve-dockerfile_lintHoracio Sanson
Improve :ALEDetail for dockerfile_lint [READY TO REVIEW]
2020-06-19Merge pull request #3172 from 0xMH/patch-1Horacio Sanson
More docs for beginners to use cloudformation linter
2020-06-11Update the internal ALE version to 2.7.0v2.7.0w0rp
2020-05-22Support revive for go files (#2933)Paco
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2020-05-19Merge pull request #3173 from nibocn/feat#javac-sourcepathHoracio Sanson
feat(javac): Add java_javac_sourcepath variable
2020-05-19refactor(javac): ale_java_javac_sourcepath variable defaults to StringNiBo
2020-05-19refactor(javac): ale_java_javac_classpath variable supports String and List ↵NiBo
types
2020-05-19refactor(javac): ale_java_javac_sourcepath variable supports String and List ↵NiBo
types
2020-05-15style(javac): Code formattingNiBo
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-15Added linter installing methodsMohamed hamza
2020-05-15Merge pull request #3077 from puritys/javaagentHoracio Sanson
To support javaagent on eclipselsp
2020-05-15More docs for beginners to use cloudformation linterNoNE
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-29Main logic of shellcheck has moved, updated backward compat testIan2020
2020-04-28Fix linting issue - indentation incorrectIan2020
2020-04-28Fix shell detection test, shellcheck function name has changedIan2020
2020-04-28Fix handler test, function name has changedIan2020
2020-04-28Moved common code to ale handlers, updated bats docIan2020
2020-04-28Fix documentation oversightsIan2020
2020-04-24Add shellcheck as linter for bats filesIan2020
2020-04-21Merge pull request #3117 from zoonfafer/vim-vimlsHoracio Sanson
Add vim-language-server linter support
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-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-18Merge pull request #3098 from tarikgraba/verilator-columnnw0rp
Adds column number to the verilator verilog linter
2020-04-18Fix the cursor tests, that stop tests runningw0rp
2020-04-18Broken message in pycodestyle (or any other Linters whose name include ↵Yuto
'code') (#3114) * Swap substitution order for echoed message This prevents 'code' string in liter_name to be substituted by accident. Linters including pycodestyle have been affected by this problem. * Add test for linter whose name contains 'code' Test for c525db8cb4088d02448c5ddcf4a80ffa028c3181
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-17Merge pull request #2681 from mynomoto/clj-kondo-cachew0rp
Use cache for clj-kondo linter
2020-04-17Merge pull request #2823 from jeremija/do-not-save-on-autoimportw0rp
Do not save after ALERename and ALEOrganizeImports
2020-04-17Merge pull request #3050 from StarryLeo/fix-vim-sign-priority-patch-checkHoracio Sanson
Fix vim sign priority patch check
2020-04-15Closes #3019 - Implement default navigationw0rp
Default navigation for commands that jump to new locations has been implemented with the `ale_default_navigation` variable, and all commands that jump to locations now support `-tab`, `-split`, or `-vsplit` arguments for overriding the default navigation behavior.
2020-04-09Move to rust-analyzer everywhereJon Gjengset
2020-04-09rust-analyzer server binary changed nameJon Gjengset
2020-03-26Fix code conventionpuritys