editorconfig
Inhaltsverzeichnis
EditorConfig
Die EditorConfig (.editorconfig) ist eine Konfigurationsdatei, welche für einen einheitlichen und konsistenten Code Style sorgen soll.
Beispiele
Basis
- .editorconfig
root = true [*] charset = utf-8 end_of_line = lf indent_size = 4 indent_style = space insert_final_newline = true trim_trailing_whitespace = true
Ausführlich
- .editorconfig
root = true [*] charset = utf-8 end_of_line = lf indent_size = 4 indent_style = space insert_final_newline = true trim_trailing_whitespace = true [*.{md,mdx}] trim_trailing_whitespace = false [*.{toml,ini}] indent_size = 2 [*.{json,webmanifest}] indent_size = 2 [*.{yaml,yml}] indent_size = 2 indent_style = space [*.{xml,svg}] indent_size = 2 [*.{html,css,js,jsx,ts,tsx}] indent_size = 4 [*.{sh,ps1}] end_of_line = lf [*.{cmd,bat}] end_of_line = crlf [Makefile] indent_style = tab
/home/http/wiki/data/pages/editorconfig.txt · Zuletzt geändert: von david
