Commit Graph

4359 Commits

Author SHA1 Message Date
Craig Rodrigues
3d10770387
Remove gometalinter support (#4534)
gometalinter has been deprecated, and was archived in 2019
2023-07-24 21:33:15 +09:00
Craig Rodrigues
f34016a552
feat: enable golangci-lint by default (#4536)
This replaces golint and gometalinter which are both deprecated
2023-07-24 21:30:00 +09:00
LittleKey
969f7b080f
Add end_col of matched forbidden word (#4556) 2023-07-24 10:37:49 +09:00
Mitchell Hanberg
7ba88ad343
chore: update elixir_ls.vim (#4547)
The project was forked and lived under a new organization
2023-07-24 10:28:34 +09:00
Arnold Chand
32e1417d98
fix(vue): volar v1 support (#4552)
* fix: volar v1 support

* fix: volar linter errors
2023-07-24 10:08:11 +09:00
Ben Boeckel
1084152a11
ale-rust: add an example for rust-analyzer configuration (#4559)
Closes: #4557
2023-07-24 09:35:54 +09:00
Craig Rodrigues
29e5ffe35a
Remove golint supported-tools (#4535)
golint has been deprecated and was archived in 2019
2023-06-27 18:52:50 +09:00
Chuck Grindel
21f1ab6ffc
feat: support Bazel buildifier linter (#4529)
* Initial buildifier linter files

* Add handler test

* Fix test when options are not set
2023-06-27 18:52:25 +09:00
0xHyoga
5ab35a7a30
Update cairo linter to Cairo 1.0 (#4530)
* update cairo linter

* new cairo handler test

* add another handler instead of replacing
2023-06-27 18:44:20 +09:00
Nathan Henrie
c0eff9f2f1
Mention deadnix in supported tools (#4528)
Deadnix support was added in
https://github.com/dense-analysis/ale/pull/4443 but it seems not to have
been mentioned in the lists of supported tools.
2023-06-09 10:56:53 +09:00
Rob Whittaker
7021ed0c68
🐛 Fix a Ruby deprecation warning in the ERB linter (#4521)
* Fix a Ruby deprecation warning in the ERB linter

Before, the ERB linter used positional arguments. Newer versions of Ruby
have deprecated this method signature. We fixed the linter to use
keyword arguments.

* fixup! Fix a Ruby deprecation warning in the ERB linter
2023-05-26 14:52:51 +09:00
Shad
a46121a532
Dockerlinter (#4518)
* dockerlinter support

* Tests & ShellCheck reference

* sort and align docs
2023-05-22 11:58:59 +09:00
bretello
5c803fb970
docs: fix broken link for ccls init opts (#4520)
Co-authored-by: bretello <bretello@distruzione.org>
2023-05-21 14:11:15 +09:00
lucas-str
9fe9f11521
Add support for npm-groovy-lint (#4495)
* Add support for npm-groovy-lint

* Add doc and tests for npm-groovy-lint

* Use ale#util#FuzzyJSONDecode instead of json_decode
2023-05-06 09:02:07 +09:00
Pat Brisbin
61248e1453
Add fourmolu fixer (#4501)
* Add fourmolu fixer

Fourmolu is aversion of Ormolu that supports configuration. This fixer
was modeled after the Ormolu one, but using the "stack executable"
approach of the Brittany and Stylish Haskell fixers.

* Sort supported-tools.md
2023-04-22 22:05:50 +09:00
Horacio Sanson
fdadaed2ba
Fix 4490 - Fix pyright not running with poetry (#4491)
* Fix 4490 - Fix pyright not running with poetry

* Fix tests
2023-04-13 08:54:49 +09:00
Carl Smedstad
93100159a2
Add support for Bicep when installed as a plugin to Azure CLI (#4496)
* Add support for Bicep when installed as a plugin to Azure CLI

The compiler for Microsoft's DSL Bicep can be installed both
independently and as a plugin to Azure CLI. The latter is probably how
most people install it.

The program output is the same but Azure CLI wraps the arguments and has
a slightly different interface, hence I opted to copy the old linter and
modify it to match the plugin arguments.

* Fix bicep/az_bicep tests, arguments and parsing

* Actually test the ale_linters#bicep#az_bicep#Handle function in the
  test that should test that function, not
  ale_linters#bicep#bicep#Handle.

* Use the same method as in bicep/bicep for discarding output file, i.e.
  by specifying --outfile to a null file.

* Fix parsing of occasionally occurring leading error type (such as
  'ERROR: ').

* Correct option defaults for bicep & az_bicep specified in documentation
2023-04-13 08:51:52 +09:00
SkrrtBacharach
57254db9ef
Fix error from ansible-lint versions >=6.11.0. (#4492)
* Fix error from ansible-lint versions >=6.11.0.

The JSON output format of ansible-lint has changed since
6.11.0. Issue locations can have either a 'positions' or
a 'lines' member, rather than just a 'lines' member as it
was before. This fix checks which member is present, and
passes that member name to subsequent dictionary lookups.

The error was caused by the following change:
https://github.com/ansible/ansible-lint/pull/2897

* Add ansible-lint test to check each type of ansible-lint issue json.

* Change long single-line JSON in ansible test into multiline JSON.

* Fix linting errors in ansible_lint.vim.
2023-04-07 09:19:58 +09:00
Veselin Ivanov
b0ba31f88e
remove --enable-all from golangci-lint options (#4488)
* remove --enable-all from default golangci-lint options

* update golangci-lint options documentation

* update tests to use empty golangci-lint options
2023-04-02 18:09:58 +09:00
David le Blanc
41e12fd640
Added column alignment for errors (#4473) 2023-03-31 10:50:48 +09:00
Guillermo R. Roig Carralero
7dbd3c96ac
Add support for rustywind fixer (#4477) 2023-03-26 15:38:24 +09:00
w0rp
fbae1bc193
Use cooler badges in README 2023-03-15 22:31:51 +00:00
Wilson E. Alvarez
e1a0781f9d
Fix ale#util#GetBufferContents and propagate use (#4457)
* Use newline characters instead in ale#util#GetBufferContents
* Propagate use of ale#util#GetBufferContents
* Add ale#util#GetContentBuffer test
2023-03-14 20:55:28 +00:00
TheBearodactyl
011e4f6590
Added instructions for pathogen install (#4471) 2023-03-11 09:02:01 +09:00
jiz4oh
f04887740d
Fix mismatched type on compare g:ale_virtualtext_cursor (#4476) 2023-03-09 08:55:49 +00:00
Daniel Harding
007c5b1152
Clear virtualtext no matter how enabled (#4475)
When toggling ALE off, clear the virtualtext even when g:ale_virtualtext_cursor is 'all'.
2023-03-08 14:47:58 +00:00
w0rp
16f5a1915b
Fix a typo in the README 2023-03-07 03:54:48 +00:00
w0rp
aca71daa2e
Close #4441 - Update FAQ and add "Why ALE?" 2023-03-07 03:50:18 +00:00
w0rp
39c76cf6af
Fix vim-plug and Vundle headings 2023-03-07 02:39:57 +00:00
w0rp
d5a3da19d4
Fix installation text 2023-03-07 02:39:19 +00:00
w0rp
40c1b17e2f
Remove Table of Contents and simplify installation section 2023-03-07 02:38:03 +00:00
w0rp
96f0bf7172
Fix windows virtualenv PATH tests 2023-03-07 02:11:43 +00:00
w0rp
bb691d6dee
#2172 - Expand PATH in the shell for automatic virtualenv 2023-03-07 01:59:11 +00:00
Albert Peschar
6ae26df22b
Add deadnix linter (#4443) 2023-03-07 01:31:14 +00:00
Oskar Haarklou Veileborg
c8e9146049
Fix #3616, #3903 - Use proper floating window borders in neovim (#4417)
* Fix #3616, #3903 - Use proper floating window borders in neovim

* Compatibility w. length 6/7 ale_floating_window_border values
2023-02-21 18:25:10 +09:00
w0rp
c3f9bccb8c
Ignore shellcheck error in run-vader-tests 2023-02-13 04:43:45 +00:00
w0rp
ab7757b532
Clean up run-tests syntax 2023-02-13 04:24:54 +00:00
Albert Peschar
9c45358aab
run-tests: download images only on x86-64 (#4421)
When running the tests on aarch64, the run-tests script tries to
download a pre-built image that is built for x86-64, and thus does not
run.

This change adds a check for the Docker daemon host platform and only
downloads the image if it will run.

Furthermore, the image dependency testbed/vim:24 is also built unless
the platform is x86_64, since it is also only provided for this
platform.
2023-02-13 03:53:15 +00:00
javad
f78e9d634f
Add support for llvm-mc as an assembly linter (#4446) 2023-02-09 10:49:24 +09:00
w0rp
ae2d47ba83
Attempt to fix auto virtualenv on Windows 2023-02-08 09:44:25 +00:00
w0rp
2a24b4e0d1
Fix CI BS 2023-02-08 09:25:15 +00:00
w0rp
4c162877e2
#2172 Auto PATH with ale_python_auto_virtualenv
Automatically set `PATH` for some Python linters that seem to need it
when g:ale_python_auto_virtualenv or b:ale_python_auto_virtualenv is
`1`.
2023-02-08 09:11:31 +00:00
w0rp
6ff1f0b200
Close #4389 - Run pyright via poetry, pipenv, venv
Add support for automatically detecting and running Pyright via poetry,
pipenv, and virtualenv directories just like we do with flake8.
2023-02-08 08:24:16 +00:00
w0rp
f2a21c960a
Add support for lua-language-server 2023-02-08 01:14:47 +00:00
w0rp
da5fa17df1
Fix broken tag references and the broken script to check them 2023-02-07 18:41:13 +00:00
Nathan Henrie
e1ae009bac
Add alejandra for nix (#4435)
- Fixes https://github.com/dense-analysis/ale/issues/4434
2023-02-07 17:24:52 +09:00
Andreas Wachowski
45a3e3f574
Remove duplicated word in help g:ale_virtualtext_cursor (#4444) 2023-02-03 17:25:49 +00:00
vindex10
98f466f9ce
add eslint plugin html for linting js in html files (#4428)
* add eslint plugin html for linting js in html files

* fix linting
2023-02-02 14:13:52 +09:00
Albert Peschar
599f7b1eda
phpstan: set cwd to configuration file directory (#4422)
PHPStan will only detect a configuration file in the current working
directory, so set that to the directory in which ALE finds the
configuration file.
2023-02-02 14:09:11 +09:00
Ben Boeckel
116d713f63
diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)
Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API.

:help g:ale_use_neovim_diagnostics_api

Co-authored-by: David Balatero <dbalatero@users.noreply.github.com>
Co-authored-by: Georgi Angelchev <angelchev@live.co.uk>
Co-authored-by: w0rp <devw0rp@gmail.com>
2023-01-29 17:25:09 +00:00