summaryrefslogtreecommitdiff
path: root/test/fixers
AgeCommit message (Collapse)Author
2019-04-11test: unit test for fecs fixer, fecs commandharttle
2019-04-07#2132 - Implement feature tests with ale#Hasw0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-02-22Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)"w0rp
This reverts commit f1ed654ca5318de5a24b37d882e55e04e4e566c8.
2019-01-30Respect python black fixer configuration fileAiden Scandella
Similar to other linters/fixers, by default change to the directory of the file being fixed before invoking `black`, which allows the tool to read project-specific configuration (pyproject.toml) Fixes #2218
2019-01-27Merge pull request #2228 from Nomad145/ktlintw0rp
Add ktlint Fixer Support
2019-01-27add cmake-format fixer support (#2244)Attila Maczak
2019-01-22Add `babylon` as default Prettier parser (#2220)Alvin Chan
* Mimic Prettier's default parser by setting it to `babylon` * Add tests to check default Prettier `parser` * Set Prettier default parser based on version * Update the comment to explain the reason for an explicit default
2019-01-20Add ktlint fixer support.Michael Phillips
2019-01-10Add textlint for Asciidoc and add it to Fixers (#2193)TANIGUCHI Masaya
* Add textlint for asciidoc * Add textlint --fix
2018-12-21Fixup tests for auto-pipenvMiklós Tusz
2018-12-21Remove unnecessary exe check for blackMiklós Tusz
2018-12-21Add test for python_black_auto_pipenvMiklós Tusz
2018-12-18#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)w0rp
2018-12-18Close #2152 - Use ale_javascript_standard_options for fixing files toow0rp
2018-12-10Adds standardrb linter (#2133)Justin Searls
See: https://github.com/testdouble/standard StandardRB is to RuboCop what StandardJS is to ESLint. This commit naively copies the RuboCop linter and fixer to point at the standardrb executable. Any other adjustments are very minor (the only I can think of is that standardrb takes a `--fix` option instead of `--auto-correct`). This raises a confusing point to me as both developer and a user: since ale enables all linters by default, won't this run both RuboCop and StandardRB (the results of which will almost always be in conflict with one another)? How does ale already solve for this for the similar case of StandardJS and ESLint?
2018-12-01Add bibclen fixer supportHoracio Sanson
Closes #1910
2018-11-12add tests for prettier-htmlAbin Simon
2018-11-04Make ocamlformat work without temporary filesAndrey Popp
Problem: ocamlformat is configured to format files in-place and thus go via creating a temporary file for that. Because temporary file resides in a different directory ocamlformat can't find `.ocamlformat` configuration files in an original location of source files. Solution: ocamlformat since version 0.8 can read sources on stdin and spur result on stdout. We reconfigure ocamlformat to use a simpler interface.
2018-10-31Use correct exclusion flag in rubocop fixerMax Hung
2018-10-26fix missing (s) on rubocop exclusion flagJustin Powell
2018-10-26closes #1580 add force exclusion to rubocop fixerJustin Powell
2018-10-25Merge pull request #2016 from terryding77/masterw0rp
fix: change google_java_format_* to java_google_java_format_*
2018-10-25Merge pull request #2012 from paihu/fix-cdstring-win32-change-drivew0rp
Fix #2011 MS Windows, lint error when current drive and target file drive is different.
2018-10-24fix: change google_java_format_* to java_google_java_format_* for inject ↵Terry Ding
global variables according to doc/ale-java.txt
2018-10-23add terraform fmt fixer for terraform and hcl filetypesDerek P Sifford
See #1718
2018-10-23ale#path#CdString include ale#Escapepaihu
2018-10-22fix testcasepaihu
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`