-
Notifications
You must be signed in to change notification settings - Fork 2
/
Eldev
36 lines (26 loc) · 1.24 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
; -*- mode: emacs-lisp; lexical-binding: t -*-
(eldev-require-version "0.5")
;; For `let-alist' on older Emacs versions.
(eldev-use-package-archive 'gnu)
(eldev-use-package-archive 'melpa)
(eldev-use-plugin 'autoloads)
;; Avoid including files in test "projects".
(setf eldev-standard-excludes (append eldev-standard-excludes '("./test/*/")))
;; (setf eldev-standard-excludes `(:or ,eldev-standard-excludes "org-roam-macs.el"))
;; Tell checkdoc not to demand two spaces after a period.
;; (setq sentence-end-double-space nil)
;; (setq-default indent-tabs-mode nil)
;; (setf eldev-lint-default '(elisp))
;; ;; Optional dependencies, which we install so that we can test them
;; (eldev-add-extra-dependencies 'test 'ido-completing-read+)
;; (with-eval-after-load 'elisp-lint
;; ;; We will byte-compile with Eldev.
;; (setf elisp-lint-ignored-validators '("package-lint" "fill-column")
;; enable-local-variables :all))
;; ;; Teach linter how to properly indent emacsql vectors
;; (eldev-add-extra-dependencies 'lint 'emacsql)
;; (add-hook 'eldev-lint-hook
;; (lambda ()
;; (eldev-load-project-dependencies 'lint nil t)
;; (require 'emacsql)
;; (call-interactively #'emacsql-fix-vector-indentation)))