style(vscode): add EditorConfig extension recommendation

As Visual Studio Code is the most popular editor at the moment, it makes
sense to recommend the EditorConfig extension because it's not included
by default. Also enable the final newline in files again as that was the
default until the EditorConfig file was added.
This commit is contained in:
Thomas Frans
2024-05-18 21:37:24 +02:00
committed by Henrik Friedrichsen
parent ae5e8ef055
commit dc64a2941d
4 changed files with 9 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ root = true
indent_style = space
indent_size = 4
charset = utf-8
insert_final_newline = false
insert_final_newline = true
[*.rs]
max_line_length = 100

2
.gitignore vendored
View File

@@ -10,8 +10,6 @@
tags
/.vscode/
# Ignore generated resources
*.1
/misc/_ncspot

3
.vscode/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
/*
!/.gitignore
!/extensions.json

5
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"recommendations": [
"editorconfig.editorconfig"
]
}