# EditorConfig is awesome: https://EditorConfig.org root = true # for all files [*] indent_style = space indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true # JavaScript [{*.js,*.ts}] indent_style = space indent_size = 2 [*.json] indent_style = tab indent_size = 4 [{package.json,tsconfig.json}] indent_style = space indent_size = 2 # Markdown [*.md] trim_trailing_whitespace = false