  'gitconfig-mode
  'gitignore-mode
  'jinja2-mode
+ 'js2-mode
+ 'json-mode
  'markdown-mode
  'scss-mode
  'web-mode

;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; swap some keys on OS X
(setq mac-command-modifier 'meta)
(setq mac-control-modifier 'control)

(ensure-package-installed 'flycheck)
(require 'flycheck)
(add-hook 'after-init-hook #'global-flycheck-mode)
(flycheck-add-mode 'javascript-eslint 'web-mode)

;; HACK aim linter executables at project-specific scripts
(setq flycheck-javascript-eslint-executable "~/code/10stories/run_eslint.sh")
(setq flycheck-python-pylint-executable "~/code/10stories/run_pylint.sh")


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
