cxxxr / sblint

A linter for Common Lisp source code using SBCL
120 stars 6 forks source link

Does this work when using it with a directory not used in roswell? #2

Open ahungry opened 7 years ago

ahungry commented 7 years ago

I'm new to sblint and roswell. I followed the install guide, and attempted to lint my project https://github.com/ahungry/ahungry-fleece . Unfortunately, upon each package that should have been quickloaded, I had to manually ros install <package>.

I got as far as when a file in my repository uses some sb-cover functionality, and sblint complains of sb-cover missing (a contrib module from SBCL, normally used in a fresh image via (require 'sb-cover)).

Any advice?

ahungry commented 6 years ago

Hah, forgot I filed this - same issue persists as I have come back to this almost a year later. I attempted to sblint a project directory that had not been ros install'ed previously, and I get undefined package warnings, and a failure for the sblint program to lint my source code at all.

While it is a nice feature, to lint based on the actual runtime, I feel the program should be able to lint pure source / s-exp input in a manner similar to the Emacs Lisp linting provided by flycheck/flymake programs, where if certain things are omitted entirely (docblocks etc.) or incorrect styling, the user receives a message about them missing.