.editorconfig & .pre-commit: max line length && prettier

This commit is contained in:
Aminda Suomalainen 2023-04-04 12:50:24 +03:00
parent 79d95baa48
commit 886569d07f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 6 additions and 3 deletions

View File

@ -10,6 +10,7 @@ charset = utf-8
# Accessibility reasons. Vim: :%retab! (note also :set ts=4) # Accessibility reasons. Vim: :%retab! (note also :set ts=4)
indent_style = space indent_style = space
#tab_width = #tab_width =
max_line_length = 78
[*.{markdown,md}] [*.{markdown,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
@ -18,3 +19,4 @@ trim_trailing_whitespace = false
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
trim_trailing_whitespace = false trim_trailing_whitespace = false
max_line_length =

View File

@ -19,6 +19,7 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length]
- repo: https://github.com/thlorenz/doctoc - repo: https://github.com/thlorenz/doctoc
rev: v2.2.0 rev: v2.2.0
hooks: hooks:

View File

@ -7,9 +7,9 @@
<body> <body>
<p> <p>
<em <em
>Come, pity poor Etro, she was left all alone. Her blood pouring forth, >Come, pity poor Etro, she was left all alone. Her blood pouring
in Chaos to atone. Queen of nothing, goddess of death—so let her be forth, in Chaos to atone. Queen of nothing, goddess of death—so let
known.</em her be known.</em
> >
</p> </p>
<p> <p>