Skip to content

Instantly share code, notes, and snippets.

View davejsdev's full-sized avatar

David Leger davejsdev

View GitHub Profile
@davejsdev
davejsdev / README.md
Created September 29, 2025 17:16
Biome rule to disallow throwing errors.

noThrow

Biome rule that disallows the use of the keyword throw in JavaScript/TypeScript.

Using the beta version of Biome Linter Plugins. Will try to update when plugins are stable.

Motivation

Disallowing throw ensures that functions can't throw unexpected errors that

@davejsdev
davejsdev / aws-favourite-accounts.css
Last active March 10, 2025 05:14
AWS Access Portal Favourite Accounts (Arc Boost): moves favourited accounts to the top of the list and greys out non-favourited accounts.
[data-testid="account-list"] {
display: grid;
}
/* Order favourites first */
.favourite {
order: 1;
}
.non-favourite {