Skip to content

Commit 76e8059

Browse files
committed
config: update editor settings to use spaces
- EditorConfig: change indent_style from tab to space with size 2 - VSCode settings: enforce spaces, disable indentation detection - Ensure consistent space indentation across all editors
1 parent c5f99d1 commit 76e8059

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
root = true
33

44
[*]
5-
indent_style = tab
5+
indent_style = space
6+
indent_size = 2
67
end_of_line = lf
78
charset = utf-8
89
trim_trailing_whitespace = true

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"files.associations": {
33
"wrangler.json": "jsonc"
4-
}
4+
},
5+
"editor.insertSpaces": true,
6+
"editor.tabSize": 2,
7+
"editor.detectIndentation": false
58
}

0 commit comments

Comments
 (0)