Skip to content
Browse files

jshint, jslint, jsl, css beauty added

  • Loading branch information...
1 parent 781a0c9 commit 42dad5ecece7e2c07a9176a21556406ad9869512 Yodiaditya committed Sep 21, 2011
Showing with 17 additions and 10 deletions.
  1. +1 −1 .vim/bundle/syntastic
  2. +1 −2 .vim/jsl.conf
  3. +8 −6 .vimrc
  4. +7 −1 README.md
2 .vim/bundle/syntastic
@@ -1 +1 @@
-Subproject commit 88dbca87c80de9b7852672907f6fc9fb935f531c
+Subproject commit cf6aa9a4143704e0e3070302ffe593636d6e8cc9
View
3 .vim/jsl.conf
@@ -33,7 +33,7 @@
+octal_number # leading zeros make an octal number
+nested_comment # nested comment
+misplaced_regex # regular expressions should be preceded by a left parenthesis, assignment, colon, or comma
-+ambiguous_newline # unexpected end of line; it is ambiguous whether these lines are part of the same statement
+-ambiguous_newline # unexpected end of line; it is ambiguous whether these lines are part of the same statement
+empty_statement # empty statement or extra semicolon
-missing_option_explicit # the "option explicit" control comment is missing
+partial_option_explicit # the "option explicit" control comment, if used, must be in the first script tag
@@ -52,7 +52,6 @@
+assign_to_function_call # assignment to a function call
+parseint_missing_radix # parseInt missing radix parameter
-
### Output format
# Customize the format of the error message.
# __FILE__ indicates current file path
View
14 .vimrc
@@ -49,15 +49,14 @@ Bundle 'lukaszb/vim-web-indent'
Bundle 'mattn/zencoding-vim'
Bundle 'godlygeek/tabular'
Bundle 'jamescarr/snipmate-nodejs'
-Bundle 'wavded/vim-javascript'
Bundle 'lunaru/vim-less'
Bundle 'joestelmach/javaScriptLint.vim'
+Bundle 'wavded/vim-javascript'
" Syntax checking
Bundle 'scrooloose/syntastic'
Bundle 'tpope/vim-markdown.git'
-
filetype plugin indent on " required!
"
@@ -532,12 +531,15 @@ if has("gui_running")
highlight SpellBad term=underline gui=undercurl guisp=Orange
endif
-
-"for Syntastic
-let g:syntastic_enable_signs=1
-let g:syntastic_quiet_warnings=1
+" for Syntastic
let g:syntastic_auto_loc_list=1
+let g:syntastic_enable_signs=1
+let g:syntastic_auto_jump=1
+let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]'
+set statusline+=%#warningmsg#
+set statusline+=%{SyntasticStatuslineFlag()}
+set statusline+=%*
"remove trailing whitespace
"http://vim.wikia.com/wiki/Remove_unwanted_spaces#Automatically_removing_all_trailing_whitespace
View
8 README.md
@@ -92,7 +92,13 @@ For *.js file, auto-checker work automatically after saving file.
For another filetype ( .php, .py, .rb, etc), you can press SHIFT+j for Javascript checker.
-### D. Colorscheme
+### C. Installing JSLint, Gjslint, JSHint
+
+See my blog post here for installation :
+
+[Installing JSlint, Jshint, Gjslint, Cssbeauty and many else](http://www.yodi.me/2011/09/20/top-javascript-checker-tools-that-must-used-by-front-end-developer/)
+
+### E. Colorscheme
This VIM using Mustang as Colorscheme. If you use Yakuake for running VIM, then you should change your Yakuke for running 256-colors.

0 comments on commit 42dad5e

Please sign in to comment.
Something went wrong with that request. Please try again.