summaryrefslogtreecommitdiff
path: root/lisp/json.el
blob: d1093cfccf1cfcad6c00f0a098911d8f15b21baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

;;; Code:
(add-to-list 'auto-mode-alist '(".eslintrc'" . json-mode))

(require 'flycheck)
(flycheck-add-mode 'json-jslint 'json-mode)

(defun my-json-mode-hook ()
	"Turn off eglot in JSON mode."
	(require 'eglot)
	(flymake-mode 0)
	)

(add-hook 'json-mode-hook 'my-json-mode-hook)

(provide 'json)
;;; json.el ends here