; EditorConfig is awesome: http://EditorConfig.org ; top-most EditorConfig file root = true ; Unix-style newlines with a newline ending every file [*] ; end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true ; 4 space indentation [*.py] indent_style = space indent_size = 4 ; Tab indentation (no size specified) [*.js] ; indent_style = tab indent_style = space indent_size = 4 ; Indentation override for all JS under lib directory [lib/**.js] indent_style = space indent_size = 2