Namchee
namchee.dev
Namchee
@namchee.dev
Reposted by Namchee
github.com/eslint/eslin...

It is *wild* how simple that change is for that kind of startup perf boost 😍
April 28, 2025 at 5:55 PM
Main reason why I wrote this is because I've tried this API for a work-related task before, but it didn't work out at all.

Reasons explained in `Is It a Navigation?` section
April 29, 2025 at 11:23 PM
Is this documented somewhere?
January 15, 2025 at 11:58 AM
And now, we can format without having to focus too much on the tools that we use.

I hate when people starts to `pls migrate to Y, X sucks now!` every time these kind of tools comes out.

They're forgetting the main purpose of these tools: make your code great
January 14, 2025 at 3:04 PM
Lately, we also have eslint-react (www.npmjs.com/package/@esl...), which applies ESLint rules for your React-based projects without being too binded to `react-dom`
GitDownloads
www.npmjs.com
January 14, 2025 at 3:03 PM
First, we have Anthony Fu's ni (github.com/antfu-collec...), which makes you ignore package manager wars.
GitHub - antfu-collective/ni: 💡 Use the right package manager
💡 Use the right package manager. Contribute to antfu-collective/ni development by creating an account on GitHub.
github.com
January 14, 2025 at 3:02 PM
You can use ranges too! VitePress has integrated a lot of Shiki transformers internally.

vitepress.dev/guide/markdo...
VitePress | Vite & Vue Powered Static Site Generator
Vite & Vue powered static site generator.
vitepress.dev
December 28, 2024 at 3:21 AM
Day 21. We can (again) extend the previous day functionality.

We can check if an element exist in an array using `extends`
December 21, 2024 at 1:20 PM
Day 20. We can re-use the parser code from the previous day. But we do need to implement the result object logic.
December 20, 2024 at 9:27 AM
Day 19. The trick here is to parse the line one-by-one and trimming them.
December 19, 2024 at 11:36 AM
Day 18. We are dealing with unprovided generics.

The trick is to assert whether the generic is provided or not. If it's not provided, access the array element. Otherwise, return the generic as-is.
December 18, 2024 at 2:03 PM
Day 17. We can strongly-type the composition and utilities using generics.

To avoid type narrowing for string utilities, we can recast it using string utility types.
December 17, 2024 at 11:59 AM
Day 16. We can deal with recursion with the help of `ReturnType`
December 17, 2024 at 11:58 AM