Skip to content

vim fixmyjs - auto fix your javascript using fixmyjs/eslint/tslint/jscs

License

Notifications You must be signed in to change notification settings

ruanyl/vim-fixmyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-fixmyjs

auto fix your javascript using eslint or fixmyjs or jscs or tslint

screenshot

How to install

Vundle

Bundle 'ruanyl/vim-fixmyjs'

vim-plug

Plug 'ruanyl/vim-fixmyjs'

How to use

  1. Install fixmyjs or eslint (or tslint) globally, or have it in project node_modules folder

  2. Config which autofix engine to use:

    let g:fixmyjs_engine = 'eslint' (default)
    or
    let g:fixmyjs_engine = 'fixmyjs'
    or
    let g:fixmyjs_engine = 'jscs'
    or
    let g:fixmyjs_engine = 'tslint'
    
  3. For convenience it is recommended that you assign a key for this, like so:

    noremap <Leader><Leader>f :Fixmyjs<CR>
    
  4. For fixmyjs to enable legacy mode:

    let g:fixmyjs_legacy_jshint = 1
    

About

vim fixmyjs - auto fix your javascript using fixmyjs/eslint/tslint/jscs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •