I 'm in the middle of review of my first packaged application and I’ll guess some of the comments and changes would have been easy catches for some automated tools. Discourse didn’t seem to contain anything about nixpkgs source code formatters nor code suggestion tools (e.g.
hlint used in Haskell / some other linter like tools).
nixpkgs-hint could have said that
You do not need to enable parallel building if you use `qmake`. Please, remove "enableParallelBuilding = true;" at line 15.
Similarly, a small & simple
nixpkgs-frm could have checked some formatting conventions. To be helpful, there is no need to be super good coverage of every possible rule. Even some editor style & color modes could do here.
What tools people use / are there any?
There is an old thread about formatters Formatting rules for Nixpkgs
One thing to add to formatter discussion: if people do ask on review for stylistic changes, it would be really cool to have a commonly accepted style guide.