generated from habedi/template-rust-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
34 lines (27 loc) · 736 Bytes
/
.editorconfig
File metadata and controls
34 lines (27 loc) · 736 Bytes
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
# EditorConfig is awesome: https://EditorConfig.org
# Top-most EditorConfig file
root = true
# Global settings (applicable to all files unless overridden)
[*]
charset = utf-8 # Default character encoding
end_of_line = lf # Use LF for line endings (Unix-style)
indent_style = space # Use spaces for indentation
indent_size = 4 # Default indentation size
insert_final_newline = true # Make sure files end with a newline
trim_trailing_whitespace = true # Remove trailing whitespace
# Java files
[*.{java,gradle}]
max_line_length = 100
# Markdown files
[*.md]
max_line_length = 130
trim_trailing_whitespace = false
# Bash scripts
[*.sh]
indent_size = 2
# YAML files
[*.{yaml,yml}]
indent_size = 2
# XML files
[*.xml]
indent_size = 2