Welcome to the public Flycheck channel. Ask questions and discuss development. Please follow our Code of Conduct.
emacs -Q
and minimal initialization to get flycheck up and running)
flycheck-perl-executable
, I'm not defining my own checker.:standard-input t
set.flycheck-compile
shell-escapes the binary to execute without running expand-file-name
on it. When setting flycheck-perl-executable
to ~/bin/myperlcheck
or something like that, flycheck-compile
will escape that to \~/bin/myperlcheck
, and that will fail as there's no such binary.
~
? The problem otherwise is that if we get python3.5
as the checker name, don't find it in PATH
, and expand it to /the/current/directory/python3.5
, users will be mightily confused.
.dir-locals.el
https://pastebin.com/53XVB4g1, i.e. to disable flycheck for all "wscript" files? Also, what about disabling for "*.suffix" files?
php-phpcs
checker? I get an error when I run it with flycheck-compile
, but there are no errors in the list:Compilation started at Wed Nov 20 15:30:05
/home/abrick/bin/phpcs-core --report\=checkstyle -q --stdin-path\=REDACTED/src/Entity/Group.php - < REDACTED/src/Entity/Group.php
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="3.5.0">
<file name="src/Entity/Group.php">
<error line="6" column="1" severity="error" message="Use statements should be sorted alphabetically. The first wrong one is App\Constant\Role." source="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses"/>
</file>
</checkstyle>
Compilation exited abnormally with code 2 at Wed Nov 20 15:30:05
flycheck-current-errors is a variable defined in ‘flycheck.el’.
Its value is nil
Local in buffer Group.php; global value is the same.
Automatically becomes buffer-local when set.
Documentation:
A list of all errors and warnings in the current buffer.
Hello,
I just install flycheck
and I am trying to make it work with eslint but I for some reason it can't find the .eslintrc.js
in my project
This is what I get when I do verify setup
javascript-eslint (disabled)
- may enable: Automatically disabled!
- executable: Found at /usr/local/bin/eslint
- config file: missing or incorrect
Flycheck Mode is enabled. Use C-u C-c ! x to enable disabled
checkers.
--------------------
Flycheck version: 32snapshot (package: 20191121.2139)
Emacs version: 26.3
System: x86_64-apple-darwin18.2.0
Window system: ns
eslint -v v5.13.0
if that helps
flycheck-next-error
, it refuses to go on.flycheck-next-error
to work again. See the attached .gif. Do you guys have any clue where this comes from?
myproject/
as the project root, and I open myproject/mypackage/mymodule.py
, it is running mypy with myproject/mypackage/
as the default-directory instead of myproject/
.
.dir-locals
file, nor any mypy.ini
or setup.cfg
file in the project root. I see that the upcoming version 32 of flycheck will allow for better configuration for these landmark config files, but is there anything I can do now?