# EditorConfig is awesome: https://EditorConfig.org

# EditorConfig helps developers define and maintain consistent coding
# styles between different editors and IDEs. The EditorConfig project
# consists of a file format for defining coding styles and a collection
# of text editor plugins that enable editors to read the file format
# and adhere to defined styles. EditorConfig files are easily readable
# and they work nicely with version control systems.

# Full list of properties at
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties

# top-most EditorConfig file
root = true

########################################################################
[*]
# Let's encode the whole world with UTF-8
charset = utf-8

# Windows-style newlines (see RFC 678, RFC 2046, RFC 2646, ...)
end_of_line = crlf

# with a newline ending every file (see POSIX)
insert_final_newline = true

# Maximum 72 characters per line (see RFC 678, RFC 2046, RFC 2646, ...)
max_line_length = 72

# Remove all trailing whitespaces from files
trim_trailing_whitespace = true

########################################################################
[*.md]
# Four spaces are defined as the unit of indentation.
indent_size = 4

# Tabs seems to be 4 spaces for Markdown (see
# https://daringfireball.net/projects/markdown/syntax) but due to RFC
# 678, RFC 2046, RFC 2646, ... I've decided that indent style uses
# spaces and horizontal tab is set to 8 characters
indent_style = space
tab_width = 8
