File tree 1 file changed +13
-31
lines changed
1 file changed +13
-31
lines changed Original file line number Diff line number Diff line change 1
- # https://editorconfig.org/
1
+ # .editorconfig maintains consistent coding styles between different editors.
2
+ # Get plugins at http://editorconfig.org/
3
+ # - Sublime text: https://github.com/sindresorhus/editorconfig-sublime
4
+ # - Notepad++: https://github.com/editorconfig/editorconfig-notepad-plus-plus
2
5
3
6
root = true
4
7
5
8
[* ]
6
- indent_style = space
7
- indent_size = 4
9
+ end_of_line = lf
8
10
insert_final_newline = true
9
11
trim_trailing_whitespace = true
10
- end_of_line = lf
11
12
charset = utf-8
12
-
13
- # Docstrings and comments use max_line_length = 79
14
- [* .py ]
15
- max_line_length = 119
16
-
17
- # Use 2 spaces for the HTML files
18
- [* .html ]
19
- indent_size = 2
20
-
21
- # The JSON files contain newlines inconsistently
22
- [* .json ]
13
+ indent_style = space
23
14
indent_size = 2
24
- insert_final_newline = ignore
25
15
26
- [** /admin/js/vendor/** ]
27
- indent_style = ignore
28
- indent_size = ignore
29
-
30
- # Minified JavaScript files shouldn't be changed
31
- [** .min.js ]
32
- indent_style = ignore
33
- insert_final_newline = ignore
16
+ [* .py ]
17
+ indent_size = 4
34
18
35
- # Makefiles always use tabs for indentation
36
19
[Makefile ]
37
20
indent_style = tab
21
+ indent_size = 4
38
22
39
- # Batch files use tabs for indentation
40
- [* .bat ]
41
- indent_style = tab
42
-
43
- [docs/** .txt ]
44
- max_line_length = 79
23
+ # Markdown files require trailing whitespace
24
+ # http://robandlauren.com/2013/11/21/configuring-sublime-text-markdown/
25
+ [* .md ]
26
+ trim_trailing_whitespace = false
You can’t perform that action at this time.
0 commit comments