# EditorConfig is awesome: https://editorconfig.org # top-most EditorConfig file root = true # For all files [*] end_of_line = lf # Unix-style line ending insert_final_newline = true # Unix-style newline ending every file trim_trailing_whitespace = true # Automatically removes trailing whitespace charset = utf-8 # Set default charset indent_style = space # soft tabs indent_size = 4 # 4 space indentation [*.{md,tex}] trim_trailing_whitespace = false # Don't removes trailing whitespace # Matches multiple files with brace expansion notation [*.{json,yml,yaml,js,ts,jsx,tsx}] indent_size = 2 # Python files [*.py] max_line_length = 88