 (ac-config-default)
 
 (add-hook 'after-init-hook #'global-flycheck-mode)
+;; disable jshint since we prefer eslint checking
+(setq-default flycheck-disabled-checkers
+  (append flycheck-disabled-checkers
+    '(javascript-jshint)))
+;; use eslint with web-mode for jsx files
+(flycheck-add-mode 'javascript-eslint 'web-mode)

  (interactive)
  (find-file "~/DropBox/TaskTracking/projects.txt"))

; Add a person to the Names.txt file if they aren't already in there. 
(defun addperson (name)
  (if (member name (read-lines "~/DropBox/TaskTracking/Names.txt")) 
      nil
    (append-file name "~/DropBox/TaskTracking/Names.txt")))


(setq show-trailing-whitespace t)
(setq whitespace-line-column 100)

;; Dealing with tab and space issues
(setq c-default-style "gnu"
          c-basic-offset 4)
; Don't use tabs
