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 = []