Open zimbatm opened 5 years ago
This is going to be solved by adding nixpkgs-fmt as a pre-commit hook to nixpkgs.
@zimbatm can we start piece by piece? LIke based on each folder and then make pull Request?
It is because we need to test our nixpkgs-fmt again master branch everytime we have new release. And from what I see, we have like 11198/17542
result of formatting. I wonder if we make PR piece by piece, so the result number will be lower because te formatter will skipped the already corrected format.
what do you think?
I think the next step would be to open a RFC to get more community feedback.
Ideally, the formatting would only be enforced on files that have been changed on a PR so that the process is gradual.
Noted, agree about where to start formatting.
https://github.com/nrwl/precise-commits#why-precise-commits looks interesting for a gradual transition