Added pre-commit for tex linter and formatter
This commit is contained in:
parent
7c10723da7
commit
c84e0d76b8
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,5 +1,10 @@
|
|||
# Build artifacts
|
||||
result
|
||||
alejandro_resume.*
|
||||
!alejandro_resume.tex
|
||||
|
||||
# Editor settings
|
||||
.vim/
|
||||
|
||||
# latexindent logfile
|
||||
indent.log
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue