Skip to content

Add pre-commit-elisp#604

Open
jamescherti wants to merge 1 commit into
emacs-tw:masterfrom
jamescherti:pre-commit-elisp
Open

Add pre-commit-elisp#604
jamescherti wants to merge 1 commit into
emacs-tw:masterfrom
jamescherti:pre-commit-elisp

Conversation

@jamescherti
Copy link
Copy Markdown
Contributor

@jamescherti jamescherti commented May 22, 2026

The pre-commit-elisp repository offers pre-commit hooks for Emacs Lisp (Elisp) projects. These hooks enforce code quality and consistency by performing automated checks on .el files prior to committing changes:

  • elisp-check-parens: Validates that all parentheses in .el files are correctly balanced.
  • elisp-check-byte-compile: Byte-compile Elisp files to detect compilation errors.
  • elisp-check-native-compile: Native-compile Elisp files to detect compilation errors.
  • elisp-indent: Indent Elisp files according to Emacs Lisp style conventions.

These pre-commit hooks enforce syntactic correctness, successful byte-compilation, and consistent code formatting, ensuring a high standard of code quality and maintainability throughout the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant