Permalink
Browse files

Restored jslint

  • Loading branch information...
milagre committed Jul 14, 2013
1 parent 56189cc commit 955b2b42b6535699579c81b476e11b017a2a6d24
Showing with 10 additions and 1 deletion.
  1. +3 −0 .gitmodules
  2. +5 −0 .jslintrc
  3. +1 −0 .vim/bundle/jslint
  4. +1 −1 .vimrc
View
@@ -5,3 +5,6 @@
[submodule ".vim/bundle/html5"]
path = .vim/bundle/html5
url = git@github.com:othree/html5.vim.git
+[submodule ".vim/bundle/jslint"]
+ path = .vim/bundle/jslint
+ url = https://github.com/hallettj/jslint.vim.git
View
@@ -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";
+
Submodule jslint added at 650c94
View
2 .vimrc
@@ -85,7 +85,7 @@ au Filetype sh noremap ; :!bash -n %<CR>
au Filetype bash noremap ; :!bash -n %<CR>
au Filetype ruby noremap ; :!ruby -c %<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
nnoremap <C-e> 5<C-e>

0 comments on commit 955b2b4

Please sign in to comment.