Revise .editorconfig#1334
Conversation
This overhauls the `.editorconfig`: * Flip the way indent sizes are specified: use a global default of `indent_size`, and only list exceptions for different file types, instead of having no global default and needing to specify a value for every file type present in the repo. * Add entries for some `.git/` files such as `COMMIT_EDITMSG`. * Streamline comments.
There was a problem hiding this comment.
Code Review
This pull request simplifies the .editorconfig file by establishing a global default indentation size of 4 and removing redundant language-specific overrides. However, removing the overrides for C++ ([{*.cc,*.h}]) and reStructuredText ([*.rst]) files inadvertently changes their indentation settings from 2 and 3 to the new default of 4. It is recommended to retain these specific exceptions to maintain functional equivalence with the original configuration.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This overhauls the
.editorconfigfile:Flip the way indent sizes are specified: use a global default of
indent_size, and only list exceptions for different file types, instead of having no global default and needing to specify a value for every file type present in the repo. This simplifies the file and is more maintainable.Add entries for some
.git/files such asCOMMIT_EDITMSG.Streamline comments.