mirror of
https://github.com/searxng/searxng.git
synced 2025-07-10 06:49:21 +02:00
[fix] .editorconfig: correction of the settings from the realities (#4892)
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.10 (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.9 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.10 (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.9 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
The code formatter allows up to 120 characters per line, but for better readability the editor should prefer 80 characters per line In the HTML templates (jinja) we usually use an indentation of two and no tabs. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
6a2cb45791
commit
d0bb977c48
1 changed files with 5 additions and 2 deletions
|
@ -11,10 +11,13 @@ end_of_line = lf
|
|||
charset = utf-8
|
||||
|
||||
[*.py]
|
||||
max_line_length = 119
|
||||
# code formatter accepts length of 120, but editor should prefer 80
|
||||
max_line_length = 80
|
||||
|
||||
[*.html]
|
||||
indent_size = 4
|
||||
# in the jinja templates we use indent size of 2 and we do not use tabs
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.css]
|
||||
indent_size = 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue