Quellcode durchsuchen

chore: Add .editorconfig to enforce consistent styling (#12021)

Github respects editorconfig settings. Adding indent_size as 4 in
settings makes github indent code to 4 columns.
version-14
Leela vadlamudi vor 4 Jahren
committed by GitHub
Ursprung
Commit
e760c39c68
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
  1. +14
    -0
      .editorconfig

+ 14
- 0
.editorconfig Datei anzeigen

@@ -0,0 +1,14 @@
# Root editor config file
root = true

# Common settings
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

# python, js indentation settings
[{*.py,*.js}]
indent_style = tab
indent_size = 4

Laden…
Abbrechen
Speichern