Skip to content

Commit

Permalink
Restored jslint
Browse files Browse the repository at this point in the history
  • Loading branch information
milagre committed Jul 14, 2013
1 parent 56189cc commit 955b2b4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
[submodule ".vim/bundle/html5"] [submodule ".vim/bundle/html5"]
path = .vim/bundle/html5 path = .vim/bundle/html5
url = git@github.com:othree/html5.vim.git url = git@github.com:othree/html5.vim.git
[submodule ".vim/bundle/jslint"]
path = .vim/bundle/jslint
url = https://github.com/hallettj/jslint.vim.git
5 changes: 5 additions & 0 deletions .jslintrc
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,5 @@
/*jslint browser: true, node: true, regexp: true, nomen: true, white: true */
/*global jQuery, $, _, require, console, window, document, exports, __dirname, __filename */

"use strict";

1 change: 1 addition & 0 deletions .vim/bundle/jslint
Submodule jslint added at 650c94
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ au Filetype sh noremap ; :!bash -n %<CR>
au Filetype bash noremap ; :!bash -n %<CR> au Filetype bash noremap ; :!bash -n %<CR>
au Filetype ruby noremap ; :!ruby -c %<CR> au Filetype ruby noremap ; :!ruby -c %<CR>
au Filetype python noremap ; :!python -m py_compile %<CR> au Filetype python noremap ; :!python -m py_compile %<CR>
au Filetype javascript noremap ; :call JSHint()<CR> au Filetype javascript noremap ; :JSLintUpdate<CR>
" Scrolling speed " Scrolling speed
nnoremap <C-e> 5<C-e> nnoremap <C-e> 5<C-e>
Expand Down

0 comments on commit 955b2b4

Please sign in to comment.