summaryrefslogtreecommitdiff
path: root/test/fixers
AgeCommit message (Collapse)Author
2020-08-14Merge pull request #2920 from ConradIrwin/prettier-standard-stdinw0rp
Fix prettier_standard to respect the configuration file
2020-08-13Fix 1695 - Change rubocop fixer to use stdin (#3230)Horacio Sanson
* Fix 1695 - Change rubocop fixer to use stdin * Update test_rubocop_fixer_callback.vader Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-08-12Restore old behavior of ALEFix command for Rubocop (#3237)Nihad Abbasov
* Restore old behavior of ALEFix command for Rubocop Since RuboCop 0.60 ALEFix command stopped to fix all found offenses. This change restores the previous behavior by allowing rubocop to fix all detected offenses. * Fix tests * Allow to configure auto-correct option for Rubocop
2020-08-07Merge pull request #3107 from daliusd/tslintfixw0rp
Fix tslint fixer not working issue (temporary file not found)
2020-07-30doc: Meaningless comment to kick CI from hangjhlink
2020-07-30test: Find .astylerc placed with src for astylejhlink
2020-07-30fix: Find proj_options in same dir for astylejhlink
2020-07-29Merge pull request #3231 from jhlink/add-astyle-for-c-formattingHoracio Sanson
Add astyle for C/C++ formatting
2020-07-29fix: Use ALE to reliably find project optionsjhlink
2020-07-28test: Set empty values for astyle project_optionsjhlink
2020-07-28chore: Distinguish test value namejhlink
2020-07-28chore: Delete dead test codejhlink
2020-07-28fix: Change _options to _project_optionsjhlink
2020-07-26fix: Remove explicit calls to file path in astylejhlink
2020-07-26feat: Add project option file support for astylejhlink
2020-07-26feat: Use stdin/redirection for astylejhlink
2020-07-25test: Add cpp test case for astylejhlink
2020-07-21Merge pull request #3119 from hsanson/2269-ktlint-stdin-supportw0rp
Fix 2269 - use ktlint stdin.
2020-07-10test: Add astyle vader testjhlink
2020-07-01Run ESLint fixer from project root, where possible (#3096)Kevin Locke
* Split eslint#GetCdString from eslint#GetCommand Move the code for finding the project root and building the cd string into a separate function so that it can be reused in the eslint fixer. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * Run ESLint fixer from project root dir To match the ESLint linter, as changed in 9ee57d43 (which I forgot to apply to the fixer, whoops). Fixes: #3094 Closes: #3095 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-04-18Fix 2269 - use ktlint stdin.Horacio Sanson
Use stdin flag instead of temporary files. This allows ktlint to work with .editorconfig files.
2020-04-15Fix tslint fixer not working issue (temporary file not found)Dalius Dobravolskas
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