Skip to main content
Module

x/xdg/.editorconfig

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
File
# EditorConfig (is awesome): http://EditorConfig.org
# * top-most EditorConfig fileroot = true
[*]# default ~ utf-8, unix-style newlines with a newline ending every file, 4 space indentationcharset = utf-8end_of_line = lfindent_size = 2indent_style = spaceinsert_final_newline = truemax_line_length = 100trim_trailing_whitespace = true
[[Mm]akefile{,.*}, *.{mk,[Mm][Kk]}]# makefiles ~ TAB-style indentationindent_style = tab
[*.{bat,cmd,[Bb][Aa][Tt],[Cc][Mm][Dd]}]# BAT/CMD ~ DOS/Win requires BAT/CMD files to have CRLF EOLNsend_of_line = crlf
[*.go]# go ~ TAB-style indentation (SPACE-style alignment); ref: <https://blog.golang.org/gofmt>@@<https://archive.is/wip/9B6FC>indent_style = tab
[*.{cjs,js,json,mjs,ts}]# js/ts ~ Prettier/XO-style == TAB indention + SPACE alignmentindent_style = tab
[*.{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]}]# markdownindent_size = 2indent_style = space
[*.{yaml,yml,[Yy][Mm][Ll],[Yy][Aa][Mm][Ll]}]# YAMLindent_size = 2indent_style = space