sponsor Vim development Vim logo Vim Book Ad

vim-eslint-fix : A vim plugin that fix the current file by eslint

 script karma  Rating 1/1, Downloaded by 807  Comments, bugs, improvements  Vim wiki

created by
joey fang
 
script type
patch
 
description
A vim plugin that fix the current file by eslint
 
install details
usage:

".vimrc
function! PrettyFile()
  if &filetype=="javascript"
    if exists('g:loaded_Beautifier')
      call JsBeautify()
    endif
    if exists('g:loaded_ESLintFix')
      call ESLintFix()
    endif
  end
endfunction

"pretty the file before saving.
autocmd BufWritePre * execute 'call PrettyFile()'

"see more https://github.com/josudoey/vim-eslint-fix
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-eslint-fix.vim 0.0.0 2017-02-12 7.0 joey fang Initial upload
ip used for rating: 3.139.72.78

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github