-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
34 lines (27 loc) · 1.38 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Editor configuration, see https://editorconfig.org
# This comment indicates that this file follows the EditorConfig standard and provides a link for more information.
root = true # Indicates that this is the root EditorConfig file and no other .editorconfig files should be used beyond this directory.
[*]
charset = utf-8 # Character encoding for all files
indent_style = tab # Use tabs for indentation
indent_size = 4 # Tab width equivalent to 4 spaces
end_of_line = lf # Line endings set to LF (Unix style)
insert_final_newline = true # Ensure a final newline in all files
trim_trailing_whitespace = true # Remove trailing whitespace
[*.md]
trim_trailing_whitespace = false # Allow trailing whitespace in Markdown (for visual alignment)
[*.{yml,yaml}]
indent_style = space # Use spaces for YAML files
indent_size = 2 # YAML convention: 2 spaces
[*.json]
indent_style = space # Use spaces for JSON files
indent_size = 2 # JSON convention: 2 spaces
[*.{html,css,scss,astro}]
indent_style = tab # Tabs for HTML, CSS, SCSS, and Astro
indent_size = 4 # Consistent tab width
[*.ts]
indent_style = tab # Tabs for TypeScript
indent_size = 4
[*.js]
indent_style = tab # Tabs for JavaScript
indent_size = 4