Compare commits
3 Commits
ab667a0208
...
7175e402fb
Author | SHA1 | Date |
---|---|---|
Aminda Suomalainen ⚧ | 7175e402fb | |
Aminda Suomalainen ⚧ | 57200a00c5 | |
Aminda Suomalainen ⚧ | bbba9092f4 |
|
@ -1,3 +1,5 @@
|
|||
# See https://editorconfig.org for more information
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
|
@ -8,7 +10,7 @@ charset = utf-8
|
|||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[*.{markdown,md,tex}]
|
||||
[*.{markdown,md,tex,yaml}]
|
||||
trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
# See https://www.git-scm.com/docs/gitattributes#_effects for more information
|
||||
* text=auto eol=lf linguist-detectable
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.ci for more information
|
||||
ci:
|
||||
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
||||
# the frequency of unnecessary PRs.
|
||||
# https://github.com/pre-commit-ci/issues/issues/83
|
||||
autoupdate_schedule: quarterly
|
||||
skip: [pdflatex]
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
|
@ -10,6 +13,7 @@ repos:
|
|||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-yaml
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-shebang-scripts-are-executable
|
||||
- id: destroyed-symlinks
|
||||
|
@ -28,3 +32,12 @@ repos:
|
|||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pdflatex
|
||||
name: pdflatex draft mode
|
||||
entry: pdflatex
|
||||
args: ["-draftmode", "-halt-on-error"]
|
||||
language: system
|
||||
types: [tex]
|
||||
|
|
Loading…
Reference in New Issue