(require 'fcuny-common) (use-package json-mode :after (flyspell flycheck) :custom (json-reformat:indent-width 2) (js-indent-level 2) :hook ((json-mode . flyspell-prog-mode) (json-mode . flycheck-mode)) :init (if (fcuny/check-work-machine-p) (add-to-list 'auto-mode-alist '("\\.workflow$" . json-mode)))) (provide 'fcuny-json)