Skip to content

Commit f0fbe1f

Browse files
committed
Make S.Anand .editorconfig as default
1 parent 653c4fb commit f0fbe1f

File tree

1 file changed

+13
-31
lines changed

1 file changed

+13
-31
lines changed

.editorconfig

+13-31
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,26 @@
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
25

36
root = true
47

58
[*]
6-
indent_style = space
7-
indent_size = 4
9+
end_of_line = lf
810
insert_final_newline = true
911
trim_trailing_whitespace = true
10-
end_of_line = lf
1112
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
2314
indent_size = 2
24-
insert_final_newline = ignore
2515

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
3418

35-
# Makefiles always use tabs for indentation
3619
[Makefile]
3720
indent_style = tab
21+
indent_size = 4
3822

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

0 commit comments

Comments
 (0)