summaryrefslogtreecommitdiff
path: root/test/fixers
AgeCommit message (Collapse)Author
2020-04-15Fix tslint fixer not working issue (temporary file not found)Dalius Dobravolskas
2020-03-12Fix 2816 - Standard fix does not work.Horacio Sanson
The standard linter --fix fails if the file being input is not relative to the project root (https://github.com/standard/standard/issues/1384). This MR attempts to fix this by changing the command so the input file is relative to the project root and the output is to a temporary file. Preliminary tests with toy javascript projects seem to indicate this works fine.
2019-12-04Fix prettier_standard to respect the configuration fileConrad Irwin
Before this change, prettier_standard would run and ignore any .prettierrc, now it will respect the configuration of the file being linted. This change relies on prettier-standard 16.1.0 for the --stdin-filepath flag, but is backward compatible: older versions of prettier-standard will ignore the unknown flag and continue to run with no configuration file.
2019-11-14Clean up the nimpretty codew0rp
2019-11-09add nimpretty fixerBùi Thành Nhân
2019-11-07Switch from style to transformers (#2838)Thibault Vatter
* Switch to transformers for styler * Adapt unit test too
2019-11-07Fix a test failing in AppVeyorw0rp
2019-10-29Merge pull request #2690 from iclanzan/purtyw0rp
Add purty fixer for PureScript
2019-10-28Fix the test issues with html-beautifyw0rp
2019-10-28Add support for html-beautify (#2788)Hugo Osvaldo Barrera
* Add support for html-beautify * Add html-beautify to the list of supported tools * Update docs
2019-10-28fixers/stylelint: enhance `stylelint` fixer (#2745)Charlie Johnson
* Refactor stylelint fixer test * Support additional stylelint fixer options * Support changing working directory for stylelint fixer * Force css syntax for stylelint fixer
2019-10-07Merge pull request #2676 from davidtwco/nixfmt-fixerw0rp
Add nixpkgs-fmt fixer.
2019-09-12feat: support sqlformat. (#2702)Cluas
* feat: support sqlformat.
2019-09-10dfmt support (#2662)theoremoon
* Add support for `dfmt`
2019-08-26Add nixpkgs-fmt fixer.David Wood
This commit adds a fixer for the Nix language, nixpkgs-fmt (https://github.com/nix-community/nixpkgs-fmt).
2019-08-18Merge remote-tracking branch 'AlexeiDrake/master' into ↵w0rp
bugfix/c-lsp-build-dir-settings
2019-08-18Black fixer should include --pyi for files with .pyi extension (#2705)richyfish
* black fixer should include --pyi for files with .pyi extension
2019-08-18Merge pull request #2631 from timlag1305/feat/ada-gnatppw0rp
Add gnatpp fixer for Ada
2019-08-12Add purty fixer.Sorin Iclanzan
2019-08-02Fix #2668 - Set g:ale_go_go111modulew0rp
2019-07-30Merge pull request #2430 from eliath/masterw0rp
Support $GO111MODULE with Go tooling
2019-07-19Set --assume-filename for clangformat fixerPaul Reimer
2019-07-13Add Sorbet ruby linter and fixer (#2614)Matthew Lanigan
2019-07-02Add clangtidy fixer (#2548)ObserverOfTime
* Add clangtidy fixer * Add extra_options to clangtidy fixer * Also, use cpp variables in cpp filetypes
2019-07-01Add gnatpp fixer for AdaTim Lagnese
2019-07-01Support $GO111MODULE with Go toolingElias Martinez Cohen
Allows the user to override $GO111MODULE environment variable through ale options. This gives control over the default behavior of Go module resolution. Golang documentation: https://github.com/golang/go/wiki/Modules#how-to-use-modules Add `ale#Go#EnvString()` function to make it easy to add similar Go environment variables in the future. Use the new `EnvString` function in all available Go tools callbacks & update tests Also add test of linter command callback for `gofmt`
2019-06-13Merge pull request #2563 from dcyriller/fixer-prettier-glimmerw0rp
prettier: Support experimental languages (Handlebars)
2019-06-08Add support for reorder-python-imports fixerJake Kaufman
isort is great, but I've come to prefer reorder-python-imports. The tool has a focus on smaller diffs than isort. reorder-python-imports is also a little smarter than isort which is nice.
2019-06-06prettier: Support experimental languagesCyrille David
Such as handlebars
2019-05-27add pgformatterSajjad Hashemian
2019-05-17Fix #1989 - Use ESlint options for fixers toow0rp
2019-05-07Add fixer for OCaml ocp-indent (#2436)Kanenobu Mitsuru
2019-05-01Merge pull request #2437 from robertjlooby/add-floskellw0rp
Add floskell for Haskell formatting
2019-04-23Add a fixer for r based on the styler package (#2401)Thibault Vatter
* Add styler as a new fixer for R files * Add to the list of supported tools * Add documentation
2019-04-14Add floskell for Haskell formattingRob Looby
2019-04-13Add support for latexindent (#2387)Riley Martine
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