Bartek thindil Jasicki
e06060a31f
Merge remote-tracking branch 'upstream/master'
2020-07-24 10:38:29 +02:00
w0rp and GitHub
68b484a49f
Merge pull request #2914 from hsanson/2913-fix-checkstyle-config-with-options
...
Fix 2913 - checkstyle config file ignored.
2020-07-21 12:49:55 +01:00
w0rp and GitHub
f31182beee
Merge pull request #3060 from hsanson/345-update-javalsp-documentation
...
Fix 345 - update java language server docs.
2020-07-21 12:48:57 +01:00
w0rp and GitHub
f4668c751f
Merge pull request #3070 from hsanson/2732-add-bashate-support
...
Fix 2732 - Add bashate support
2020-07-21 12:47:33 +01:00
w0rp and GitHub
70ab831001
Merge pull request #3119 from hsanson/2269-ktlint-stdin-support
...
Fix 2269 - use ktlint stdin.
2020-07-21 12:45:26 +01:00
w0rp and GitHub
c1c3bd9227
Merge pull request #3137 from hsanson/3132-fix-eclipselsp-command
...
Fix eclipselsp command function.
2020-07-21 12:43:28 +01:00
Horacio Sanson and GitHub
54aeeec97f
Merge pull request #3225 from markeganfuller/puppet_parser_error_at_end
...
Handling for puppet parser error at end of input.
2020-07-15 21:08:42 +09:00
Mark Egan-Fuller
d38b92c957
Handling for puppet parser error at end of input.
...
Add handling for `Syntax error at end of input` which doesn't give a
line or column.
Fixes #2656
2020-07-15 12:10:34 +01:00
Horacio Sanson and GitHub
26571fa050
Merge pull request #3232 from CherryMan/master
...
Zig support using zls.
2020-07-11 11:40:52 +09:00
Sheheryar Parvaz
23c58e63d4
Support zls language server for zig
2020-07-10 22:33:37 -04:00
Kevin Locke and GitHub
106c27644b
eslint: Use cwd from executable location to fix nested projects ( #3222 )
...
* 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-08 14:42:01 +01:00
Horacio Sanson and GitHub
fd399c527f
Merge pull request #3223 from cspeterson/master
...
Puppet handler regex fix, plus new test
2020-07-08 22:24:28 +09:00
Christopher Peterson
1fcb9d1e1a
Tests/puppet: add new test case for a heretofore unaccounted-for version of error message
2020-07-02 12:44:39 -04:00
Christopher Peterson
9b8ec86d7f
Puppet handler: make error-parsing regex more robust
2020-07-02 12:42:44 -04:00
Bartek thindil Jasicki
0f45d3d01d
Merge remote-tracking branch 'upstream/master'
2020-07-02 10:11:30 +02:00
Kevin Locke and GitHub
b3c6db173a
Run ESLint fixer from project root, where possible ( #3096 )
...
* 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-07-01 17:00:21 +01:00
Horacio Sanson and GitHub
834d6f9c48
Merge pull request #3158 from ulidtko/improve-dockerfile_lint
...
Improve :ALEDetail for dockerfile_lint [READY TO REVIEW]
2020-06-20 20:58:42 +09:00
Horacio Sanson and GitHub
4f25498806
Merge pull request #3172 from 0xMH/patch-1
...
More docs for beginners to use cloudformation linter
2020-06-19 22:26:45 +09:00
w0rp
1428c7b29e
Update the internal ALE version to 2.7.0
v2.7.0
2020-06-11 19:21:17 +01:00
Bartek thindil Jasicki
a5e7f2c8bb
Merge remote-tracking branch 'upstream/master'
2020-06-07 09:26:06 +02:00
Paco and GitHub
7265ceb6d0
Support revive for go files ( #2933 )
...
Signed-off-by: Penghui Liao <liaoishere@gmail.com >
2020-05-22 06:09:14 -05:00
Horacio Sanson and GitHub
7ff87a942b
Merge pull request #3173 from nibocn/feat#javac-sourcepath
...
feat(javac): Add java_javac_sourcepath variable
2020-05-19 22:51:42 +09:00
NiBo
0b5d72fecd
refactor(javac): ale_java_javac_sourcepath variable defaults to String
2020-05-19 11:25:54 +08:00
NiBo
e61e1147b0
refactor(javac): ale_java_javac_classpath variable supports String and List types
2020-05-19 10:43:16 +08:00
NiBo
ff6bfc3d37
refactor(javac): ale_java_javac_sourcepath variable supports String and List types
2020-05-19 10:41:35 +08:00
NiBo
3635285c02
style(javac): Code formatting
2020-05-15 11:21:00 +08:00
NiBo
3b4193175e
feat(javac): Add java_javac_sourcepath variable
...
This variable can set multiple source code
paths, the source code path is a relative
path (relative to the project root directory)
2020-05-15 10:48:03 +08:00
Mohamed hamza
6b8f08f7fc
Added linter installing methods
2020-05-15 03:40:46 +02:00
Horacio Sanson and GitHub
69d96aa9d9
Merge pull request #3077 from puritys/javaagent
...
To support javaagent on eclipselsp
2020-05-15 10:12:25 +09:00
NoNE and GitHub
345daf683b
More docs for beginners to use cloudformation linter
2020-05-15 00:35:15 +02:00
Horacio Sanson and GitHub
c2b01f0e28
Merge pull request #3134 from Ian2020/master
...
Add shellcheck as linter for bats files
2020-05-09 11:24:55 +09:00
Ian2020
ca97f32258
Use a function to define shellcheck linters and vars needed, fixes tests
2020-05-08 12:55:54 +01:00
max ulidtko
c0d74b8094
Fix style and test
2020-05-06 14:05:39 +03:00
max ulidtko
5f4103fb35
Improve :ALEDetail for dockerfile_lint
...
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-06 13:07:08 +03:00
RyanSquared
70005134e5
Merge branch 'rust-analyzer' of https://github.com/jonhoo/ale into jonhoo-rust-analyzer
2020-05-05 09:21:49 -05:00
Ian2020
65bea1a5cb
Main logic of shellcheck has moved, updated backward compat test
2020-04-29 17:45:16 +01:00
Ian2020
716f9a9bbb
Fix linting issue - indentation incorrect
2020-04-28 20:53:42 +01:00
Ian2020
f67cb56e5e
Fix shell detection test, shellcheck function name has changed
2020-04-28 18:20:10 +01:00
Ian2020
3f34265151
Fix handler test, function name has changed
2020-04-28 18:13:34 +01:00
Ian2020
d4e1c57026
Moved common code to ale handlers, updated bats doc
2020-04-28 17:46:15 +01:00
Ian2020
76cd6b0f92
Fix documentation oversights
2020-04-28 16:02:46 +01:00
Horacio Sanson
e641fe0c5d
Fix eclipselsp command function.
...
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-25 15:21:09 +09:00
Ian2020
47d941b491
Add shellcheck as linter for bats files
2020-04-24 11:39:45 +01:00
Horacio Sanson and GitHub
36e5337e30
Merge pull request #3117 from zoonfafer/vim-vimls
...
Add vim-language-server linter support
2020-04-21 13:36:57 +09:00
Jeffrey Lau
60d683da3b
Add vim-language-server linter support
2020-04-21 02:29:22 +08:00
w0rp and GitHub
d2934ba017
Merge pull request #3121 from zoonfafer/scala-metals
...
linter/scala/metals: Fix return value of GetProjectRoot()
2020-04-20 17:39:48 +01:00
36b50058bb
Add terraform-lsp integration ( #2758 )
...
* 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-20 16:02:31 +01:00
Horacio Sanson and GitHub
3281321d5c
Merge pull request #3027 from ndtho8205/fix-kotlinc-stderr
...
Fix 3011 - not catching kotlinc output on stderr
2020-04-19 18:55:47 +09:00
Jeffrey Lau
e0181f8832
linter/scala/metals: Fix return value of GetProjectRoot()
...
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-18 19:51:31 +08:00
w0rp and GitHub
64b9a2708d
Merge pull request #3098 from tarikgraba/verilator-columnn
...
Adds column number to the verilator verilog linter
2020-04-18 12:36:16 +01:00