-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.editorconfig
42 lines (33 loc) · 854 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# EditorConfig is awesome: http://editorConfig.org
# Usage with your editor: http://editorconfig.org/#download
# Top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.{js,jsx,json,html}]
indent_style = space
indent_size = 4
[*.yml]
indent_style = space
indent_size = 2
[*.scss]
indent_style = space
indent_size = 2
[.eslintrc.json]
indent_style = space
indent_size = 2
# The indentation in package.json will always need to be 2 spaces
# https://github.com/npm/npm/issues/4718
[package*.json]
indent_style = space
indent_size = 2
[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
[*.md]
indent_style = tab
# Don't trim trailing whitespace in Markdown (they are used to force line breaks)
trim_trailing_whitespace = false