   (setq indent-tabs-mode nil)
   (gp-setup-webdev-indent 2)
   (setq js2-bounce-indent-p t)
-  (setq js2-use-font-lock-faces t)
   (setq js2-highlight-external-variables nil)
   (setq js2-mode-show-parse-errors nil)
   (flycheck-add-mode 'javascript-eslint 'js2-mode)
   (flycheck-select-checker 'javascript-eslint)
+  (setq-default flycheck-disabled-checkers
+                (append flycheck-disabled-checkers '(json-jsonlist)))
+  (setq-default flycheck-disabled-checkers
+                (append flycheck-disabled-checkers '(javascript-jshint)))
+               
 
   ;; we're using eslint for parsing, so js2-can shut up
-  (setq js2-show-parse-errors nil)
+  (setq js2-mode-show-parse-errors nil)
   
   ;; remove trailing whitespace
   (add-hook 'local-write-file-hooks

	    (lambda()
	      (delete-trailing-whitespace)
	      nil))
  )  
(add-hook 'web-mode-hook  'gp-web-mode-hook)


;; adjust indents for json-mode to 2 spaces
(defun gp-json-mode-hook ()
  "hooks for json-mode."
  (make-local-variable 'js-indent-level)
  (setq js-indent-level 2))


  )

(defun gp-tern-setup ()
  "Setup tern.
Don't forget to create a .tern-project file in the root of your
javascript project.
http://ternjs.net/doc/manual.html#configuration"
  (add-hook 'js2-mode-hook (lambda () (gp-js2-mode-hook)))
  (eval-after-load 'tern
    '(progn
