w0rp
9fe7b1fe6a
Close #2281 - Separate cwd commands from commands
...
Working directories are now set seperately from the commands so they
can later be swapped out when running linters over projects is
supported, and also better support filename mapping for running linters
on other machines in future.
2021-03-01 20:11:10 +00:00
Antoine Gagné
48fab99a0a
Add support for erlfmt
fixer ( #3602 )
...
* Add support for `erlfmt`
* Add missing entry to table of contents
* Fix warnings
* Add missing tools to supported tools
2021-02-28 22:31:44 +09:00
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
David Buchan-Swanson
1ee7f6c97b
add support for prettier-ruby to prettier fixer ( #3593 )
...
it _does_ need an additional plugin, but when it has the plugin, it
works as expected.
2021-02-18 16:33:02 +09:00
Mukund Mauji
b30c5c9b51
Allow clangformat to use a local style file ( #3587 )
...
* Allow clangformat to use a local style file.
* Add tests.
* Fix Vint issue.
* Improve explanation of feature in documentation.
* Fix failing test.
The test was checking the wrong directory.
2021-02-14 23:03:04 +09:00
Horacio Sanson
f612805801
Merge pull request #3576 from cyyever/fish_indent
...
Fish indent
2021-02-05 22:58:43 +09:00
Horacio Sanson
3e94c42ec0
Merge pull request #3521 from hsanson/3498-change-standardrb-fixer-to-use-stdin
...
3498 change standardrb fixer to use stdin
2021-01-23 19:28:41 +09:00
Charles B Johnson
23ff19a162
fixers/xo: remove unnecessary directory crawl
2021-01-22 09:23:54 -06:00
Charles B Johnson
f17beadb49
fixers/xo: support monorepos
2021-01-22 09:23:54 -06:00
Charles B Johnson
8ffde14039
fixers/xo: support stdin relative to the fixed file
2021-01-22 09:23:53 -06:00
Charles B Johnson
e75ac9f497
fixers/xo: support typescript options
2021-01-22 09:23:53 -06:00
Charles B Johnson
289f808ccd
fixers/xo: refactor to handlers
2021-01-22 09:23:53 -06:00
Charles B Johnson
4a6136c27e
fixers/xo: add tests
2021-01-22 09:23:53 -06:00
Horacio Sanson
27a22e7161
Update tests
2021-01-22 23:17:01 +09:00
Horacio Sanson
7e3d2930d8
Merge pull request #3261 from toastal/dhall
...
Enhanced Dhall fixer support
2021-01-20 21:06:03 +09:00
Horacio Sanson
54dd731cf1
Merge pull request #3386 from ivorpeles/master
...
Make isort fixer recognize auto_pipenv flag
2021-01-08 10:43:34 +09:00
toastal
9c7e1fe4dd
merging master
2020-12-21 10:26:09 +07:00
Horacio Sanson
03b6978a27
Merge pull request #3381 from andreypopp/gofmt-stding-stdout
...
Use stdin/stdout to communicate with gofmt
2020-11-29 18:59:48 +09:00
Ivor Peles
713e53e3f6
Ensure isort / pipenv test conforms to ALE coding standards
2020-11-25 17:51:27 -05:00
Lyz
c69d696e1b
feat: add yamlfix fixer
2020-11-25 01:21:53 +01:00
Ivor Peles
6efca486e8
Add test for isort with auto_pipenv flag(s)
2020-11-21 19:24:20 -05:00
w0rp
b4550f361b
Merge pull request #3409 from lyz-code/feat/add-autoimport-support
...
feat: add autoimport fixer
2020-11-21 20:45:51 +00:00
w0rp
96428425fe
Merge pull request #2903 from davidtwco/ormolu-fixer
...
Add ormolu fixer.
2020-11-21 20:25:13 +00:00
Dale Jung
2873be2d6a
Add php phpcbf options ( #3383 )
...
* Taken from phpcs. add add_php_phpcbf_options #3382
* Updated docs for php_phpcbf_options #3382
* Added tests #3382
2020-11-21 20:19:02 +00:00
zandr
e5d16caebe
Add luafmt fixer ( #3289 )
2020-11-21 15:59:50 +00:00
cyy
a49f664aea
chang fishindent to fish_indent
2020-10-31 14:01:08 +08:00
cyy
9d1a71a5cb
add doc and test
2020-10-31 14:01:08 +08:00
Lyz
513e6ee972
feat: add autoimport fixer
2020-10-23 18:53:38 +02:00
David Wood
b496c4b164
Add ormolu fixer.
...
This commit adds a fixer for the Haskell language, ormolu
(https://github.com/tweag/ormolu ).
Signed-off-by: David Wood <david@davidtw.co>
2020-10-23 11:48:21 +01:00
Andrey Popp
96ec33e6d6
Use stdin/stdout to communicate with gofmt
2020-10-03 18:44:19 +03:00
toastal
ed47008710
addressing missing docs + cleaning up older Dhall files
2020-09-14 10:13:11 +07:00
toastal
f07ecbc579
merge master -- apparently someone else added dhall?
2020-09-08 10:08:00 +07:00
w0rp
7d4ce4e6aa
Close #3325 - Apply new formatting where possible
2020-08-28 19:50:36 +01:00
w0rp
3d5a2690ce
#3325 - ale#path#BufferCdString now generates %s:h
2020-08-28 17:46:43 +01:00
Sorin Iclanzan
80bd2e18d6
Set prettier working directory to where .prettierignore is ( #3101 )
...
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-28 08:14:50 +01:00
patrick brisbin
447aea4af0
Add dhall-format as a Fixer
...
https://github.com/dhall-lang/dhall-lang
2020-08-25 09:34:34 -04:00
Khaveesh N
76801743cf
Fixed tests
2020-08-21 17:29:43 +05:30
w0rp
2b785688ea
#3299 Merge gcc and clang into a cc linter
...
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-20 01:49:14 +01:00
w0rp
ac56574b55
Merge pull request #3046 from hsanson/2816-fix-standard-fix-doesnt-work
...
Fix 2816 - Standard fix does not work.
2020-08-17 21:44:19 +01:00
blyoa
d5c1d84230
Add remark-lint for a markdown fixer ( #2836 )
2020-08-17 10:14:38 +01:00
w0rp
5c778e1ae7
Make it easier to run tests locally
...
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-16 21:20:08 +01:00
w0rp
8151e3e8fa
Merge pull request #2920 from ConradIrwin/prettier-standard-stdin
...
Fix prettier_standard to respect the configuration file
2020-08-14 00:27:41 +01:00
toastal
167e2e7750
tests
2020-08-14 00:31:49 +07:00
Horacio Sanson
8e6c7bff9a
Fix 1695 - Change rubocop fixer to use stdin ( #3230 )
...
* 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-13 11:25:07 +01:00
Nihad Abbasov
d5912b53dd
Restore old behavior of ALEFix command for Rubocop ( #3237 )
...
* 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-12 14:04:54 +01:00
w0rp
2d174db5b2
Merge pull request #3107 from daliusd/tslintfix
...
Fix tslint fixer not working issue (temporary file not found)
2020-08-07 19:52:18 +01:00
jhlink
e2d1e54eb5
doc: Meaningless comment to kick CI from hang
2020-07-30 21:54:41 -04:00
jhlink
ab6aed17ab
test: Find .astylerc placed with src for astyle
2020-07-30 09:43:41 -04:00
jhlink
d49b06e030
fix: Find proj_options in same dir for astyle
2020-07-30 09:29:33 -04:00
Horacio Sanson
5338dbf680
Merge pull request #3231 from jhlink/add-astyle-for-c-formatting
...
Add astyle for C/C++ formatting
2020-07-29 22:08:46 +09:00