lang/javascript: use correct hooks for jsx-mode #540
This commit is contained in:
parent
da7975feff
commit
c08f6b25d9
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue