github.com/rivy-go/git-changelog@v0.0.0-20240424224517-b86e6ab57773/.editorconfig (about) 1 # EditorConfig (is awesome): http://EditorConfig.org 2 3 # * top-most EditorConfig file 4 root = true 5 6 [*] 7 # default ~ utf-8, unix-style newlines with a newline ending every file, 4 space indentation, 100 character max line length (suggested) 8 charset = utf-8 9 end_of_line = lf 10 indent_size = 4 11 indent_style = space 12 insert_final_newline = true 13 max_line_length = 100 14 trim_trailing_whitespace = true 15 16 [[Mm]akefile{,.*}, *.{mk,[Mm][Kk]}] 17 # makefiles ~ TAB-style indentation 18 indent_style = tab 19 20 [*.{bat,cmd,[Bb][Aa][Tt],[Cc][Mm][Dd]}] 21 # BAT/CMD ~ DOS/Win requires BAT/CMD files to have CRLF EOLNs 22 end_of_line = crlf 23 24 [*.go] 25 # go ~ TAB-style indentation (SPACE-style alignment); ref: <https://blog.golang.org/gofmt>@@<https://archive.is/wip/9B6FC> 26 indent_style = tab 27 28 [*.{cjs,js,json,mjs,ts}] 29 # js/ts ~ Prettier/XO-style == TAB indention + SPACE alignment 30 indent_size = 2 31 indent_style = tab 32 33 [*.{markdown,md,mkd,[Mm][Dd],[Mm][Kk][Dd],[Mm][Dd][Oo][Ww][Nn],[Mm][Kk][Dd][Oo][Ww][Nn],[Mm][Aa][Rr][Kk][Dd][Oo][Ww][Nn]}] 34 # markdown 35 indent_size = 2 36 indent_style = space 37 38 [*.{yaml,yml,[Yy][Mm][Ll],[Yy][Aa][Mm][Ll]}] 39 # YAML 40 indent_size = 2 41 indent_style = space