diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-10-04 11:38:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 11:38:28 +0100 |
commit | 25045641fbe92d175f2cd322497c9796d612782a (patch) | |
tree | 78f65bc53724a2d8385e2abef52d30d4a8552ba9 | |
parent | e376f0ae44f0656021a8c8945212dc27105b34fe (diff) | |
parent | a3000143967de397d6f86c31b24f0910206fce1f (diff) | |
download | ale-25045641fbe92d175f2cd322497c9796d612782a.zip |
Merge pull request #974 from odinuge/prettier_config
Add all possible config files for prettier
-rw-r--r-- | autoload/ale/fixers/prettier.vim | 4 |
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', \ ] |