summaryrefslogtreecommitdiff
path: root/test/fixers
AgeCommit message (Collapse)Author
2018-10-12Allow custom filters for the jq fixer (#1980)Aliou Diallo
* Allow the jq filters to receive custom filters. * Update documentation.
2018-09-28Add better support for Haskell stack compiler tools (#1851)Evan Borden
* 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
2018-09-25Bugfix: python add blank lines (#1944)Bert JW Regeer
* 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
2018-09-20Merge pull request #1932 from rhysd/shfmt-default-indentw0rp
shfmt: Use Vim's indent config as default indent width
2018-09-19Add fixer for Go modules (#1873)Martin Tournoij
* Add fixer for Go modules
2018-09-18shfmt: Use Vim's indent config as default indent widthrhysd
2018-09-17Handle failing to connect to eslint_dw0rp
2018-09-09Merge pull request #1897 from LEI/add-sqlfmt-fixerw0rp
Add support for sqlfmt
2018-09-08Add support for sqlfmtLEI
2018-09-04add uncrustify fixer for several languagesDerek P Sifford
2018-08-28Merge pull request #1866 from Steap/feature/xmllint-fixerw0rp
Add support for xmllint as a fixer.
2018-08-28Add support for xmllint as a fixer.Cyril Roelandt
2018-08-26fix testssbl
2018-08-26add ocamlformat supportsbl
2018-08-24Merge pull request #1841 from dabbeg/fix-importjs-fixerw0rp
importjs fixer not reading correct executable variable name
2018-08-24importjs fixer not reading correct executable variable nameDavíð Guðni
2018-08-23Add hlint refactoring as a fixer (#1836)Evan Borden
2018-08-23Add stylish-haskell as a fixer (#1837)Evan Borden
* 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.
2018-08-09fix: Don't use error output from prettier_d for fixing filesBrandon Bayer
2018-08-02Merge pull request #1770 from fredemmott/hackw0rp
Split Hack out from PHP, modernize
2018-08-02Javascript prettier filetype detect fix (#1769)Paul Reimer
Support fixing YAML and HTML files with prettier for files without file extensions.
2018-08-02Split Hack out from PHP, modernizeFred Emmott
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-07-15Massively reduce the amount of code needed for linter testsw0rp
2018-07-04address code review issuesDerek P Sifford
2018-07-01Added dartfmt fixer (#1683)Govind KP
* Added dartfmt to Fixers * Added dartfmt specific documentation
2018-06-23Add fixer tidy for HTMLAbin Simon
Add tests for tidy HTML fixer
2018-06-18Set `--parser` option in Prettier's fixer (#1620)Alvin Chan
* 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
2018-06-12Add support for qmlfmt fixer (#1651)P M
* Add support for qmlfmt fixer
2018-06-03Add 'scalafmt' fixer for Scala filesJeffrey Lau
closes https://github.com/w0rp/ale/issues/1299
2018-04-21add perltidy fixerKenta, Kobayashi
2018-04-08Fix #1424 - Make the brittany fixer workaspidiets
2018-04-07Add g:ale_php_cs_fixer_options variable (#1477)Adriaan Zonnenberg
* Add g:ale_php_cs_fixer_options variable * Fix test
2018-04-06Added support for Python black fixer (#1451)Jack Evans
2018-03-18Merge pull request #1415 from fohte/fixer-rufow0rp
Add rufo fixer for Ruby files
2018-03-18Clean up the mix format command and testsw0rp
2018-03-18Merge pull request #1410 from fribmendes/frm/mix_format_optionsw0rp
Allow passing options to mix_format
2018-03-11Add rufo fixer for ruby filesHayato Kawai
2018-03-08Allow passing options to mix_formatFernando Mendes
2018-03-08Fix elm-format fixer nameGordon Fontenot
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.
2018-03-01add php-cs-fixer to list of fixersJulien Deniau
2018-02-04Fix #1330 - Find isort configs better by changing the working directoryw0rp
2018-01-28#1303 jq isn't a Node programw0rp
2018-01-24Support fixing JSON files with fixjsonrhysd
2017-12-27Don't use temporary file for rustfmt fixerBjörn Lindström
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.
2017-12-19Fix the mscs tests on Windows, and use the improved Simplify for all tests ↵v1.7.0w0rp
instead.
2017-12-09add google-java-format fixerbutlerx
2017-12-08goimports fixer doesn't work for vendored librariesMartin Tournoij
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.
2017-12-07Merge pull request #1174 from ↵w0rp
eborden/eborden/add-brittany-for-haskell-formatting Add brittany for Haskell formatting
2017-12-05added importjs fixerJeff Willette
- added tests for fixer functions - added docs
2017-12-02Fixed command string for phpcbf fixerE.J. Sexton