Bartolomeo Stellato
8bf5d144ed
Started adding julia languageserver
2018-08-30 15:40:04 -04:00
Cyril Roelandt
244c5a8ce5
gitcommit: fully implement warn_about_trailing_whitespace
...
Fixes #1761
2018-08-30 03:42:44 +02:00
w0rp
ea01cc708b
Merge pull request #1865 from TheLocehiliosan/puppet-options
...
Support options for puppet parser validate
2018-08-29 14:22:01 +01:00
Tim Byrne
ed26ddc09c
Always use --color=false when validating puppet
...
Colorized output is difficult for ALE to parse.
2018-08-29 07:15:03 -05:00
w0rp
d4ce201cc2
Merge pull request #1849 from hsanson/1848-add-support-for-java-lsp
...
Add vscode-java-language-server linter
2018-08-28 22:53:11 +01:00
Tim Byrne
192f211a0e
Support options for puppet parser validate
...
It can be necessary to pass options to the puppet parser validation. The
most glaring example of this is when using Puppet 3, with the
`parser = future` option enabled. This update allows adding
`--parser=future` to the options passed to Puppet.
2018-08-27 12:59:38 -05:00
Horacio Sanson
1980245b94
Add solargraph LSP linter.
2018-08-27 10:58:17 +09:00
Horacio Sanson
261c29c3d0
Add vader test and fix command callback.
2018-08-26 22:11:36 +09:00
w0rp
adc038f327
Merge pull request #1839 from filipekiss/feature/stylelint-inline-css
...
Add Stylelint as HTML Linter
2018-08-24 13:20:37 +01:00
fenuks
9d7c48038c
Add clazy as cpp linter
2018-08-24 10:52:33 +01:00
w0rp
08d141edfb
Fix #1844 - Make the kotlin languageserver linter work again
2018-08-24 10:41:33 +01:00
Horacio Sanson
3afff5a24c
Add vscode-java-language-server linter
2018-08-24 16:28:15 +09:00
w0rp
81d0eccfab
Merge pull request #1835 from barreyra/master
...
Enabling clangd for cpp, objc and objcpp
2018-08-23 22:54:11 +01:00
w0rp
7c10249c52
Merge pull request #1820 from SuRaMoN/master
...
Added phpcs options support as described in #257
2018-08-23 22:42:45 +01:00
Bruno R. Barreyra
795122a042
Enabling clangd for cpp, objc and objcpp
2018-08-23 05:58:06 +02:00
Martin Tournoij
18ec66bd21
Remove "go env" from gobuild linter
...
I see no reason to do this? It is just setting the environment to what
it already is?
It was originally added in #297 , but that entire PR is not a great idea
in the first place; that PR (together with #270 ) tried to make the Go do
non-standard and non-supported stuff like compiling packages outside of
GOPATH.
That's not something that works well (I tried), so was eventually
removed in #465 , but these "go env" calls remained, for no reason in
particular, as far as I can think of.
This will improve on #1834 ; you will now no longer get a confusing error
(but still won't get a meaningful error; need to think how to do that).
2018-08-23 00:42:19 +01:00
Filipe Kiss
4cd20b821f
Add html stylelint linter
2018-08-22 19:00:41 -03:00
matthias
f82ab76833
Added and fixed tests
2018-08-18 20:59:35 +02:00
matthias
02fdfcda58
Added phpcs options support as described in #257
2018-08-16 16:44:41 +02:00
tyru
88ffdb4736
feat: add ale_go_govet_options variable
2018-08-16 11:36:46 +09:00
w0rp
a88a6d5285
Merge pull request #1806 from jimenezrick/fix-rustc-linter
...
Fix #1684 : Use the correct flag name in rustc linter
2018-08-12 09:41:36 +01:00
Ricardo Catalinas Jiménez
db003a4361
Fix #1684 : Use the correct flag name in rustc linter
...
The rust compiler renamed the option '-Z no-trans' to '-Z no-codegen'.
https://github.com/rust-lang/rust-enhanced/issues/281
2018-08-10 21:50:52 +01:00
kodemeister
0702e4699e
Add blank lines to conform the coding standards
2018-08-09 09:06:30 +06:00
kodemeister
212e3b0b2f
Use .cquery file to detect the project root
2018-08-07 01:39:04 +06:00
David Hotham
d0e3302253
Add support for yang-lsp
2018-08-03 21:13:48 +01:00
w0rp
209cd54783
Fix #1781 - Fix me breaking the tsserver linter
2018-08-03 17:22:09 +01:00
w0rp
fefb8efff8
Merge pull request #1778 from fredemmott/hhast-perf
...
Tell HHAST to only look at open files
2018-08-03 09:12:12 +01:00
w0rp
73d8c3b80a
Only run the custom ALE linting script if it's in runtimepath
2018-08-03 00:56:49 +01:00
w0rp
65880fec78
Add a linter for checking ALE code itself
2018-08-03 00:42:15 +01:00
w0rp
217284360d
Simplify the code for most linters and tests with closures
2018-08-02 23:44:12 +01:00
Fred Emmott
e3c81911d6
Tell HHAST to only look at open files
...
Given ALE only cares about open files, this has no observable change,
except for significantly reduced resource usage.
2018-08-02 14:23:03 -07:00
w0rp
9ef266d050
Merge pull request #1770 from fredemmott/hack
...
Split Hack out from PHP, modernize
2018-08-02 21:58:57 +01:00
Fred Emmott
de6cd961a8
Suggested changes
2018-08-02 12:59:04 -07:00
Luxed
6b3086237a
Add Haskell IDE Engine (hie) support ( #1735 )
...
* Adding support for haskell-ide-engine
* Work with the current directory if no stack.yaml file is found
* Added Cabal file detection, updated documentation and added tests
* Updated help
2018-08-02 20:24:58 +01:00
Fred Emmott
e6bd4373f9
coding style
2018-08-02 11:44:17 -07:00
Fred Emmott
238201805d
Split Hack out from PHP, modernize
...
fixes #1738
- Replace previous `hh_client` usage with LSP client
- Add `HHAST` linter
- Split Hack from PHP: Hack is increasingly diverging from PHP:
- Hack tools do not understand PHP
- Most PHP tools do not handle Hack code well (including vim's syntax
highightling files)
- http://github.com/hhvm/vim-hack now sets filetype to `hack`
2018-08-02 11:28:56 -07:00
w0rp
16d0c52d24
Indicate that a C compiler failed due to problems in a header file
2018-07-30 20:09:43 +01:00
w0rp
ac4bac8ea4
Add support for parsing compile_commands.json files for C compilers
2018-07-29 19:24:27 +01:00
actionless
eb38c4b3f1
fix(linters: python): mark as lint_file
2018-07-26 14:45:28 +02:00
Yauhen Kirylau
8517e901ff
Add support for 'vulture' for Python
2018-07-26 08:41:27 +01:00
w0rp
79ffdde267
Merge pull request #1757 from jtalowell/master
...
Providing cquery support for C files
2018-07-25 21:07:19 +01:00
morrifeldman
845e588b71
Fix joker finding .joker file
...
Add --working-dir option so joker can find a .joker file in the project root directory.
2018-07-25 15:53:02 -04:00
jtalowell
c57b031876
Providing cquery support for C files
2018-07-25 14:23:13 +10:00
w0rp
06132954b1
Switch to v:t_ variables for type checks
2018-07-25 01:27:28 +01:00
w0rp
d368f090ae
#1754 Require snake_case names for linters in the codebase
2018-07-24 10:05:44 +01:00
w0rp
11339ca730
Merge pull request #1745 from sharils/master
...
Work around hot-reloading issue again
2018-07-23 15:04:55 +01:00
sharils
e3749c4a75
Fix autoload for phoenix
...
When dializer isn't a dependency, mix dialyzer recompiles the whole
project because it's not possible to know if this command dialyzer exist
or not until recompilation is done. Then the timestamps of the project
is messed up which results in broken hot-loading. In this case, mix help
dialyzer would return zero which prevents compilation of the whole
project since dialyzer isn't installed, it's help manual doesn't exist.
When dialyzer is a dependency, mix dialyzer would just run the command.
In this case, mix help dialyzer would return 1 which allows mix dialyzer
to run.
2018-07-23 21:43:59 +08:00
w0rp
9c849da8c4
Merge pull request #1751 from melentye/master
...
Add Clangd language server support for C
2018-07-22 20:55:01 +01:00
Andrey Melentyev
9b4963847d
Add Clangd language server support for C
2018-07-22 21:22:38 +02:00
w0rp
899b61c5cc
Merge pull request #1750 from kylef/kylef/apib-tmp
...
Make drafter linter use stdin instead of writing to tmp file
2018-07-22 17:07:47 +01:00
Kyle Fuller
f937b98e27
Make drafter linter use stdin instead of writing to tmp file
...
Writing to a tmp file is unnecessary as drafter will use stdin if a path
is not provided.
2018-07-22 16:32:39 +01:00
w0rp
baa44bb3a7
Merge pull request #1742 from typetetris/master
...
Add cabal-ghc linter
2018-07-22 14:12:23 +01:00
Eric Wolf
ac6bc6d0ae
Add cabal-ghc linter
...
cabal-ghc calls ghc via cabal exec and so ghc has access to packages
in cabal sandboxes for example
2018-07-20 16:48:27 +02:00
Ben Spiers
e8bea510df
Add documentation and testing for fortls
2018-07-19 22:27:47 +01:00
Ben Spiers
324838adae
Add support for Fortran language server by @hansec
2018-07-19 18:47:37 +01:00
Takashi WADA
dbf051e62b
remark-lint without saving to disk
2018-07-16 18:33:22 +09:00
Takashi WADA
f369aa65a2
Support remark-lint installed locally
2018-07-16 18:33:21 +09:00
MTDL9
5df735555c
Add kotlin language server support ( #1725 )
...
* Add kotlin languageserver linter definition
* Added kotlin languageserver references in docs, fix missing !! on other linters
* Added Vader tests for root path detection in Kotlin Language Server
2018-07-15 18:54:18 +01:00
w0rp
a42999a639
Massively reduce the amount of code needed for linter tests
2018-07-15 18:28:28 +01:00
w0rp
ac0abc7c1f
Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR
2018-07-12 13:05:59 +01:00
w0rp
c1a2aa27f3
Merge pull request #1697 from ananace/add-puppet-languageserver
...
puppet: Add puppet-languageserver linter
2018-07-07 12:08:14 +01:00
jamestthompson3
eda3878a6c
Add flow-language-server
2018-07-06 21:24:19 +03:00
Alexander Olofsson
f78db619d4
Clean up root detection for puppet languageserver
2018-07-05 21:35:51 +02:00
Alexander Olofsson
fd42e8e935
vue: Add the vls language server linter
2018-07-05 14:04:20 +02:00
Alexander Olofsson
42ae06a288
puppet: Add puppet-languageserver linter
2018-07-04 15:08:25 +02:00
w0rp
9ddf1b6a05
Make the language option for LSP linters optional
2018-07-04 13:12:58 +01:00
w0rp
db85b931ec
Remove deprecated code for the 2.0 release
2018-07-04 08:36:34 +01:00
Derek P Sifford
ea6d720fec
add pyre lsp linter to python linters
2018-07-01 14:59:49 -04:00
w0rp
06f61eeeb8
Respect ale_warn_about_trailing_whitespace for yamllint
2018-07-01 13:49:40 +01:00
w0rp
e5e14de9ae
Capture error codes for yamlllint
2018-07-01 13:15:12 +01:00
w0rp
b88bf6ecba
Fix #1412 - Use --stdin-filename for newer reek versions
2018-07-01 10:21:59 +01:00
Dan Aloni
d9e139ae23
Rust Cargo linter: Improve workspace support ( #1679 )
...
* Rust Cargo linter: Improve workspace support
When using Cargo workspaces [1], there is a 'Cargo.toml' directory in a
top level directory, listing all the crates in the project. If we are
currently editing one of the crates, 'cargo build' should execute in
that directory for that crate's separate `Cargo.toml`, otherwise Cargo
may spend more time possibly rebuilding the entire workspace, and maybe
failing on one of the other crates, instead of succeeding on the current.
[1] https://doc.rust-lang.org/book/second-edition/ch14-03-cargo-workspaces.html
2018-06-27 22:36:02 +01:00
w0rp
980aa35566
Merge pull request #1675 from nicopauss/master
...
Improve pyrex cython linter.
2018-06-27 21:39:36 +01:00
w0rp
b047271051
Merge pull request #1682 from fennerm/fix_prospector_e474
...
Fix prospector empty string error
2018-06-27 21:34:28 +01:00
Fenner Macrae
1ca2334846
Fix prospector empty string error
...
Prospector linter is raising error when no warnings are present in file
(#1680 ). Copied fix from #779 .
2018-06-26 16:58:34 -07:00
Nicolas Pauss
d05936a489
Handle cython warning with custom handle and remove '--warning-errors'.
...
Add a custom handler to support cython warning format.
Remove '--warning-errors' to keep previous behaviour.
2018-06-25 17:33:53 +02:00
Christian Höltje
49d995a521
sh: add bash-language-server linter
2018-06-25 11:21:53 -04:00
Nicolas Pauss
bedd30ee11
Improve pyrex cython linter.
...
Like many other linters, use variables for the executable and options
used by the linter.
By default, the linter now report every warnings as errors with
`--warning-errors`.
Also add include directory and set working directory to file directory.
2018-06-25 10:28:59 +02:00
w0rp
90dfe8e2a4
Merge pull request #1665 from ashemedai/master
...
Make CloudFormation linter work again with latest version
2018-06-20 22:51:55 +01:00
w0rp
11f303f853
Merge pull request #1618 from colbydehart/master
...
[new linter] Add mix linter for elixir
2018-06-20 22:47:56 +01:00
w0rp
b8be25adb4
Remove redundant spaces.
2018-06-20 22:44:56 +01:00
Jeroen Ruigrok van der Werven
b7db095221
Make CloudFormation linter work again with latest
...
- Fix regexp
- Get rid of +0 since ALE does a str2nr() on lnum and col
- Put all matches in numerical order for easier maintenance
2018-06-20 14:59:51 +02:00
w0rp
43ce8d7610
Merge pull request #1653 from chaucerbao/feature/js-tsserver-support
...
Add TSServer support for JavaScript files
2018-06-17 22:14:12 +01:00
w0rp
24fe195311
Merge pull request #1650 from yasuhiroki/support-cfn-python-lint
...
Add linter for AWS CloudFormation template file
2018-06-17 20:39:07 +01:00
Alvin Chan
bd4da116ee
Add TSServer support for JavaScript files
2018-06-13 17:37:20 -07:00
yasuhiroki
eabf5d55d6
Add end_lnum and end_col in cfn_python_lint handler
2018-06-13 09:11:14 +09:00
yasuhiroki
ae25d71fa8
Add linter for AWS CloudFormation template file
2018-06-12 15:11:53 +09:00
Colby Dehart
864818a385
WIP cd to project path
2018-06-07 11:47:57 -05:00
Colby Dehart
f0f569f14a
added test for command callback
2018-06-07 10:09:08 -05:00
Stefan Siegel
252097bee0
Use --vanilla switch for Rscript
...
This prevents possibly bad interference with the user's R environment,
e.g. by an auto-activating packrat.
2018-06-07 15:06:09 +02:00
Ben Falconer
d1be72f438
#1635 - Use the project base rather than its parent for cquery
2018-06-07 00:12:38 +01:00
Ben Falconer
20db9ab719
Add the cquery LSP #1475 #1594
2018-06-06 17:58:47 +01:00
Eddie Lebow
ca88e67af0
Allow all Python linter executables to be set to pipenv
.
...
It appends ` run {linter_name}`, analogously to the Ruby linters when
the executable is set to `bundle`
2018-06-05 00:33:26 -04:00
Michał Budzyński
e272207114
Allow linting rust tests and examples with cargo
2018-06-04 11:08:49 +02:00
w0rp
a8bbf49a31
Merge pull request #1625 from elebow/flake8-pipenv-run
...
Allow flake8 executable to be set to `pipenv`.
2018-06-03 18:52:15 +01:00
w0rp
0db12702f3
Respect warn_about_trailing_whitespace for gitlint
2018-06-03 10:46:39 +01:00
Eddie Lebow
dd642b117c
Allow flake8 executable to be set to pipenv
.
...
It appends ` run flake8`, analogously to the Ruby tools when the
executable is set to `bundle`
2018-06-02 21:49:12 -04:00
Colby Dehart
81739be0a0
handled temp file and env variable correctly; added tests
2018-06-02 13:03:56 -04:00
w0rp
786fc0a62f
Merge pull request #1617 from luitzifa/master
...
Fix for puppet version >= 5.4.0
2018-06-02 12:36:24 +01:00
Colby Dehart
d760558007
added mix build path env var to the mix compile
2018-06-01 11:56:47 -04:00