diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..f18e0f5f1e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# Configures default editor settings for the repository. +# To learn more, visit the EditorConfig website: https://editorconfig.org. + +# This is top-most EditorConfig file for the repository. +root = true + +# Default configuration for all files in the repository. +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space + +# Configuration for common code and data file formats. +[*.{css,dart,json,yaml,yml}] +indent_size = 2 +trim_trailing_whitespace = true