gopkg.in/hedzr/errors.v3@v3.3.1/.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 [{.zshrc,.zprofile,.zshenv,zshrc,zprofile,zshenv}] 84 indent_size = 2 85 indent_style = tab 86 tab_width = 2 87 trim_trailing_whitespace = false 88 insert_final_newline = false 89 90 [{.env,.env.local,installer,bash.config,ops}] 91 indent_size = 2 92 indent_style = tab 93 tab_width = 2 94 trim_trailing_whitespace = false 95 insert_final_newline = false 96 97 [*.toml] 98 indent_style = space 99 indent_size = 4 100 trim_trailing_whitespace = true 101 insert_final_newline = true 102 103 [*.{js,jsx}] 104 indent_size = 2 105 indent_style = space 106 107 [*.{S,s,ASM,asm,gas,mac,inc}] 108 indent_size = 4 109 indent_style = tab 110 111 [*.rs] 112 indent_style = tab 113 indent_size = 4 114 115 [*.{l,ll,lex,y,yy,yacc}] 116 indent_style = tab 117 indent_size = 4 118 119 [*.g4] 120 end_of_line = lf 121 trim_trailing_whitespace = true 122 indent_style = space 123 indent_size = 4