Merge pull request #2920 from ConradIrwin/prettier-standard-stdin

Fix prettier_standard to respect the configuration file
This commit is contained in:
w0rp
2020-08-14 00:27:41 +01:00
committed by GitHub
2 changed files with 21 additions and 2 deletions

View File

@@ -17,8 +17,8 @@ function! ale#fixers#prettier_standard#Fix(buffer) abort
return {
\ 'command': ale#Escape(ale#fixers#prettier_standard#GetExecutable(a:buffer))
\ . ' %t'
\ . ' --stdin'
\ . ' --stdin-filepath=%s'
\ . ' ' . l:options,
\ 'read_temporary_file': 1,
\}
endfunction