docs: update contributing/formatting/code
This commit is contained in:
parent
7895a5d26b
commit
b4e2682890
|
@ -2,16 +2,14 @@
|
||||||
title: .editorconfig
|
title: .editorconfig
|
||||||
description: Formatting standards using .editorconfig
|
description: Formatting standards using .editorconfig
|
||||||
published: true
|
published: true
|
||||||
date: 2024-05-05T20:57:44.538Z
|
date: 2024-05-05T21:02:56.241Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2024-05-05T18:30:37.455Z
|
dateCreated: 2024-05-05T18:30:37.455Z
|
||||||
---
|
---
|
||||||
|
|
||||||
# Standardization
|
# Global
|
||||||
These .editorconfig files are broken down into language specific sections.
|
Start your `.editorconfig` file with this:
|
||||||
|
|
||||||
Always include this global portion:
|
|
||||||
```editorconfig
|
```editorconfig
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
|
@ -22,6 +20,8 @@ end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
indent_style = space
|
indent_style = space
|
||||||
```
|
```
|
||||||
|
And add any additional types you need from below, making sure to seperate each section with a new line.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Programming Languages
|
# Programming Languages
|
||||||
|
|
Loading…
Reference in a new issue