File: Eldev

package info (click to toggle)
org-roam 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,976 kB
  • sloc: lisp: 4,861; makefile: 118; sh: 6
file content (29 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (2)
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
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-

;; explicitly set main file
(setf eldev-project-main-file "org-roam.el")

(eldev-use-package-archive 'gnu)
(eldev-use-package-archive 'melpa-unstable)

;; allow to load test helpers
(eldev-add-loading-roots 'test "test/utils")

;; Tell checkdoc not to demand two spaces after a period.
(setq sentence-end-double-space nil)

(setf eldev-lint-default '(elisp))
(setf eldev-standard-excludes `(:or ,eldev-standard-excludes "org-roam-macs.el"))

(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)))