-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathEldev
25 lines (18 loc) · 834 Bytes
/
Eldev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
(eldev-require-version "0.6")
(eldev-use-package-archive 'gnu)
;; For compatibility; e.g. with MELPA Stable one test fails.
(eldev-use-package-archive 'melpa-unstable)
(eldev-use-plugin 'autoloads)
;; (eldev-add-extra-dependencies 'test 'a)
;; CIDER cannot be compiled otherwise.
(setf eldev-build-load-before-byte-compiling t)
(setq byte-compile-docstring-max-column 240)
(setq checkdoc-force-docstrings-flag nil)
(setq checkdoc-permit-comma-termination-flag t)
(setq checkdoc--interactive-docstring-flag nil)
(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" "checkdoc")
enable-local-variables :safe))