Skip to content

Commit efc75bc

Browse files
committed
chore(.editorconfig): add SOON_ standard editor config file
1 parent 13db1b3 commit efc75bc

File tree

1 file changed

+47
-6
lines changed

1 file changed

+47
-6
lines changed

.editorconfig

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,54 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# ____ __ __ __ _
2+
# / ___) / \ / \ ( ( \
3+
# \___ \( O )( O )/ / ____
4+
# (____/ \__/ \__/ \_)__)(____)
5+
#
6+
# SOON_ Cross team root editorconfig configuration
7+
# Projects can also have a local .editorconfig to customise syntax
8+
#
9+
10+
# top-most EditorConfig file
211
root = true
312

13+
# Unix-style newlines with a newline ending every file
414
[*]
5-
charset = utf-8
15+
end_of_line = lf
16+
insert_final_newline = true
17+
18+
# Backend Languages (Python, Go, Ruby etc)
19+
20+
# Python
21+
[*.py]
22+
indent_style = space
23+
indent_size = 4
24+
line_length=80
25+
multi_line_output=3
26+
default_section=THIRDPARTY
27+
import_heading_stdlib=Standard Libs
28+
import_heading_thirdparty=Third Party Libs
29+
import_heading_firstparty=First Party Libs
30+
lines_after_imports=2
31+
32+
# Ruby
33+
[{*.rb,Vagrantfile}]
634
indent_style = space
735
indent_size = 2
8-
insert_final_newline = true
36+
37+
# Front End Languages (HTML, JS/TS, CSS etc)
38+
39+
[*.{js, ts, css, html}]
40+
indent_style = space
41+
indent_size = 2
42+
charset = utf-8
943
trim_trailing_whitespace = true
1044

11-
[*.md]
12-
max_line_length = off
13-
trim_trailing_whitespace = false
45+
## JS/TS
46+
[*.{js, ts}]
47+
quote_type = single
48+
49+
# Misc
50+
51+
# YAML Based files - 2 space indent
52+
[*.{yml, yaml, sls}]
53+
indent_style = space
54+
indent_size = 2

0 commit comments

Comments
 (0)