Closed
Description
"How to write a test..." guide advises require
alphabetical sorting for new tests, but our codebase mostly does not follow this rule (some logical or random order is used).
I can try to revisit all require
sections in benchmarks, libs, and tests. And while I am at it, all these things also can be addressed:
- Sort.
- Up and consolidate all
require
in one place when it is appropriate (no conditionals involved). - Use destructuring.
- Insert a blank line after
require
section (not sure if any rules like this or this ones are required, but at least this can be unified).
However, this will be a time-consuming task, so I need to be sure if:
- This makes any sense and is not chasing my tail.
- Someone will have time to review.