(internal): make lint errors fail CI, and disable spellcheck during linting (#561)

- make lint errors fail CI
- disable indentation linting
- disable package linting for org-roam-macs.el
- disable spellcheck for checkdoc
- fixes compilation errors
This commit is contained in:
Jethro Kuan
2020-05-04 15:17:39 +08:00
committed by GitHub
parent a723199d68
commit 7df50c14ec
12 changed files with 56 additions and 53 deletions

View File

@ -1,4 +1,4 @@
;;; org-roam-dialies.el --- Roam Research replica with Org-mode -*- coding: utf-8; lexical-binding: t -*-
;;; org-roam-dailies.el --- Roam Research replica with Org-mode -*- coding: utf-8; lexical-binding: t -*-
;;;
;; Copyright © 2020 Jethro Kuan <jethrokuan95@gmail.com>
@ -52,7 +52,7 @@
(org-roam-capture--info (list (cons 'time time)))
(org-roam-capture--context 'dailies))
(add-hook 'org-capture-after-finalize-hook #'org-roam-capture--find-file-h)
(org-roam--capture)))
(org-roam-capture--capture)))
(defun org-roam-dailies-today ()
"Create and find the daily note for today."
@ -69,7 +69,7 @@ With numeric argument N, use N days in the future."
"Create and find the file for yesterday.
With numeric argument N, use N days in the past."
(interactive "p")
(org-roam-tomorrow (- n)))
(org-roam-dailies-tomorrow (- n)))
(defun org-roam-dailies-date ()
"Create the file for any date using the calendar interface."
@ -78,4 +78,5 @@ With numeric argument N, use N days in the past."
(org-roam-dailies--file-for-time time)))
(provide 'org-roam-dailies)
;;; org-roam-dailies.el ends here