mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
CONTRIBUTING: discourage style reviews not based on written rules
This commit is contained in:
parent
554be64955
commit
1543459f99
1 changed files with 6 additions and 0 deletions
|
|
@ -661,6 +661,12 @@ If you have any problems with formatting, please ping the [formatting team](http
|
|||
As an exception, an explicit conditional expression with null can be used when fixing a important bug without triggering a mass rebuild.
|
||||
If this is done a follow up pull request _should_ be created to change the code to `lib.optional(s)`.
|
||||
|
||||
- Any style choices not covered here but that can be expressed as general rules should be left at the discretion of the authors of changes and _not_ commented in reviews.
|
||||
The purpose of this is:
|
||||
- to avoid churn as contributors with different style preferences undo each other's changes,
|
||||
- to ensure that style rules are written down and consistent (and can thus be followed when authoring changes, reducing review cycles),
|
||||
- and to encourage reviews to focus on more impactful considerations.
|
||||
|
||||
# Practical contributing advice
|
||||
|
||||
To contribute effectively and efficiently, you need to be aware of how the process generally works.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue