[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp Linter fail to identify function defined in a "use-packag
From: |
Emanuel Berg |
Subject: |
Re: Emacs Lisp Linter fail to identify function defined in a "use-package" block |
Date: |
Wed, 08 Nov 2023 09:56:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Richard Stallman wrote:
> I thought that the need for a separate `lint' program was
> a design flaw, so instead of writing a free `lint' for GNU,
> I made GCC report those possible errors. Thus, the GNU
> system did not need a `lint' program. You only needed to run
> one program over your C source, that being GCC, and it would
> do both jobs. That proved to be a big improvement.
I agree it would be beneficial to have it all in one and only
one place.
In vanilla Emacs, warnings and suggestions are or can be
outputted from:
- checkdoc.el
- elint.el
- the byte compiler
- the native compiler
In MELPA there are:
- elisp-lint [1]
- package-lint [2]
elisp-lint has the advantage that it is a meta-linter of sort,
as it also outputs warnings from the byte compiler, from
checkdoc, and package-lint.
[1] https://github.com/gonewest818/elisp-lint/
[2] https://github.com/purcell/package-lint
--
underground experts united
https://dataswamp.org/~incal