New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it changeable flycheck temporary files path? #1446
Comments
You are using the There is no option to change the directory of temporary files that are created using In this case, You can try changing the Otherwise, I would recommend to instruct your test runner to ignore some files (most file watchers should have this option for various reasons). cc @Simplify |
@fmdkdd Thank you. I just changed |
If you want to make it permanent, then you could copy and paste the whole checker definition into your own Emacs configuration. It would override the built-in Flycheck But maybe we have to rethink this |
I'll prefer @everedifice Temporally files that Flycheck generates are in format |
Chiming in with another case where the current status quo is painful. I'm using Tide together with Flycheck on an application that was bootstrapped with
I think this is a race condition somewhere: the watcher notices the file, but fails to open it because it's already gone, and this error propagates all the way up. The annoyance with this is that the one As far as I can tell, there's no way of handling this in tool configuration currently. Excludes are only picked up from I'm not really sure where and how this should be fixed, though. I suppose TSLint being capable of handling stdin (palantir/tslint#1590) would be the best. In the meanwhile I think that |
You can target the
If you do that after the checker is defined, it should work. But I'm more interested in finding a proper solution that would work for everyone out of the box. |
Can you expand on this part? Is the issue that tslint doesn't report errors for excluded files, even if you pass them explicitly? |
@fmdkdd If that does work (EDIT: confirmed, it does) then it's certainly more robust, thanks. @cpitclaudel Yes, that's how it works at least as of TSLint 5.9.1. As is easily demonstrated: $ echo 'const x = 1' > x.ts
$ echo '{"rules": {"semicolon":"true"}}' > tslint.json
$ tslint x.ts
ERROR: x.ts[1, 12]: Missing semicolon
$ echo '{"rules": {"semicolon":"true"}, "linterOptions": {"exclude": ["x.ts"]}}' > tslint.json
$ tslint x.ts
[no output] |
Thanks. It looks like there's progress on the tslint side, so hopefully we'll soon have a much better solution (palantir/tslint#3816) |
As mention in GH-1472, I'll like to revert |
I was unfortunately not able to solve this any other way flycheck/flycheck#1446
I was unfortunately not able to solve this any other way flycheck/flycheck#1446
Just hit the issue. I was working on pylint (but if it was not a linter, it would have be the same), and flycheck created a flycheck_similar.py file near similar.py file, which pylint spotted as a plugin to load, but failed loading it (as "both" use the same optparse things, there's a conflict which raises an exception). |
Karam test runner watching my source directory to rerun test suite.
flycheck makes temporary files to same directory with source code.
so the test runner run tests every key typing and finally process die.
I had use option for
prefix
but it doesn't help.because the test runner watching entire source directory.
can i change path of flycheck temporary files?
The text was updated successfully, but these errors were encountered: