Copy over for emscripten build?
[SquirrelJME.git] / .editorconfig
blob8e2d4795cd7ec9dae4cfeee1aa12073392d4c742
1 # ---------------------------------------------------------------------------
2 # SquirrelJME
3 #     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 # ---------------------------------------------------------------------------
5 # SquirrelJME is under the Mozilla Public License Version 2.0.
6 # See license.mkd for licensing and copyright information.
7 # ---------------------------------------------------------------------------
8 # DESCRIPTION: EditorConfig Stylization <https://editorconfig.org/>
10 ### GLOBAL PROJECT SETTINGS ###
11 root = true
13 [*]
14 end_of_line = lf
15 insert_final_newline = true
16 tab_width = 4
17 indent_size = 4
18 max_line_length = 79
19 trim_trailing_whitespace = true
21 # Batch files are Windows specific
22 [*.bat]
23 end_of_line = crlf
24 insert_final_newline = unset
25 indent_style = unset
27 # Standard source code
28 [*.{md,mkd,c,cpp,h,java,js,json,j,sh,xpm,gradle}]
29 charset = latin1
30 indent_style = tab
31 trim_trailing_whitespace = false
32 curly_bracket_next_line = true
33 spaces_around_operators = false
34 spaces_around_brackets = false
35 indent_brace_style = Allman
36 wildcard_import_limit = 0
38 # Markdown may be in UTF-8, but uses different indentation depending on context
39 [*.{md,mkd}]
40 charset = utf-8
41 indent_style = unset
43 # YAML uses a bit of a different format compared to the others
44 [*.{yml,yaml}]
45 indent_size = 2
46 indent_style = tab
48 # These files should _NEVER_ be re-formatted or touched
49 [*.{svg,__mime,in,glyph,bitmap,gpl,gpg,properties,jar}]
50 end_of_line = unset
51 insert_final_newline = unset
52 charset = unset
53 indent_size = unset
54 indent_style = unset
55 tab_width = unset
56 max_line_length = unset
57 trim_trailing_whitespace = unset
58 curly_bracket_next_line = unset
59 spaces_around_operators = unset
60 spaces_around_brackets = unset
61 indent_brace_style = unset
62 wildcard_import_limit = unset
64 # Ruby files
65 [*.rb]
66 tab_width = 2
67 indent_size = 2
68 indent_style = space