-
Notifications
You must be signed in to change notification settings - Fork 17
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
undefined vars in .dir-locals.el break linting #83
Comments
Linter |
Here’s the branch where I added .dir-locals.el: https://github.com/sellout/agenix.el/tree/nix-flake So yeah … elisp seems to be the bulk of them. If I run At the moment, it looks like a general issue affecting all linters, so I’m inclined to think it is eldev somehow. But I’ll try to dig in deeper when I can. |
The problem appears to be that Elisp linter generates the autoloads file (even though the project doesn't have any autoloads) and then complains about it. Note that the linter tool hasn't seen any commits in quite a while, not sure how useful it is to report bugs in it. |
By the way, here is a bit of configuration from CIDER:
I guess autoloads are not generated by Elisp linter if |
…vating "Running linter..." message to the normal level and making it a section. (issue #83)
I have a .dir-locals.el in my project with
and
eldev lint doc elisp
dumps warnings`eldev lint` output
If I then remove the
(projectile-project-type . nix-flake)
line and re-runeldev lint
, it succeeds. Since I don’t have projectile loaded in the Emacs that eldev is using, I’m guessing that the undefined var is causing an error somewhere.I would assume the bug was in the linter, except that it seems to be happening with two different linters. Also, eldev doesn’t tell me which linter is reporting the warnings, so if this isn’t a bug in eldev, then consider this issue to be about reporting which sub-process eldev is running 😄
The text was updated successfully, but these errors were encountered: