Formatowanie kodu

EditorConfig - "standard" dla wszystkich edytorów pozwalający w spójny sposób edytowac plik, chcesz sprawdzić jak twój edytor obsługuje ten standard, wpisz w google np "notepad editorconfig" lub "phpstorm editorconfig" :)

Rekomendowana zawartość pliku .editorconfig

# EditorConfig is awesome: https://EditorConfig.org

# This is the top-most .editorconfig file; do not search in parent directories.
root = true

# All files.
[*]
end_of_line = LF
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

Edit on GitLab