If you have not installed any syntax checker, you must install syntastic
.
If you have not installed linter
, you must install it before (apm install linter
).
If you have not installed nodejs
, you must install it.
- Install nvm. Please follow the instruction on the page.
- Install nodejs
nvm install stable
and set it as defaultnvm alias default stable
.
Then npm
command is available now. Install jshint
npm install jshint
- Let the variable
let g:syntastic_javascript_checkers = ['jshint']
- Install linter-jshint
apm install linter-jshint
- Install rubocop
gem install -g rubocop
- Just let the variable
let g:syntastic_ruby_checkers = ['rubocop']
- You may have some errors, then see the wiki
- Install the plugin anyhow
- Intall linter-rubocop
apm install linter-rubocop
- Install scss-lint
gem install scss-lint
- Just let the value
let g:syntastic_scss_checkers = ['scss_lint']
- Intall linter-scss-lint
apm install linter-scss-lint