Daniel Talks Code
danieltalkscode.com
Daniel Talks Code
@danieltalkscode.com
Reposted by Daniel Talks Code
Also, run ESLint with --report-unused-disable-directives to get notified of obsolete eslint-ignore comments.
Lil’ TypeScript tip: Instead of using `@ts-ignore` for stuff you don’t feel like fixing rn, use `@ts-expect-error`.

When you do fix the issue, `@ts-expect-error` will *itself* become an error (which you can fix by deleting the comment).

That way, you avoid stale ignores that aren’t needed anymore.
May 20, 2025 at 12:54 AM
Reposted by Daniel Talks Code
Tomorrow (April 9th) is CSS Naked Day. Are you ready? css-naked-day.org
April 8, 2025 at 2:06 PM
Reposted by Daniel Talks Code
💡 Reminder to add this git setting to your bash rc file:

git config --global branch.sort -committerdate

`git branch -l` lists alphabetically by default, so it's hard to find recent branches. This sorts by date instead!
February 20, 2025 at 9:58 PM