From db470e03fd278513b7a0692206dc605474b70768 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sat, 11 May 2013 10:24:05 -0700 Subject: [PATCH] Update vimrc and jshintrc so syntastic doesn't give deprecated warning --- jshintrc | 18 ++++++++++++++++++ vimrc | 2 -- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 jshintrc diff --git a/jshintrc b/jshintrc new file mode 100644 index 0000000..a42c6dd --- /dev/null +++ b/jshintrc @@ -0,0 +1,18 @@ +{ + "camelcase": true, + "curly": true, + "eqeqeq": true, + "immed": true, + "indent": 2, + "latedef": true, + "newcap": true, + "noarg": true, + "noempty": true, + "nonew": true, + "plusplus": true, + "quotmark": true, + "trailing": true, + "undef": true, + "unused": true, + "white": true +} diff --git a/vimrc b/vimrc index 5974b46..0d24a59 100644 --- a/vimrc +++ b/vimrc @@ -57,8 +57,6 @@ let NERDTreeDirArrows=1 let g:syntastic_phpcs_disable=1 let g:syntastic_auto_loc_list=1 let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]' -let g:syntastic_javascript_checker = "jshint" -let g:syntastic_jslint_conf = "~/.jshintrc" let g:syntastic_json_checker = "jsonlint" let g:syntastic_scss_checkers = [] let g:syntastic_css_checkers = []