root = true [*] charset = utf-8 indent_style = space indent_size = 4 end_of_line = lf max_line_length = 127 insert_final_newline = true trim_trailing_whitespace = true [*.java] indent_size = 4 max_line_length = 100 [*.py] indent_size = 2 [*.gradle] indent_size = 4 [*.html] indent_size = 2 insert_final_newline = false trim_trailing_whitespace = false [*.js] indent_size = 2 [*.css] # CSS files typically use an indent size of 2 spaces for better readability and alignment with community standards. indent_size = 2 [*.yaml] # YAML files use an indent size of 2 spaces to maintain consistency with common YAML formatting practices. indent_size = 2 insert_final_newline = false trim_trailing_whitespace = false [*.yml] # YML files follow the same conventions as YAML files, using an indent size of 2 spaces. indent_size = 2 insert_final_newline = false trim_trailing_whitespace = false [*.json] # JSON files use an indent size of 2 spaces, which is the standard for JSON formatting. indent_size = 2 [*.jsonc] # JSONC (JSON with comments) files also follow the standard JSON formatting with an indent size of 2 spaces. indent_size = 2