-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.lib / srcIssues and PRs related to general changes in the lib or src directory.Issues and PRs related to general changes in the lib or src directory.questionIssues that look for answers.Issues that look for answers.
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.
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.lib / srcIssues and PRs related to general changes in the lib or src directory.Issues and PRs related to general changes in the lib or src directory.questionIssues that look for answers.Issues that look for answers.