-
Notifications
You must be signed in to change notification settings - Fork 51
/
.editorconfig
26 lines (21 loc) · 649 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
26
# EditorConfig is awesome: https://github.com/editorconfig/editorconfig
# Top-most EditorConfig file
root = true
[*.{js,jsx,ts,tsx}]
quote_type = single
[*]
# Set default charset to utf-8
charset = utf-8
# Set default indentation to spaces
indent_style = space
# Linux-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
# Remove whitespace characters preceding newline characters
trim_trailing_whitespace = true
# Two space indentation for JavaScript files
[*.{js,json}]
indent_size = 2
# Disable trimming trailing whitespaces so that double space newlines work
[*.md]
trim_trailing_whitespace = false