summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-10-04 11:38:28 +0100
committerGitHub <noreply@github.com>2017-10-04 11:38:28 +0100
commit25045641fbe92d175f2cd322497c9796d612782a (patch)
tree78f65bc53724a2d8385e2abef52d30d4a8552ba9
parente376f0ae44f0656021a8c8945212dc27105b34fe (diff)
parenta3000143967de397d6f86c31b24f0910206fce1f (diff)
downloadale-25045641fbe92d175f2cd322497c9796d612782a.zip
Merge pull request #974 from odinuge/prettier_config
Add all possible config files for prettier
-rw-r--r--autoload/ale/fixers/prettier.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/ale/fixers/prettier.vim b/autoload/ale/fixers/prettier.vim
index ca1bf608..4adc3b08 100644
--- a/autoload/ale/fixers/prettier.vim
+++ b/autoload/ale/fixers/prettier.vim
@@ -10,6 +10,10 @@ call ale#Set('javascript_prettier_options', '')
function! s:FindConfig(buffer) abort
for l:filename in [
\ '.prettierrc',
+ \ '.prettierrc.json',
+ \ '.prettierrc.yaml',
+ \ '.prettierrc.yml',
+ \ '.prettierrc.js',
\ 'prettier.config.js',
\ 'package.json',
\ ]