Windows path correction.
[SquirrelJME.git] / nanocoat / .editorconfig
blobe26cc9743a36fc6554619b6679ee6c413e51c620
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
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 [*.css]
65 indent_style = space
67 [*.less]
68 indent_size = 2
69 indent_style = space
71 [*.sass]
72 indent_size = 2
73 indent_style = space
75 [*.scss]
76 indent_size = 2
77 indent_style = space
79 [*.styl]
80 indent_size = 2
81 indent_style = space
83 [.editorconfig]
85 [{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.qrc,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
87 [{*.bash,*.sh,*.zsh}]
89 [{*.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}]
91 [{*.cmake,CMakeLists.txt}]
93 [{*.comp,*.frag,*.fsh,*.geom,*.glsl,*.shader,*.tesc,*.tese,*.vert,*.vsh}]
94 indent_style = space
96 [{*.doclua,*.lua,*.wlua}]
97 indent_style = space
99 [{*.har,*.json}]
100 indent_size = 2
101 indent_style = space
103 [{*.htm,*.html,*.sht,*.shtm,*.shtml}]
104 indent_style = space
106 [{*.markdown,*.md,*.mkd,markdown}]
107 indent_style = space
109 [{*.mk,GNUmakefile,makefile}]
111 [{*.ps1,*.psd1,*.psm1}]
112 max_line_length = 115
114 [{*.py,*.pyw}]
115 indent_style = space
117 [{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}]
118 indent_size = 2