Skip to content
Browse files

fix: flymake reports errors although the syntax is all right

  • Loading branch information...
1 parent 502a3d4 commit 810b947f7749743ea666ec4f77f9ae5955e774f4 @abicky abicky committed Sep 15, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 jsx-mode.el
View
5 jsx-mode.el
@@ -673,7 +673,10 @@ make a JS script in the same directory, and run it."
temp-file
(file-name-directory buffer-file-name))))
(list jsx-cmd (append jsx-cmd-options
- (list "--mode" jsx-syntax-check-mode local-file)))))
+ (list
+ "--mode" jsx-syntax-check-mode
+ "--output" "/dev/null"
+ local-file)))))
(defun jsx--get-errs-for-current-line ()
"Return the list of errors/warnings for the current line"

0 comments on commit 810b947

Please sign in to comment.
Something went wrong with that request. Please try again.