Skip to content

Commit

Permalink
Fix eslint checker for eslint >= 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienCassou committed Jul 8, 2019
1 parent 07e972c commit bcde20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flycheck.el
Expand Up @@ -8623,7 +8623,7 @@ for more information about the custom directories."
"Whether there is a valid eslint config for the current buffer."
(let* ((executable (flycheck-find-checker-executable 'javascript-eslint))
(exitcode (and executable (call-process executable nil nil nil
"--print-config" "."))))
"--print-config" (buffer-file-name)))))
(eq exitcode 0)))

(defun flycheck-parse-eslint (output checker buffer)
Expand Down

0 comments on commit bcde20d

Please sign in to comment.