This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/fixers
Jon Parise 90b9597d50
Add a buildifier fixer for Bazel files (#3499)
This fixer enables buildifier's formatting and "lint fix" modes.
Additional options can be provided via `bazel_buildifier_options`.

It also implements some basic logic for guessing the file's type.
buildifier itself usually does this based on the filenames provided on
the command line, but because we're piping our buffer via stdin, we need
to do this manually.
2021-02-21 21:35:26 +09:00
..
eslint-test-files Cover the prettier-eslint changes with tests, and fix some problems 2017-08-30 22:49:46 +01:00
long-line-project Add a fix function for breaking up long Python lines, which is hidden for now 2017-08-11 10:31:25 +01:00
test_astyle_fixer_callback.vader doc: Meaningless comment to kick CI from hang 2020-07-30 21:54:41 -04:00
test_autoimport_fixer_callback.vader feat: add autoimport fixer 2020-10-23 18:53:38 +02:00
test_autopep8_fixer_callback.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_bibclean_fixer_callback.vader Add bibclen fixer support 2018-12-01 15:05:18 +09:00
test_black_fixer_callback.vader Black fixer should include --pyi for files with .pyi extension (#2705) 2019-08-18 15:45:15 +01:00
test_break_up_long_lines_python_fixer.vader Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)" 2019-02-22 20:48:06 +00:00
test_brittany_fixer_callback.vader Fix #1424 - Make the brittany fixer work 2018-04-08 17:38:43 +01:00
test_buildifier_fixer_callback.vader Add a buildifier fixer for Bazel files (#3499) 2021-02-21 21:35:26 +09:00
test_clangformat_fixer_callback.vader Allow clangformat to use a local style file (#3587) 2021-02-14 23:03:04 +09:00
test_clangtidy_fixer_callback.vader #3299 Merge gcc and clang into a cc linter 2020-08-20 01:49:14 +01:00
test_cmakeformat_fixer_callback.vader add cmake-format fixer support (#2244) 2019-01-27 11:45:57 +00:00
test_dartfmt_fixer_callback.vader Added dartfmt fixer (#1683) 2018-07-01 13:55:41 +01:00
test_dfmt_fixer_callback.vader dfmt support (#2662) 2019-09-10 20:54:14 +01:00
test_dhall_format_fixer_callback.vader addressing missing docs + cleaning up older Dhall files 2020-09-14 10:13:11 +07:00
test_dhall_freeze_fixer_callback.vader addressing missing docs + cleaning up older Dhall files 2020-09-14 10:13:11 +07:00
test_dhall_lint_fixer_callback.vader addressing missing docs + cleaning up older Dhall files 2020-09-14 10:13:11 +07:00
test_elm_format_fixer_callback.vader Fix elm-format fixer name 2018-03-08 09:19:12 -06:00
test_eslint_fixer_callback.vader Make it easier to run tests locally 2020-08-16 21:20:08 +01:00
test_fecs_fixer_callback.vader test: unit test for fecs fixer, fecs command 2019-04-11 19:47:31 +08:00
test_fish_indent_fixer_callback.vader chang fishindent to fish_indent 2020-10-31 14:01:08 +08:00
test_fixjson_fixer_callback.vader Support fixing JSON files with fixjson 2018-01-24 10:36:31 +00:00
test_floskell_fixer_callback.vader Add floskell for Haskell formatting 2019-04-14 11:27:48 -05:00
test_gnatpp_fixer_callback.vader Add gnatpp fixer for Ada 2019-07-01 20:50:02 -04:00
test_gofmt_fixer_callback.vader Use stdin/stdout to communicate with gofmt 2020-10-03 18:44:19 +03:00
test_goimports_fixer_callback.vader Fix #2668 - Set g:ale_go_go111module 2019-08-02 09:09:10 +01:00
test_gomod_fixer_callback.vader Fix #2668 - Set g:ale_go_go111module 2019-08-02 09:09:10 +01:00
test_goofle_java_format_fixer_callback.vader fix: change google_java_format_* to java_google_java_format_* for inject global variables according to doc/ale-java.txt 2018-10-24 20:10:31 +08:00
test_hackfmt_fixer_callback.vader Split Hack out from PHP, modernize 2018-08-02 11:28:56 -07:00
test_hfmt_fixer_callback.vader adds fixer support for hfmt (#1027) 2017-10-24 22:29:04 +01:00
test_hindent_fixer_callback.vader Merge remote-tracking branch 'AlexeiDrake/master' into bugfix/c-lsp-build-dir-settings 2019-08-18 18:29:59 +01:00
test_hlint_fixer_callback.vader Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
test_html_beautify_fixer_callback.vader Fix a test failing in AppVeyor 2019-11-07 15:52:03 +00:00
test_importjs_fixer_callback.vader importjs fixer not reading correct executable variable name 2018-08-24 09:04:17 +00:00
test_isort_fixer_callback.vader Ensure isort / pipenv test conforms to ALE coding standards 2020-11-25 17:51:27 -05:00
test_jq_fixer_callback.vader Allow custom filters for the jq fixer (#1980) 2018-10-12 09:15:32 +01:00
test_ktlint_fixer_callback.vader Fix 2269 - use ktlint stdin. 2020-04-18 15:27:11 +09:00
test_latexindent_fixer_callback.vader Fixed tests 2020-08-21 17:29:43 +05:30
test_luafmt_fixer_callback.vader Add luafmt fixer (#3289) 2020-11-21 15:59:50 +00:00
test_mix_format_fixer_callback.vader Clean up the mix format command and tests 2018-03-18 17:40:34 +00:00
test_nimpretty_fixer_callback.vader Clean up the nimpretty code 2019-11-14 14:50:21 +00:00
test_nixpkgsfmt_fixer_callback.vader Add nixpkgs-fmt fixer. 2019-08-26 19:21:07 +01:00
test_ocamlformat_fixer_callback.vader Close #3325 - Apply new formatting where possible 2020-08-28 19:50:36 +01:00
test_ocp_indent_fixer_callback.vader Add fixer for OCaml ocp-indent (#2436) 2019-05-07 18:50:26 +01:00
test_ormolu_fixer_callback.vader Add ormolu fixer. 2020-10-23 11:48:21 +01:00
test_perltidy_fixer_callback.vader add perltidy fixer 2018-04-21 22:09:38 +09:00
test_pgformatter_fixer_callback.vader add pgformatter 2019-05-27 09:00:11 +04:30
test_php_cs_fixer.vader Add g:ale_php_cs_fixer_options variable (#1477) 2018-04-07 23:53:03 +02:00
test_phpcbf_fixer_callback.vader Add php phpcbf options (#3383) 2020-11-21 20:19:02 +00:00
test_prettier_eslint_fixer.callback.vader #3325 - ale#path#BufferCdString now generates %s:h 2020-08-28 17:46:43 +01:00
test_prettier_fixer_callback.vader add support for prettier-ruby to prettier fixer (#3593) 2021-02-18 16:33:02 +09:00
test_prettier_standard_callback.vader Fix prettier_standard to respect the configuration file 2019-12-04 23:15:41 -08:00
test_puppetlint_fixer_callback.vader Get fixer tests to work on Windows 2017-10-01 20:23:41 +01:00
test_purty_fixer_callback.vader Add purty fixer. 2019-08-12 11:49:19 -04:00
test_python_add_blank_lines_fixer.vader Bugfix: python add blank lines (#1944) 2018-09-25 10:02:01 +01:00
test_qmlfmt_fixer_callback.vader Add support for qmlfmt fixer (#1651) 2018-06-12 19:38:16 +01:00
test_refmt_fixer_callback.vader refmt fixer for ReasonML 2017-10-29 21:48:28 +01:00
test_remark_lint_fixer_callback.vader Add remark-lint for a markdown fixer (#2836) 2020-08-17 10:14:38 +01:00
test_reorder_python_imports_fixer_callback.vader Add support for reorder-python-imports fixer 2019-06-08 19:22:50 -04:00
test_rubocop_fixer_callback.vader Close #3325 - Apply new formatting where possible 2020-08-28 19:50:36 +01:00
test_rufo_fixer_callback.vader Add bibclen fixer support 2018-12-01 15:05:18 +09:00
test_rustfmt_fixer_callback.vader Don't use temporary file for rustfmt fixer 2017-12-27 23:12:57 +07:00
test_scalafmt_fixer_callback.vader Add 'scalafmt' fixer for Scala files 2018-06-03 04:40:52 +08:00
test_shfmt_fixer_callback.vader shfmt: Use Vim's indent config as default indent width 2018-09-18 17:51:00 +09:00
test_sorbet_fixer_callback.vader Add Sorbet ruby linter and fixer (#2614) 2019-07-13 17:37:48 +01:00
test_sqlfmt_fixer_callback.vader Add support for sqlfmt 2018-09-08 01:34:10 +02:00
test_sqlformat_fixer_callback.vader feat: support sqlformat. (#2702) 2019-09-12 22:48:27 +01:00
test_standard_fixer_callback.vader Fix 2816 - Standard fix does not work. 2020-03-12 16:29:46 +09:00
test_standardrb_fixer_callback.vader Update tests 2021-01-22 23:17:01 +09:00
test_stylelint_fixer_callback.vader #3325 - ale#path#BufferCdString now generates %s:h 2020-08-28 17:46:43 +01:00
test_styler_fixer_callback.vader Switch from style to transformers (#2838) 2019-11-07 18:22:57 +00:00
test_stylish_haskell_fixer_callback.vader Add stylish-haskell as a fixer (#1837) 2018-08-23 23:14:59 +01:00
test_swiftformat_fixer_callback.vader Add support for SwiftFormat as a fixer 2017-08-09 12:41:21 -05:00
test_terraform_fmt_fixer_callback.vader add terraform fmt fixer for terraform and hcl filetypes 2018-10-23 20:44:31 -04:00
test_textlint_fixer_callback.vader Add textlint for Asciidoc and add it to Fixers (#2193) 2019-01-10 18:53:45 +00:00
test_tidy_fixer_callback.vader Add fixer tidy for HTML 2018-06-23 22:59:13 +05:30
test_trim_whitespace.vader Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)" 2019-02-22 20:48:06 +00:00
test_tslint_fixer_callback.vader Fix tslint fixer not working issue (temporary file not found) 2020-04-15 17:30:19 +03:00
test_uncrustify_fixer_callback.vader add uncrustify fixer for several languages 2018-09-04 20:39:32 -04:00
test_vim_help_tags_alignment_fixer.vader Add a function for fixing the alignment of Vim help tags 2017-07-03 16:51:34 +01:00
test_xmllint_fixer_callback.vader Add support for xmllint as a fixer. 2018-08-28 23:43:52 +02:00
test_xo_fixer_callback.vader fixers/xo: remove unnecessary directory crawl 2021-01-22 09:23:54 -06:00
test_xots_fixer_callback.vader fixers/xo: remove unnecessary directory crawl 2021-01-22 09:23:54 -06:00
test_yamlfix_fixer_callback.vader feat: add yamlfix fixer 2020-11-25 01:21:53 +01:00
test_yapf_fixer_callback.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00