1 # ---------------------------------------------------------------------------
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 ###
15 insert_final_newline = true
19 trim_trailing_whitespace = true
21 # Batch files are Windows specific
24 insert_final_newline = unset
27 # Standard source code
28 [*.{md,mkd,c,cpp,h,java,js,json,j,sh,xpm,gradle,cxx,hxx}]
32 # Markdown may be in UTF-8, but uses different indentation depending on context
37 # YAML uses a bit of a different format compared to the others
42 # These files should _NEVER_ be re-formatted or touched
43 [*.{svg,__mime,in,glyph,bitmap,gpl,gpg,properties,jar}]
45 insert_final_newline = 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
79 [{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.qrc,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
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}]
90 [{*.doclua,*.lua,*.wlua}]
97 [{*.htm,*.html,*.sht,*.shtm,*.shtml}]
100 [{*.markdown,*.md,*.mkd,markdown}]
103 [{*.mk,GNUmakefile,makefile}]
105 [{*.ps1,*.psd1,*.psm1}]
106 max_line_length = 115
111 [{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}]