1*defc5574Snerun# EditorConfig is awesome: https://editorconfig.org 2*defc5574Snerun 3*defc5574Snerun# top-most EditorConfig file 4*defc5574Snerunroot = true 5*defc5574Snerun 6*defc5574Snerun# For all files 7*defc5574Snerun[*] 8*defc5574Snerunend_of_line = lf # Unix-style line ending 9*defc5574Sneruninsert_final_newline = true # Unix-style newline ending every file 10*defc5574Sneruntrim_trailing_whitespace = true # Automatically removes trailing whitespace 11*defc5574Sneruncharset = utf-8 # Set default charset 12*defc5574Snerunindent_style = space # soft tabs 13*defc5574Snerunindent_size = 4 # 4 space indentation 14*defc5574Snerun 15*defc5574Snerun[*.{md,tex}] 16*defc5574Sneruntrim_trailing_whitespace = false # Don't removes trailing whitespace 17*defc5574Snerun 18*defc5574Snerun# Matches multiple files with brace expansion notation 19*defc5574Snerun[*.{json,yml,yaml,js,ts,jsx,tsx}] 20*defc5574Snerunindent_size = 2 21*defc5574Snerun 22*defc5574Snerun# Python files 23*defc5574Snerun[*.py] 24*defc5574Snerunmax_line_length = 88 25