summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index d0e62208e..fb5afe7b9 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -83,6 +83,11 @@
(flycheck-checker . yaml-yamllint)))))
+ (json-mode
+ . ((eval . (progn
+ (setq-local js-indent-level 2)
+ (flycheck-checker . json-python-json)))))
+
(python-mode
. ((eval . (progn