Added pre-commit for tex linter and formatter

This commit is contained in:
Alejandro Angulo 2022-12-20 18:18:43 -08:00
parent 7c10723da7
commit c84e0d76b8
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 16 additions and 0 deletions

5
.gitignore vendored
View file

@ -1,5 +1,10 @@
# Build artifacts
result
alejandro_resume.*
!alejandro_resume.tex
# Editor settings
.vim/
# latexindent logfile
indent.log

View file

@ -10,3 +10,14 @@ repos:
rev: 3.0.0
hooks:
- id: alejandra-system
- repo: https://github.com/cmhughes/latexindent.pl
rev: V3.19.1
hooks:
- id: latexindent
- repo: local
hooks:
- id: chktex
name: chktex
entry: chktex
language: system
types: [tex]