github.com/hedzr/evendeep@v0.4.8/.editorconfig (about) 1 # EditorConfig is awesome: https://EditorConfig.org 2 3 # top-most EditorConfig file 4 root = true 5 6 [*] 7 charset = utf-8 8 end_of_line = lf 9 indent_size = 4 10 indent_style = space 11 insert_final_newline = false 12 trim_trailing_whitespace = false 13 max_line_length = 120 14 tab_width = 4 15 16 [{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}] 17 indent_size = 2 18 tab_width = 2 19 indent_style = space 20 insert_final_newline = true 21 trim_trailing_whitespace = true 22 23 [*.{adoc, asc, asciidoc}] 24 indent_size = 4 25 indent_style = tab 26 trim_trailing_whitespace = false 27 insert_final_newline = false 28 ij_any_wrap_long_lines = true 29 30 [*.{md,markdown,mkd}] 31 # double whitespace at end of line 32 # denotes a line break in Markdown 33 indent_size = 4 34 indent_style = tab 35 trim_trailing_whitespace = false 36 insert_final_newline = false 37 38 [*.{h,hh,hpp,hxx,c,cc,cpp,cxx,inl,ixx,mxx,cppm}] 39 indent_size = 4 40 indent_style = space 41 tab_width = 4 42 43 [*.go] 44 indent_size = 4 45 indent_style = tab 46 47 [go.{sum,mod,work}] 48 indent_style = tab 49 indent_size = 4 50 51 [*.rb] 52 indent_size = 4 53 indent_style = tab 54 55 [Vagrantfile] 56 indent_size = 4 57 indent_style = tab 58 59 [{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] 60 indent_size = 2 61 indent_style = space 62 tab_width = 2 63 64 [CMakeLists.txt] 65 indent_style = tab 66 indent_size = 4 67 68 [Makefile] 69 indent_style = tab 70 indent_size = 4 71 72 [*.{Makefile,mak,mk,make,cmake}] 73 indent_style = tab 74 indent_size = 4 75 76 [*.{sh,bash,zsh,fish}] 77 indent_size = 2 78 indent_style = tab 79 tab_width = 2 80 trim_trailing_whitespace = false 81 insert_final_newline = false 82 83 [*.toml] 84 indent_style = space 85 indent_size = 4 86 trim_trailing_whitespace = true 87 insert_final_newline = true 88 89 [*.{js,jsx}] 90 indent_size = 2 91 indent_style = space 92 93 [*.{S,s,ASM,asm,gas,mac,inc}] 94 indent_size = 4 95 indent_style = tab 96 97 [*.rs] 98 indent_style = tab 99 indent_size = 4