This is the long-awaited rework of RFC 101, to establish an official and standard Nix formatting and formatter. In short:
Define the initial standard Nix format
Establish the Nix formatter team
Cr...
The leading comma style was a lesser-evil workaround for the lack of trailing commas in the Nix language. Now that the language has this feature, there is no reason to keep it that way anymore.
About time they decide to format nixpkgs. That is such a mess at the moment and gives reviewers the ability to nitpick and force their own style - of course every reviewer has a different style. Only took them ~25 years, but they’re getting there 👏
A default line length of 100 characters? Wow, they’re moving with times. None of that 80 character archaicness 👍
source
Amazing! Finally that terrible style is out.
About time they decide to format nixpkgs. That is such a mess at the moment and gives reviewers the ability to nitpick and force their own style - of course every reviewer has a different style. Only took them ~25 years, but they’re getting there 👏
Good job on getting this through.
CC BY-NC-SA 4.0