ale/autoload/ale/fixers
Kevin Locke d8143885a4
Run ESLint fixer from project root, where possible (#3096)
* 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-07-01 17:53:33 +01:00
..
autopep8.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
bibclean.vim Add bibclen fixer support 2018-12-01 15:05:18 +09:00
black.vim Black fixer should include --pyi for files with .pyi extension (#2705) 2019-08-18 15:45:15 +01:00
brittany.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
clangformat.vim Set --assume-filename for clangformat fixer 2019-07-19 07:57:10 -07:00
clangtidy.vim Add clangtidy fixer (#2548) 2019-07-02 08:11:10 +01:00
cmakeformat.vim add cmake-format fixer support (#2244) 2019-01-27 11:45:57 +00:00
dartfmt.vim Added dartfmt fixer (#1683) 2018-07-01 13:55:41 +01:00
dfmt.vim dfmt support (#2662) 2019-09-10 20:54:14 +01:00
elm_format.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
eslint.vim Run ESLint fixer from project root, where possible (#3096) 2020-07-01 17:53:33 +01:00
fecs.vim style: fecs related doc and vim scripts 2019-04-11 16:24:59 +08:00
fixjson.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
floskell.vim Add floskell for Haskell formatting 2019-04-14 11:27:48 -05:00
generic.vim Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)" 2019-02-22 20:48:06 +00:00
generic_python.vim Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)" 2019-02-22 20:48:06 +00:00
gnatpp.vim Add gnatpp fixer for Ada 2019-07-01 20:50:02 -04:00
gofmt.vim Support $GO111MODULE with Go tooling 2019-07-01 11:04:33 -04:00
goimports.vim Support $GO111MODULE with Go tooling 2019-07-01 11:04:33 -04:00
gomod.vim Support $GO111MODULE with Go tooling 2019-07-01 11:04:33 -04:00
google_java_format.vim 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
hackfmt.vim Split Hack out from PHP, modernize 2018-08-02 11:28:56 -07:00
help.vim Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)" 2019-02-22 20:48:06 +00:00
hfmt.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
hindent.vim Merge remote-tracking branch 'AlexeiDrake/master' into bugfix/c-lsp-build-dir-settings 2019-08-18 18:29:59 +01:00
hlint.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
html_beautify.vim Add support for html-beautify (#2788) 2019-10-28 13:25:36 +00:00
importjs.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
isort.vim address code review issues 2018-07-04 21:16:57 -04:00
jq.vim Update syntax checking 2019-02-06 18:05:13 +00:00
ktlint.vim Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
latexindent.vim Add support for latexindent (#2387) 2019-04-13 13:21:59 +01:00
mix_format.vim Clean up the mix format command and tests 2018-03-18 17:40:34 +00:00
nimpretty.vim Clean up the nimpretty code 2019-11-14 14:50:21 +00:00
nixpkgsfmt.vim Add nixpkgs-fmt fixer. 2019-08-26 19:21:07 +01:00
ocamlformat.vim Make ocamlformat work without temporary files 2018-11-04 20:32:56 +03:00
ocp_indent.vim Add fixer for OCaml ocp-indent (#2436) 2019-05-07 18:50:26 +01:00
perltidy.vim add perltidy fixer 2018-04-21 22:09:38 +09:00
pgformatter.vim add pgformatter 2019-05-27 09:00:11 +04:30
php_cs_fixer.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
phpcbf.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
prettier.vim Refactor to be less verbose 2019-06-13 10:36:51 +02:00
prettier_eslint.vim #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
prettier_standard.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
puppetlint.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
purty.vim Add purty fixer. 2019-08-12 11:49:19 -04:00
qmlfmt.vim Update syntax checking 2019-02-06 18:05:13 +00:00
refmt.vim refmt fixer for ReasonML 2017-10-29 21:48:28 +01:00
reorder_python_imports.vim Add support for reorder-python-imports fixer 2019-06-08 19:22:50 -04:00
rubocop.vim Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable 2019-08-13 01:52:13 -04:00
rufo.vim Add rufo fixer for ruby files 2018-03-11 13:33:57 +09:00
rustfmt.vim Don't use temporary file for rustfmt fixer 2017-12-27 23:12:57 +07:00
scalafmt.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
shfmt.vim shfmt: Use Vim's indent config as default indent width 2018-09-18 17:51:00 +09:00
sorbet.vim Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable 2019-08-13 01:52:13 -04:00
sqlfmt.vim Add support for sqlfmt 2018-09-08 01:34:10 +02:00
sqlformat.vim feat: support sqlformat. (#2702) 2019-09-12 22:48:27 +01:00
standard.vim Allow the use of StandardX for StandardJS linting and fixing. 2019-10-21 20:46:54 -04:00
standardrb.vim Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable 2019-08-13 01:52:13 -04:00
stylelint.vim fixers/stylelint: enhance `stylelint` fixer (#2745) 2019-10-28 13:23:02 +00:00
styler.vim Switch from style to transformers (#2838) 2019-11-07 18:22:57 +00:00
stylish_haskell.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
swiftformat.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
terraform.vim add terraform fmt fixer for terraform and hcl filetypes 2018-10-23 20:44:31 -04:00
textlint.vim Add textlint for Asciidoc and add it to Fixers (#2193) 2019-01-10 18:53:45 +00:00
tidy.vim Add fixer tidy for HTML 2018-06-23 22:59:13 +05:30
tslint.vim Massively reduce the amount of code needed for linter tests 2018-07-15 18:28:28 +01:00
uncrustify.vim add uncrustify fixer for several languages 2018-09-04 20:39:32 -04:00
xmllint.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
xo.vim Add fixer definition for XO 2018-05-02 18:26:13 -04:00
yapf.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00