# https://editorconfig.org # Caveat for property "trim_trailing_whitespace": Prettier won’t trim trailing whitespace inside template strings, but your editor might. # ↓ Stop the editor from looking for .editorconfig files in the parent directories (Should only include this line in the top-most .editorconfig file) root = true [*] # ↓ Non-configurable Prettier behaviors (You SHOULD NOT change these) charset = utf-8 insert_final_newline = true # ↓ Configurable Prettier behaviors (You MAY change these) end_of_line = lf indent_size = 2 indent_style = space max_line_length = 100 # ↓ This is not an official properties of EditorConfig, but seems prettier will respect this # Read more: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#ideas-for-domain-specific-properties quote_type = single trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false [COMMIT_EDITMSG] max_line_length = 80