Age | Commit message (Collapse) | Author |
|
* Add better support for Haskell stack compiler tools
This commit adds support for `stack` as the executable of a tool. This
follows a pattern that has been implemented for `bundler`'s tool chain.
* Move hlint command to linter file
* Add vader test for stack exec handling
* Update ghc-mod to support stack execution
`ghc-mod` was previously broken into 2 linters.
1. ghc_mod
2. stack_ghc_mod
This additional linter is not necessary with proper support for
executable variables and `stack exec` handling.
* Support stack exec in hfmt
* Support stack in hdevtools
|
|
* Don't add newlines when not a control statement for Python
* Add test for accidental newline fix
* Add docstring detection to avoid adding unnecessarily newlines
* Add tests for docstring detection
|
|
shfmt: Use Vim's indent config as default indent width
|
|
* Add fixer for Go modules
|
|
|
|
|
|
Add support for sqlfmt
|
|
|
|
|
|
Add support for xmllint as a fixer.
|
|
|
|
|
|
|
|
importjs fixer not reading correct executable variable name
|
|
|
|
|
|
* Add stylish-haskell as a fixer
`stylish-haskell` is a common formatting tool for the haskell toolchain.
It is not as advanced as `brittany` or `hindent`, but it is commonly
used for formatting of imports and data declarations. This adds it as a
fixer in ALE.
|
|
|
|
Split Hack out from PHP, modernize
|
|
Support fixing YAML and HTML files with prettier for files without file extensions.
|
|
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`
|
|
|
|
|
|
* Added dartfmt to Fixers
* Added dartfmt specific documentation
|
|
Add tests for tidy HTML fixer
|
|
* Set `--parser` option in Prettier's fixer
* Add expected `--parser` option to tests
* Disable Prettier `--parser` detection if file extension exists
* Manually default Prettier `--parser` to "babylon"
* Add `--parser` test for TypeScript
* Add tests for Prettier `--parser`
* Add JSON5 to the suggested fixer for Prettier
|
|
* Add support for qmlfmt fixer
|
|
closes https://github.com/w0rp/ale/issues/1299
|
|
|
|
|
|
* Add g:ale_php_cs_fixer_options variable
* Fix test
|
|
|
|
Add rufo fixer for Ruby files
|
|
|
|
Allow passing options to mix_format
|
|
|
|
|
|
Support for elm-format as a fixer has existed since Sept 2017, but it's not
easy to discover because the fixer was named `format`. This breaks the
convention of the other fixers that use the full name in the registry.
I've gone ahead and fixed this discrepancy, but I left the existing registry
entry in place. We should move people towards using `elm-format` as the fixer
name, but I'd hate to break existing setups.
|
|
|
|
|
|
|
|
|
|
rustfmt normally acts on a file in place, and applies configuration
from rustfmt.toml files according to the path of the file.
Using a temporary file for rustfmt breaks this functionality, so
removing the '%t' from the rustfmt command.
|
|
instead.
|
|
|
|
In Go you can "vendor" packages by putting them in the `vendor/`
directory for a project. Adding the `-srcdir` argument makes `goimports`
pick up these packages, in addition to what you have in GOPATH.
Without this, `goimports` is not very useful, since most projects vendor
their packages.
|
|
eborden/eborden/add-brittany-for-haskell-formatting
Add brittany for Haskell formatting
|
|
- added tests for fixer functions
- added docs
|
|
|
|
output is an error message
|