Takahito Nakano and GitHub
e5d6d94f71
Fix cwd setting to use .stylua.toml if stylua.toml is not found ( #4892 )
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2025-02-07 18:19:05 +09:00
dcai and GitHub
6c337ad19c
fix: stylua should have cwd and --stdin-filepath ( #4873 )
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2025-01-10 13:35:30 +09:00
Vangelis and GitHub
83ec182bdf
xmllint fixer must read from stdin - not buffer filename ( #4884 )
...
The current xmllint fixer reads and formats the file that a buffer is
associated with from disk instead of accepting input from stdin. This
has the side effect that if the filename is changed in the buffer, but
not saved yet, the fixer discards all the pending changes and replaces
the buffer contents with the formatted text from the file contents on
disk.
2025-01-10 13:34:56 +09:00
Dmitri Vereshchagin and GitHub
0551602b19
Add erlfmt fixer to the registry and use it with stdin ( #4868 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* Add erlfmt fixer to the registry
Without this, the fixer will not appear in the list of suggested tools
and cannot be used without additional configuration.
* Handle stdin in the erlfmt fixer command
Previously, the full path to the file being edited was used, which
resulted in the loss of unsaved changes.
* Add executable selection tests for erlfmt fixer
2024-12-29 13:55:43 +09:00
Hugo and GitHub
d69f8fed73
Implement support for apkbuild-fixer ( #4881 )
...
I am not the author of a single file, but have full permissions from the
original author for permission for submitting this to ALE under the
2-Clause BSD licence.
See: https://gitlab.alpinelinux.org/Leo/apkbuild.vim/-/issues/3
2024-12-29 13:37:33 +09:00
Ian Stapleton Cordasco and GitHub
65b49c1b81
Add golangci-lint fixer ( #4853 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
Closes #4616
2024-11-27 22:17:31 +09:00
rudolf ordoyne and GitHub
defb0ea336
Add cljfmt fixer for clojure files ( #4860 )
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2024-11-17 11:22:36 +09:00
Dmitri Vereshchagin and GitHub
4fca3824cc
Add erlang-mode fixer for Erlang files ( #4848 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
This fixer performs indentation with the Erlang mode for Emacs.
The Erlang mode is maintained in the Erlang/OTP source tree. It indents
some things differently than the Vim indent plugin, and provides more
customization options.
2024-10-31 21:29:59 +09:00
Markus and GitHub
2e5f135836
no need to write and read temporary file with syntax_tree ( #4834 )
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2024-10-14 11:45:41 +09:00
Diego Henrique Oliveira and GitHub
a7ef1817b7
Improve support for python package manage: pipenv, poetry and uv ( #4825 )
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2024-09-05 15:37:30 +09:00
ghsang and GitHub
954682108d
Add support for astro ( #4780 )
...
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* feat: prettier for astro
* feat: eslint for astro
* feat: doc for astro
2024-08-14 08:24:22 +01:00
Tom Bourton and GitHub
a35fa4d732
When ruff version is >=0.5.0 use 'ruff check <path>' instead of 'ruff <path>' ( #4802 )
2024-07-02 16:43:02 +09:00
Braden Kelley and GitHub
a0ad5f938a
fix!(biome): allow passing options to biome check ( #4799 )
...
The only option available to biome's `lsp-proxy` command used for
linting is `--config-path`. However, we are using ALE to find and set
the project root, and have a way to manually override, so that is no
longer necessary.
The LSP proxy also used the `g:ale_biome_options` config, which is
shared with the fixer's `check` command, but `lsp-proxy` will throw an
error if unknown options are included, making it so that option is only
useful to set the project root.
BREAKING CHANGE: We are no longer passing options to the biome LSP
proxy, but we can still set the project root with
`g:ale_biome_lsp_project_root`.
2024-06-27 14:30:06 +09:00
Braden Kelley and GitHub
f2aef2f510
fix(biome): run all enabled biome fixers ( #4763 )
...
- based on biome config, will format, lint, and/or sort imports
- adds variable to apply unsafe fixes, disabled by default
fixes : #4754
2024-06-21 09:21:19 +09:00
Braden Kelley and GitHub
0cd64c87bf
fix(biome): use temp file instead of stdin ( #4775 )
...
biome handles utf8 characters differently between files and stdin, and
in some cases can replace emojis with ascii characters when using stdin
refs: biomejs/biome#2604
2024-06-21 08:19:55 +09:00
ghsang and GitHub
adaa7f6f62
Fix eslint cwd strategy ( #4781 )
...
Change eslint cwd to follow configuration file paths.
2024-05-31 09:30:37 +02:00
Arash Mousavi and GitHub
7516e2e484
Add htmlbeautifier support ( #4751 )
2024-04-17 23:58:28 +09:00
Kevin Van Leer and GitHub
6db58b3379
Added fix subcommand options ( #4746 )
...
php-cs-fixer command line options are ordered. Options that appear after the
main command are applied to the main command. Options that appear after the
subcommands are applied to the subcommands. This change enables a user to
specific fix options (like --config). This change also sets the plugin to
find the the configuraiton file in the current project tree. This matches
the default behavior of other linters like eslint.
2024-04-07 17:34:02 +09:00
Horacio Sanson and GitHub
8f9197b79b
Fix 4740 - add hurlfmt linter ( #4741 )
...
* Fix 4740 - add hurlfmt linter
* Fix 4740 - add hurlfmt fixer
* Fix wrong comments
* Add end_col to qflist
* Fix test
2024-03-12 09:51:49 +09:00
David Dominguez and GitHub
4d132b3ffa
Fix biome formatter ( #4733 )
...
* Fix biome formatter
Added escaped executable to the biome#Fix command
* Added fixer callback test
2024-03-02 16:05:47 +09:00
Filip Gospodinov and GitHub
9cc8383fe9
Add full support for biome ( #4705 )
...
* Revert "Add biome support for javascript (#4701 )"
This reverts commit 8922478a83 .
* Add support for biome
2024-02-24 16:51:39 +09:00
Jonathan Palardy and GitHub
1b24bd3f5f
Support 'gleam format' as Gleam fixer ( #4710 )
2024-02-06 10:16:25 +09:00
Akiomi Kamakura and GitHub
8922478a83
Add biome support for javascript ( #4701 )
2024-01-14 21:11:14 +09:00
Yining and GitHub
3dbf0b2202
add: support for rubyfmt as ruby fixer ( #4678 )
...
[rubyfmt](https://github.com/fables-tales/rubyfmt ) is a formatter for
`ruby` code.
This commit adds support for `rubyfmt` as a `ruby` fixer (#2991 ),
together with some tests and documentation.
2024-01-14 20:59:20 +09:00
Yining and GitHub
32ee7039d0
add: support for nickel format as Nickel fixer ( #4665 )
...
Nickel(https://nickel-lang.org/ ) is a configuration language, like
Jsonnet, Cue, Dhall.
`nickel`(https://github.com/tweag/nickel ) is the main command to run,
export and also format Nickel code.
this commit adds `nickel format` as a Nickel fixer, together with some
tests and documentation.
2023-12-07 14:55:14 +00:00
Joseph Henrich and GitHub
5cddc4c8e1
Adding support for ruff formatter ( #4645 )
2023-11-16 12:12:40 +00:00
Henrique Barcelos and GitHub
64ddf457e1
Feature: add forge fmt as a fixer for Solidity files ( #4598 )
...
* feat: add `forge fmt` as a fixer for Solidity
2023-09-05 18:34:39 +01:00
jiz4oh and GitHub
115ad17ace
Support format xml file which haven't yet persisted at the disk ( #4585 )
...
Support format xml file which haven't yet persisted at the disk
2023-08-20 10:43:31 +01:00
Matheus Werny and GitHub
951b280bd5
yamlfmt ( #4587 )
...
* Added the fixer, wrote tests and tested it
2023-08-15 10:15:06 +01:00
Arash Mousavi and GitHub
93a4f70414
Add erb-formatter support ( #4546 )
2023-07-24 21:38:52 +09:00
lucas-str and GitHub
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 and GitHub
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
Guillermo R. Roig Carralero and GitHub
7dbd3c96ac
Add support for rustywind fixer ( #4477 )
2023-03-26 15:38:24 +09:00
Nathan Henrie and GitHub
e1ae009bac
Add alejandra for nix ( #4435 )
...
- Fixes https://github.com/dense-analysis/ale/issues/4434
2023-02-07 17:24:52 +09:00
Sean Enck and GitHub
0af4899605
Add gopls format as a Go fixer
2023-01-28 00:20:29 -07:00
Yining and GitHub
b6f6d84c25
add: pycln as a python linter and fixer ( #4415 )
...
this commit adds pycln as a Python linter and fixer, together with some
tests and documentation. It addresses #4340
pycln repo: https://github.com/hadialqattan/pycln
2023-01-27 10:24:18 +09:00
Yining and GitHub
1e398202b9
fix: ruff not registered as fixer ( #4393 )
...
this commit fixes the issue reported at:
https://github.com/dense-analysis/ale/issues/4301#issuecomment-1359289391
it also had some code refactored and
tests added for ruff as fixer (missed in PR #4347 ).
2022-12-22 09:53:01 +09:00
Jeremy Cantrell and GitHub
4b433e5693
Add raco_fmt fixer for Racket files ( #4354 )
...
* Add raco_fmt fixer for Racket files
* Fix command and add test
* Fix quoting
2022-11-07 22:20:25 +09:00
Matheus Gabriel Werny de Lima and GitHub
a33960eb51
Add fixer "css-beautify". Adjust "html-beautify." ( #4319 )
...
* Add fixer "css-beautify". Adjust "html-beautify."
* Error fixes.
* Added chars.
2022-09-30 19:24:32 +09:00
Mo Lawson and GitHub
233b681029
Add support for syntax_tree fixer ( #4268 )
...
This is the library that now powers prettier/plugin-ruby but is also
stands on its own: https://github.com/ruby-syntax-tree/syntax_tree
2022-08-09 21:11:20 +09:00
Albert Peschar and GitHub
854d606333
Add support for Dune ( #4263 )
...
* Add support for dune
* Add test
* Undo reformatting of Markdown file
* Refer to ale-ocaml-dune from ale.txt
2022-07-26 17:55:22 +09:00
Michael Dyrynda and GitHub
ad2f75e4b2
Add support for Laravel Pint ( #4238 )
...
* add support, docs, tests for Laravel Pint
* fix php-cs-fixer link
* add missing project-without-pint
* fix indentation
* fix pint executable in pint fixer test
* fix variables, docs related to pint support
2022-07-07 21:42:21 +09:00
Henrique Barcelos and GitHub
d6f3d4976d
Allow shfmt fixer to use .editorconfig ( #4244 )
...
* fix: added support for local solhint executable
* feat: added support for matching parse errors
* test: added test for solhint command callback and handler
* chore: removed command callback test
* refactor: made solhint handler structure closer to eslint
* refactor(shfmt-fixer): remove derivation of default CLI arguments
2022-07-02 22:05:03 +09:00
infokiller and GitHub
91e8422d6d
Add pyflyby fixer (using its tidy-imports script) ( #4219 )
...
* add pyflyby fixer
updates
* pyflyby: add docs
updates
* add tests to pyflyby fixer
2022-06-16 22:41:57 +09:00
Arash Mousavi and GitHub
3d7b3a6541
Add zig fmt support ( #4198 )
...
* Add zig fmt support
* Review changes
* Fix linter errors
2022-05-17 07:38:54 +09:00
Zhuoyun Wei and GitHub
429f5a1447
Add support for Packer ( #4192 )
...
* Add support for HashiCorp Packer
* Add test for packer fmt
* Add doc for HCL/Packer
* Add link to Packer doc
* Also suggest packer fix for packer ft
* Add more links to TOC
2022-05-16 21:15:52 +09:00
Reza J. Bavaghoush and GitHub
75d2413425
add rego support ( #4199 )
...
* add opa fmt fixer for rego files
* add opa linter
* add basic tests for linter and fixer
* add cspell to the docs
2022-05-16 21:14:11 +09:00
Alex McKinney and GitHub
607f33a1b0
Add buf linter and fixer ( #4128 )
...
* Add buf lint to linters
* Add buf format to fixers
* Fix test/linter/test_buf_lint.vader
* Fix test/fixers/test_buf_format_fixer_callback.vader
* Simplify test/test-files/proto/testfile.proto
* Add buf-lint alias and rename linter
2022-04-06 17:00:59 +09:00
Nathan and GitHub
ac0495df6e
Add dprint fixer ( #4024 )
...
* Add dprint fixer
* Fix windows tests
* dd dprint documentation
2022-01-04 21:49:03 +09:00
Alex Piechowski and GitHub
48f68598cb
Add auto-fixer for crystal ( #4016 )
2021-12-28 20:23:57 +09:00