mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/javascript: use correct hooks for jsx-mode #540
This commit is contained in:
@ -140,7 +140,7 @@
|
||||
"<" nil
|
||||
"C-d" nil)
|
||||
(add-hook! rjsx-mode
|
||||
#'(flycheck-mode set-up-tide-mode add-node-modules-path rainbow-delimiters-mode)
|
||||
#'(flycheck-mode rainbow-delimiters-mode +javascript|add-node-modules-path)
|
||||
;; jshint doesn't really know how to deal with jsx
|
||||
(push 'javascript-jshint flycheck-disabled-checkers)))
|
||||
|
||||
|
Reference in New Issue
Block a user