This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Improve Code Quality #3377
Labels
1 - Request
A request made by a member of the community
type:housekeeping
Code cleanup and refactoring
Some of these are pretty big, so feel free to create separate issues for them when you start working on them
Entrypoint/main function first
All other functions below it in order they are called
This way, code is ordered in the direction it is executed - easier to read and reason about
Use just "undefined" wherever possible for consistency and to avoid the need to constantly check for both ===undefined and ===null
- [ ] Add social media optimization https://socialsharepreview.com/ (i.e, when a link to specify is shared with someone in slack)
npm outdated
or https://www.npmjs.com/package/npm-check-updatesObject.fromEntries(Object.entries().map(([key,value])=>[key, remap(key,value)] as const))
is used (i.e, values in an object are changed, but keys remain the same)while (true) {...}
orfor (;;){...}
as they cause optimizer to bail out thus bad for performance.finally()
instead of long.then().catch()
chains{ id__in: ids.join(',') }
instead of separate request for each IDnpm install
on dependency changesThe text was updated successfully, but these errors were encountered: