1 2 3 4 5 6 7 8 9 10 11 12 13 14
;;; Code: (add-to-list 'auto-mode-alist '(".eslintrc'" . json-mode)) (defun my-json-mode-hook () "Turn off eglot in JSON mode." (flymake-mode 0) (flycheck-mode 0) ) (add-hook 'json-mode-hook 'my-json-mode-hook) (provide 'json) ;;; json.el ends here