From b36882e72e14673a62bcc129f00e58caa5f0c9d3 Mon Sep 17 00:00:00 2001 From: aliou Date: Tue, 29 Aug 2017 17:05:19 +0200 Subject: Add support for prettier configuration file. (#886) * Add support for prettier configuration file. As of version 1.6.0, prettier allows passing a `--config` argument with a path to a configuration file. * Add test prettier configuration file. * Add option to use local prettier configuration. * Add description for new prettier option. * Also check if the config is present before using it. --- doc/ale-javascript.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/ale-javascript.txt b/doc/ale-javascript.txt index 3adba503..95d2504a 100644 --- a/doc/ale-javascript.txt +++ b/doc/ale-javascript.txt @@ -86,6 +86,12 @@ g:ale_javascript_prettier_use_global *g:ale_javascript_prettier_use_global* See |ale-integrations-local-executables| +g:ale_javascript_prettier_use_local_config *g:ale_javascript_prettier_use_local_config* + *b:ale_javascript_prettier_use_local_config* + Type: |Number| + Default: `0` + + This variable can be set to use the local prettier configuration file. =============================================================================== prettier-eslint *ale-javascript-prettier-eslint* -- cgit v1.2.3