General refactor & cleanup

This commit is contained in:
Henrik Lissner 2017-09-02 16:39:51 +02:00
parent 20fd0e6778
commit d28c64b4fa
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 11 additions and 14 deletions

View file

@ -119,8 +119,9 @@
(set! :electric 'rjsx-mode :chars '(?\} ?\) ?. ?>))
;; disable electric keys (I use snippets and `emmet-mode' instead)
(define-key rjsx-mode-map "<" nil)
(define-key rjsx-mode-map (kbd "C-d") nil)
(map! :map rjsx-mode-map
"<" nil
"C-d" nil)
(add-hook! rjsx-mode
;; jshint doesn't really know how to deal with jsx
(push 'javascript-jshint flycheck-disabled-checkers)))