Merge pull request #974 from odinuge/prettier_config

Add all possible config files for prettier
This commit is contained in:
w0rp 2017-10-04 11:38:28 +01:00 committed by GitHub
commit 25045641fb

View File

@ -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',
\ ]