You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following predicate returns false when running eslint version 6.1.0:
(defunflycheck-eslint-config-exists-p ()
"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 nilnilnil"--print-config""."))))
(eq exitcode 0)))
Running the equivalent command from the command line returns non-zero:
$ eslint --print-config .
Oops! Something went wrong! :(
ESLint: 6.1.0.
The '--print-config' CLI option requires a path to a source code file rather than a directory.
See also: https://eslint.org/docs/user-guide/command-line-interface#--print-config
$ echo$?
2
On Ubuntu 18.04.2 LTS.
In Emacs, M-x flycheck-verify-setup
Syntax checkers for buffer server.js in js-mode:
javascript-eslint (disabled)
- may enable: Automatically disabled!
- executable: Found at /home/and/.nvm/versions/node/v10.16.0/bin/eslint
- config file: missing or incorrect
javascript-jshint (disabled)
- may enable: Automatically disabled!
- executable: Not found
- configuration file: Not found
javascript-jscs (disabled)
- may enable: Automatically disabled!
- executable: Not found
- configuration file: Not found
javascript-standard (disabled)
- may enable: Automatically disabled!
- executable: Not found
Flycheck Mode is enabled. Use C-u C-c ! x to enable disabled
checkers.
--------------------
Flycheck version: 31
Emacs version: 25.2.2
System: x86_64-pc-linux-gnu
Window system: x
The text was updated successfully, but these errors were encountered:
The following predicate returns false when running eslint version 6.1.0:
Running the equivalent command from the command line returns non-zero:
On Ubuntu 18.04.2 LTS.
In Emacs,
M-x flycheck-verify-setup
The text was updated successfully, but these errors were encountered: