Skip to content

Commit 20c7bd0

Browse files
committed
undo the flycheck hack. Closes #17
1 parent 86549c1 commit 20c7bd0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rjsx-mode.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ the `:around' combinator. JS2-PARSER is the original XML parser."
6060
"Remove the rjsx advice on the js2 parser. This will cause rjsx to stop working globally."
6161
(advice-remove 'js2-parse-xml-initializer #'rjsx-parse-xml-initializer))
6262

63-
(with-eval-after-load 'flycheck
64-
(dolist (checker flycheck-checkers)
65-
(when (memq 'js2-mode (flycheck-checker-get checker 'modes))
66-
(push 'rjsx-mode (flycheck-checker-get checker 'modes)))))
6763

6864
(defface rjsx-tag
6965
'((t . (:inherit font-lock-function-name-face)))

0 commit comments

Comments
 (0)