Skip to content

Instantly share code, notes, and snippets.

View jordantorreon's full-sized avatar

Jordan Torreon jordantorreon

View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active October 19, 2024 15:53
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active September 24, 2024 14:49
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for...i or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem