Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] .editorconfig: correction of the settings from the realities (#4892)

Markus Heiserd0bb977c48f5
diff --git a/.editorconfig b/.editorconfig
index 772f3b5a9..6a1922ac7 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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