# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true # Universal settings [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true indent_style = space # Python files [*.py] indent_size = 4 max_line_length = 120 # TypeScript, JavaScript, JSX, TSX files [*.{ts,tsx,js,jsx}] indent_size = 2 max_line_length = 100 # JSON, YAML files [*.{json,yml,yaml}] indent_size = 2 # HTML, CSS, SCSS files [*.{html,css,scss}] indent_size = 2 # Markdown files [*.md] trim_trailing_whitespace = false max_line_length = 120 # PowerShell scripts [*.{ps1,psm1}] end_of_line = crlf # Windows batch files [*.{bat,cmd}] end_of_line = crlf # Makefiles [Makefile] indent_style = tab