We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982becd commit 92ebdbfCopy full SHA for 92ebdbf
.cursorrules
@@ -5,7 +5,8 @@
5
- Favor `if (!(err instanceof Error)) { throw new Error(`Was thrown a non-error: ${err}`) }` inside
6
`catch` blocks to ensure the `error` is always an instance of `Error`
7
- Favor using real paths (`../lib/schemas.ts`) over aliases (`@/app/lib/schemas`).
8
-- Favor using `.tsx` over `.jsx`.
+- Favor using `.tsx` over `.jsx` file extensions.
9
+- Favor the `tsx` CLI over `ts-node` for running TypeScript files.
10
- Favor `for (const comment of comments) {` over `comments.forEach((comment) => {`
11
- Do not touch `.env` files!
12
- Favor `satisfies` over `as`, consider `as` a sin
0 commit comments