Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published
You can’t perform that action at this time.