mirror of
https://git.piraattipuolue.fi/mikaela/testi.git
synced 2024-11-23 06:09:28 +01:00
pre-commit
This commit is contained in:
parent
bc14448c9b
commit
ab667a0208
@ -8,7 +8,7 @@ charset = utf-8
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[*.{markdown,md}]
|
||||
[*.{markdown,md,tex}]
|
||||
trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -300,4 +300,3 @@ TSWLatexianTemp*
|
||||
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
|
||||
# Uncomment the next line to have this generated file ignored.
|
||||
#*Notes.bib
|
||||
|
||||
|
30
.pre-commit-config.yaml
Normal file
30
.pre-commit-config.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
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
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-shebang-scripts-are-executable
|
||||
- id: destroyed-symlinks
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-byte-order-marker
|
||||
- id: trailing-whitespace
|
||||
exclude_types: [tsv, markdown]
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.0-alpha.9-for-vscode"
|
||||
hooks:
|
||||
- id: prettier
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.1"
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
@ -48,4 +48,3 @@ Phone: 555-555-5555
|
||||
\end{center}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
@ -37,4 +37,3 @@ Phone: 555-555-5555
|
||||
\end{center}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
@ -41,4 +41,3 @@ President, Feline Friends Association
|
||||
|
||||
\end{center}
|
||||
\end{document}
|
||||
|
||||
|
@ -49,4 +49,3 @@ Website: www.humanrights.org
|
||||
|
||||
\end{center}
|
||||
\end{document}
|
||||
|
||||
|
@ -44,4 +44,3 @@
|
||||
\end{itemize}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
@ -53,4 +53,3 @@ Phone: 555-555-5555
|
||||
\end{center}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user