mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +08:00
Merge pull request #974 from odinuge/prettier_config
Add all possible config files for prettier
This commit is contained in:
@@ -10,6 +10,10 @@ call ale#Set('javascript_prettier_options', '')
|
|||||||
function! s:FindConfig(buffer) abort
|
function! s:FindConfig(buffer) abort
|
||||||
for l:filename in [
|
for l:filename in [
|
||||||
\ '.prettierrc',
|
\ '.prettierrc',
|
||||||
|
\ '.prettierrc.json',
|
||||||
|
\ '.prettierrc.yaml',
|
||||||
|
\ '.prettierrc.yml',
|
||||||
|
\ '.prettierrc.js',
|
||||||
\ 'prettier.config.js',
|
\ 'prettier.config.js',
|
||||||
\ 'package.json',
|
\ 'package.json',
|
||||||
\ ]
|
\ ]
|
||||||
|
|||||||
Reference in New Issue
Block a user