Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:56
    velicanu commented #1969
  • Aug 10 22:02
    velicanu commented #1969
  • Aug 10 21:40
  • Aug 10 17:01
    velicanu commented #1969
  • Aug 09 23:16
    velicanu labeled #1969
  • Aug 09 23:16
    velicanu opened #1969
  • Aug 08 14:12
  • Aug 03 03:09
    EmilySeville7cfg commented #1967
  • Aug 02 08:23
    gaetano-guerriero opened #1968
  • Aug 02 05:40
    EmilySeville7cfg commented #1967
  • Aug 02 05:05
    EmilySeville7cfg labeled #1967
  • Aug 02 05:05
    EmilySeville7cfg opened #1967
  • Aug 01 20:37
  • Aug 01 10:58
    bertulli commented #1954
  • Aug 01 10:58
    bertulli commented #1954
  • Jul 31 20:39
    DerickEddington starred flycheck/flycheck
  • Jul 31 18:48
    liuyinz closed #1896
  • Jul 31 03:02
    azzamsa commented #1927
  • Jul 31 01:51
    saltsucker commented #1927
procrastination_machine
@procrastination_machine:matrix.org
[m]
Hello
I'm using flycheck-irony for C++ and irony-server is checking for errors in my imported libraries. How do I disable these errors?
theM0ntarCann0n
@montarcannon
hello i have a question:
why emacs shows me "Bad request" error when i'm trying to install flycheck trough it's bulit-in package manager? emacs version is 26.1 and system is debian buster
theM0ntarCann0n
@montarcannon
how to fix it?
my idea is to install it manuallly
cause it worked for my in case of perlnow
*me
theM0ntarCann0n
@montarcannon
it was problem with my emacs. I fixed it.
Oleksii Filonenko
@Br1ght0ne
Hello everyone. Is there anything like vscode.languages.getDiagnostics() in Flycheck? I want to write a package to get the severity of errors in the current buffer.
I basically want a list of errors with their severity (hint, warning, error).
Thanks!
Fritz Meissner
@iftheshoefritz
hi folks, when there are multiple checkers available for a single language, what determines which of them is used by default in the appropriate mode?
I've seen flycheck-select-checker but that doesn't seem to persist beyond the current buffer
glines
@glines:matrix.org
[m]
Hey all 👋
I'm trying to implement a new checker and the cli command required takes in files as a required command line argument. I've gotten as far as setting up flycheck-define-checker and flycheck recognizes the checker but I'm not sure what to do about the files argument. Essentially, it's checking for a .toml file in the root of your project directory, which it detects and it should also detect all of the .lua files, in this case, in a specific file path. I've tried setting up flycheck-def-args-var and setting that but I can't seem to get to the root of the project programatically. Any feedback would be appreciated.
glines
@glines:matrix.org
[m]
I was able to get the above situation figured out. Now I'm having some issues with the :error-patterns field of flycheck-define-checker. The cli tool that I'm using outputs highly formatted errors. Is that a catch all sort of system that I can use so that the cli tool can use it's formatting but that I don't have to write insane patterns?
Specifically, flycheck shows this error after the cli throws it's errors Compilation exited abnormally with code 1 in the flycheck compilation window
glines
@glines:matrix.org
[m]
I've also tried using source inside of the :command argument with :standard-input set to nil (trying to get rid of the < character) with no luck.
/lib/sys
@freeman:matrix.cuatrolibertades.org
[m]
ehlo :)
how can I change directory for the exectution of my checker?
I'm using stylelint and it requires that I'm positioned on the path of .stylelintrc in order to read rules properly
milochadam
@milochadam
@freeman:matrix.cuatrolibertades.org Maybe you want to set flycheck-stylelintrc variable to .stylelintrc first? Unless you've done that already
Peter Stradinger
@emlprime
Hi. I've been trying to configure my emacs for flymake with javascript-eslint for a few hours now, and I'm running into a wall. Wondered if someone had time and willingness to point me to a solution.
I've searched stackoverflow, read the docs, looked through the diagnosis in C-c ! v. I think I know what the problem is, but I've been unable to fix it so far.
The most frustrating part is that I have a different project on the same machine with an older version of eslint that is working, but I can't figure out what the difference is.
Peter Stradinger
@emlprime
@BenKrocke Did you get an answer? I think I'm having the same problem
Peter Stradinger
@emlprime

Didn't find a "real" solution, but figured out that this function: (defun flycheck-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 nil t nil
"--print-config" "."))))

  (eq exitcode 0)))

Fails because newer versions of eslint require a filename instead of a directory. I fixed it locally by changing the "." argument to "./src/index.js" and recompiling the file with emacs-list-byte-compile

This works for every project I'm working on and enables the eslint checker in my buffers, so I'm happy for the moment.
𝓙𝓸𝓱𝓷𝓱𝓪𝓶𝓮𝓵𝓲𝓷𝓴
@johnhamelink:matrix.org
[m]
inceptor-untraversed
@inceptor-untraversed:matrix.org
[m]
Hello. I was wondering if I could ask the maintainers of the project to create a github release of a recent-ish snapshot of flycheck. While most people install flycheck via melpa, some distros like to include major emacs packages in their repos, and packaging it without a release makes this somewhat more messy.
The most recent github release is from 2017. Also the rules for gentoo packaging mean non "live" builds cannot pull directly from VCS, but I can just use a random recent snapshot if I must.
inceptor-untraversed
@inceptor-untraversed:matrix.org
[m]
This chat seems pretty inactive so I think I'll go ahead and make a github issue, don't take this as me nagging or spamming, I just figured I would try here first :)
the last message was from July!!!
Winston (Winny) Weinert
@winny-
Hi, is there a way to suppress certain flycheck errors from the default emacs lisp checker?
Joe Gomain Hoyes
@gomain
Hi, is there a way to navigate (some what flycheck-next-error) to the next error (i.e. red errors) skipping suggestions (i.e. green errors).
Aankhen
@Aankhen
I asked this question a while ago and wrote some :around advice as I thought I might have to, but it never worked properly and now it simply fails because (setf flycheck-error-level) apparently doesn’t exist. Is there a way to demote errors from a checker? In my case, I’d like to force all ESLint errors to the warning level instead of error.
arichiardi
@arichiardi:matrix.org
[m]

Hi all! If I have checker that returns this when calling flycheck-compile: condition-case: Cannot use syntax checker swagger-cli in this buffer

Does it mean I haven't configure it correctly?

never mind I found the issue, it's not related to flycheck :)

magoyette/flycheck-swagger-cli#2

Chris Clark
@cfclrk

Hey flycheck friends! Have any of you run into a situation where you want:

  • A certain flycheck checker disabled most of the time
  • Still retain the ability to manually run that checker

For example, I like having flycheck check my markdown files, but most of the time the markdown files I'm looking at are not under my control, and I don't want to be bothered with red squigglies everywhere. I only want to manually run the checker, sometimes, on a certain files.

Chris Clark
@cfclrk

I thought of a temporary solution (albeit without flycheck):

  1. Globally disable the checker. In my case:
    (setq-default flycheck-disabled-checkers '(markdown-markdownlint-cli))
  2. Manually run the linting CLI program on a file using M-! (that is, run-shell-command):
    markdownlint README.md

Of course, this bypasses all the wonderful things that flycheck could give me though (links to line numbers, etc).

Peter Oliver
@mavit
You could disable the checker globally, then switch it back on again for certain projects with .dir-locals.el.
Ignat Insarov
@kindaro
Is there a way to switch off some error levels? Specifically, I want to only display errors at this time. There are many warnings but I do not want to see or interact with any of them. How can I achieve that?
Marc Soda
@marcantonio
Hi all. Is it possible to get flycheck-list-errors to show all errors in a project?
Marc Soda
@marcantonio
As opposed to just the current buffer.
ir33k
@ir33k
Hello there :) I have troubles figuring out how to use multiple checkers at the same time. Currently only one "explicitly selected" checker from enabled checkers list is used. Is there some variable or function that I could use to select multiple checkers?
ir33k
@ir33k
Ok, I found flycheck-add-next-checker function that does exactly what I needed. Anyway thanks for awesome package ^v^
SylvianHemus
@SylvianHemus
Where's the manual
Lucius Hu
@lebensterben
Hi, flycheck-rust repo seems dead. Is it still maintained?
In particular, flycheck/flycheck-rust#82 makes it unusable.
I can take over the maintainance if the original maintainer is not available now.