(require 'fcuny-defuns) (use-package js-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$" . js-mode)))) (provide 'fcuny-json)