install.fairie/dotfiles/.vim/plugged/vim-prettier/autoload/prettier/presets/fb.vim

14 lines
331 B
VimL
Raw Normal View History

" Return facebook style config overwrite presets
function! prettier#presets#fb#config() abort
return {
\ 'bracketSpacing': 'false',
\ 'jsxBracketSameLine': 'true',
\ 'printWidth': 80,
\ 'parser': 'flow',
\ 'singleQuote': 'true',
\ 'tabWidth': 2,
\ 'trailingComma': 'all',
\ 'useTabs': 'false',
\ }
endfunction