-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
25 lines (21 loc) · 943 Bytes
/
.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
# https://editorconfig.org
# Caveat for property "trim_trailing_whitespace": Prettier won’t trim trailing whitespace inside template strings, but your editor might.
# ↓ Stop the editor from looking for .editorconfig files in the parent directories (Should only include this line in the top-most .editorconfig file)
root = true
[*]
# ↓ Non-configurable Prettier behaviors (You SHOULD NOT change these)
charset = utf-8
insert_final_newline = true
# ↓ Configurable Prettier behaviors (You MAY change these)
end_of_line = lf
indent_size = 2
indent_style = space
max_line_length = 100
# ↓ This is not an official properties of EditorConfig, but seems prettier will respect this
# Read more: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#ideas-for-domain-specific-properties
quote_type = single
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[COMMIT_EDITMSG]
max_line_length = 80