# SPDX-FileCopyrightText: Chris Wilson <christopher.david.wilson@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

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

# top-most EditorConfig file
root = true

[*]
charset = utf-8
insert_final_newline = true
# Caveat: Prettier won’t trim trailing whitespace inside template strings
trim_trailing_whitespace = true

# Prettier will parse the following properties and use them as config
# https://prettier.io/docs/en/configuration.html#editorconfig
end_of_line = lf
indent_style = space
indent_size = 2
# tab_width defaults to indent_size when unset
max_line_length = 80

# Python
[*.py]
indent_size = 4
max_line_length = 79

# Markdown
[*.md]
max_line_length = unset
