         js-doc
         js2-mode
         js2-refactor
+        tern
         web-beautify
         web-mode
         ))

  (add-hook 'react-mode-hook 'spacemacs/js2-refactor-require)
  (spacemacs/js2-refactor-set-key-bindings 'react-mode))

(defun react/post-init-web-beautify ()
  (evil-leader/set-key-for-mode 'react-mode  "m=" 'web-beautify-js))


    (spacemacs|add-company-hook react-mode))

  (defun react/post-init-company-tern ()
    (push 'company-tern company-backends-react-mode)))

(defun react/pre-init-flycheck ()
