github.com/KEINOS/go-countline@v1.1.1-0.20221217083629-60710df7606b/.editorconfig (about) 1 # ----------------------------------------------------------------------------- 2 # Editor settings 3 # ----------------------------------------------------------------------------- 4 5 # Treat this directory as the root of the project 6 root = true 7 8 [*] 9 indent_style = space 10 indent_size = 4 11 end_of_line = lf 12 charset = utf-8 13 trim_trailing_whitespace = true 14 insert_final_newline = true 15 16 [*.go] 17 indent_style = tab 18 19 [makefile] 20 indent_style = tab 21 22 [*.md] 23 indent_style = space 24 indent_size = 4 25 26 # Shell-format 27 [*.sh] 28 indent_style = space # shfmt -i=4 29 shell_variant = bash # shfmt -ln=bash 30 binary_next_line = true # shfmt -bn 31 switch_case_indent = true # shfmt -ci 32 space_redirects = false # shfmt -sr 33 keep_padding = true # shfmt -kp 34 function_next_line = false # disable shfmt -fn 35 36 [*.{yml,yaml}] 37 indent_style = space 38 indent_size = 2 39 insert_final_newline = true 40 quote_type = single