docs: update contributing/formatting

This commit is contained in:
Samuel Shuert 2024-05-05 18:36:10 +00:00 committed by Auxolotl Wiki
parent a115c837e6
commit 731c1d22ae

View file

@ -2,19 +2,31 @@
title: .editorconfig
description: Formatting standards using .editorconfig
published: true
date: 2024-05-05T18:30:37.455Z
date: 2024-05-05T18:36:09.521Z
tags:
editor: markdown
dateCreated: 2024-05-05T18:30:37.455Z
---
# Standardization
These .editorconfig files are broken down into language specific sections. Always include this global portion:
These .editorconfig files are broken down into language specific sections.
Always include this global portion:
```editorconfig
root = true
[*]
charset = "utf-8"
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
```
---
Following here is the per language additions:
## Nix
```editorconfig
[*.nix]
indent_style = space
indext_size = 2
insert_final_newline = false
```