summaryrefslogtreecommitdiff
path: root/test/fixers
AgeCommit message (Collapse)Author
2020-08-28Close #3325 - Apply new formatting where possiblew0rp
2020-08-28#3325 - ale#path#BufferCdString now generates %s:hw0rp
2020-08-28Set prettier working directory to where .prettierignore is (#3101)Sorin Iclanzan
Prettier does not use `.prettierignore` unless the current directory is the root where the `.prettierignore` file resides. * Update Prettier tests * Look for prettierignore to determine project root
2020-08-25Add dhall-format as a Fixerpatrick brisbin
https://github.com/dhall-lang/dhall-lang
2020-08-21Fixed testsKhaveesh N
2020-08-20#3299 Merge gcc and clang into a cc linterw0rp
Users can easily be confused when they set some options for a C or C++ compiler, and another compiler is run with different options, which still reports errors. To remedy this, the existing `gcc` and `clang` linters have been replaced with a `cc` linter that will run either compiler. This is a breaking change for ALE v3.0.0.
2020-08-17Merge pull request #3046 from hsanson/2816-fix-standard-fix-doesnt-workw0rp
Fix 2816 - Standard fix does not work.
2020-08-17Add remark-lint for a markdown fixer (#2836)blyoa
2020-08-16Make it easier to run tests locallyw0rp
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
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
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