diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c5d9ecbabb..25bf639dd5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -97,29 +97,29 @@ This ensures your functional changes aren't obscured by formatting changes elsew Organize `#include` directives in the following order, with blank lines between groups: -1. **System headers** (C standard library, C++ STL): +1. **Local OPM headers** (from this module): ```cpp - #include - #include - #include + #include + #include ``` -2. **External library headers** (Dune, etc.): - ```cpp - #include - #include - ``` - -3. **OPM headers from other modules**: +2. **OPM headers from other modules**: ```cpp #include #include ``` -4. **Local OPM headers** (from this module): +3. **External library headers** (Dune, etc.): ```cpp - #include - #include + #include + #include + ``` + +4. **System headers** (C standard library, C++ STL): + ```cpp + #include + #include + #include ``` Within each group, maintain **alphabetical order**.