               (use-package eslintd-fix
                 :functions eslintd-fix
                 :config
-                (eslintd-fix-mode t)
+                (eslintd-fix-mode 1)
                 (bind-keys :map js-mode-map
                            ("C-c C-f" . eslintd-fix)))
 
               (use-package tern
-                :config (tern-mode t))
+                :config (tern-mode 1))
 
               (use-package company-tern
                 :config (add-to-list 'company-backends 'company-tern))
 
-              (flycheck-mode t)))
+              (flycheck-mode 1)))
 
 ;; TypeScript
 (use-package typescript-mode

             ("C-c b"   . ts-send-buffer)
             ("C-c C-b" . ts-send-buffer-and-go)
             ("C-c l"   . ts-load-file-and-go))
  (add-hook 'typescript-mode-hook #'(lambda () (flycheck-mode t))))

(use-package tide
  :after typescript-mode
  :config (add-hook 'typescript-mode-hook
                    #'(lambda ()
                        (tide-setup)
                        (tide-hl-identifier-mode t)))

  (add-hook 'before-save-hook 'tide-format-before-save)



;; Lisp
(dolist (hook '(lisp-mode-hook))
  (add-hook hook #'(lambda () (flycheck-mode 1))))
(bind-keys :map emacs-lisp-mode-map
           ("C-c e c" . emacs-lisp-byte-compile)
           ("C-c e l" . emacs-lisp-byte-compile-and-load))
