Indentations break the feed.
[SquirrelJME.git] / emulators / emulator-base-native / .editorconfig
blobe5a99d4bb45c4cedbf61d42bf7d4a773bb8f8997
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,cxx,hxx}]
29 charset = latin1
30 indent_style = tab
32 # Markdown may be in UTF-8, but uses different indentation depending on context
33 [*.{md,mkd}]
34 charset = utf-8
35 indent_style = unset
37 # YAML uses a bit of a different format compared to the others
38 [*.{yml,yaml}]
39 indent_size = 2
40 indent_style = tab
42 # These files should _NEVER_ be re-formatted or touched
43 [*.{svg,__mime,in,glyph,bitmap,gpl,gpg,properties,jar}]
44 end_of_line = unset
45 insert_final_newline = unset
46 charset = unset
47 indent_size = unset
48 indent_style = unset
49 tab_width = unset
50 max_line_length = unset
51 trim_trailing_whitespace = unset
52 curly_bracket_next_line = unset
53 spaces_around_operators = unset
54 spaces_around_brackets = unset
55 indent_brace_style = unset
56 wildcard_import_limit = unset
58 [*.css]
59 indent_style = space
61 [*.less]
62 indent_size = 2
63 indent_style = space
65 [*.sass]
66 indent_size = 2
67 indent_style = space
69 [*.scss]
70 indent_size = 2
71 indent_style = space
73 [*.styl]
74 indent_size = 2
75 indent_style = space
77 [.editorconfig]
79 [{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.qrc,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
81 [{*.bash,*.sh,*.zsh}]
83 [{*.c,*.c++,*.cc,*.cp,*.cpp,*.cu,*.cuh,*.cxx,*.h,*.h++,*.hh,*.hp,*.hpp,*.hxx,*.i,*.icc,*.ii,*.inl,*.ino,*.ipp,*.m,*.mm,*.pch,*.tcc,*.tpp}]
85 [{*.cmake,CMakeLists.txt}]
87 [{*.comp,*.frag,*.fsh,*.geom,*.glsl,*.shader,*.tesc,*.tese,*.vert,*.vsh}]
88 indent_style = space
90 [{*.doclua,*.lua,*.wlua}]
91 indent_style = space
93 [{*.har,*.json}]
94 indent_size = 2
95 indent_style = space
97 [{*.htm,*.html,*.sht,*.shtm,*.shtml}]
98 indent_style = space
100 [{*.markdown,*.md,*.mkd,markdown}]
101 indent_style = space
103 [{*.mk,GNUmakefile,makefile}]
105 [{*.ps1,*.psd1,*.psm1}]
106 max_line_length = 115
108 [{*.py,*.pyw}]
109 indent_style = space
111 [{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}]
112 indent_size = 2