(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

@ -155,7 +155,8 @@ function elisp-checkdoc-file {
(when makem-checkdoc-errors-p
(kill-emacs 1))))
(setq checkdoc-spellcheck-documentation-flag t)
(setq sentence-end-double-space nil)
(setq checkdoc-spellcheck-documentation-flag nil)
(makem-checkdoc-files-and-exit)
EOF
echo $file
@ -325,7 +326,7 @@ function dirnames {
function filter-files-exclude-default {
# Filter out paths (STDIN) which should be excluded by default.
egrep -v "(/\.cask/|-autoloads.el|.dir-locals)"
egrep -v "(/\.cask/|-autoloads.el|-macs.el|.dir-locals)"
}
function filter-files-exclude-args {
@ -694,7 +695,7 @@ function lint {
lint-checkdoc
lint-compile
lint-declare
lint-indent
# lint-indent
lint-package
lint-regexps
}