branch: elpa/cider
commit f44f57a52a794dc6c5551a653ec7e8ac26f72581
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Replace elisp-lint with built-in checkdoc linter
    
    elisp-lint was configured to only run checkdoc and indentation
    checks (with package-lint, fill-column, and byte-compile disabled).
    Replace it with Eldev's built-in checkdoc linter directly, which
    is simpler and avoids the elisp-lint dependency.
---
 Eldev | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Eldev b/Eldev
index 908d9e33160..9ffad6929ff 100644
--- a/Eldev
+++ b/Eldev
@@ -67,8 +67,6 @@
 ;; CIDER cannot be compiled otherwise.
 (setf eldev-build-load-before-byte-compiling t)
 
-(setf eldev-lint-default '(elisp))
-(with-eval-after-load 'elisp-lint
-  ;; We will byte-compile with Eldev.
-  (setf elisp-lint-ignored-validators '("package-lint" "fill-column" 
"byte-compile")
-        enable-local-variables        :safe))
+;; package-lint is disabled because nrepl-*.el files intentionally use
+;; the `nrepl-' prefix instead of the `cider-' package prefix.
+(setf eldev-lint-default '(checkdoc))

Reply via email to