| 1 |
; -*- mode: emacs-lisp; lexical-binding: t -*- |
| 2 |
|
| 3 |
(eldev-require-version "1.6") |
| 4 |
|
| 5 |
(eldev-use-package-archive 'gnu-elpa) |
| 6 |
(eldev-use-package-archive 'nongnu-elpa) |
| 7 |
(eldev-use-package-archive 'melpa) |
| 8 |
|
| 9 |
(eldev-use-plugin 'autoloads) |
| 10 |
|
| 11 |
(eldev-add-extra-dependencies 'test 'paredit 'buttercup) |
| 12 |
|
| 13 |
;; Disable GPG signature verification for package installation in CI. |
| 14 |
;; Emacs 29 on Windows fails to verify signatures from the nongnu ELPA archive. |
| 15 |
(when (getenv "CI") |
| 16 |
(setq package-check-signature nil)) |
| 17 |
|
| 18 |
(setq byte-compile-docstring-max-column 240) |
| 19 |
(setq checkdoc-force-docstrings-flag nil) |
| 20 |
(setq checkdoc-permit-comma-termination-flag t) |
| 21 |
(setq checkdoc--interactive-docstring-flag nil) |
| 22 |
|
| 23 |
(setf eldev-lint-default '(elisp)) |
| 24 |
|
| 25 |
(with-eval-after-load 'elisp-lint |
| 26 |
;; We will byte-compile with Eldev. |
| 27 |
(setf elisp-lint-ignored-validators '("package-lint" "fill-column" "byte-compile" "checkdoc") |
| 28 |
enable-local-variables :safe |
| 29 |
elisp-lint-indent-specs '((define-clojure-indent . 0)))) |
| 30 |
|
| 31 |
(setq eldev-project-main-file "clojure-mode.el") |