Skip to content

Commit 327fcc9

Browse files
aidenybaiamiagent
andcommitted
fix formatting
Generated with [Ami](https://ami.dev) Co-Authored-By: Ami <noreply@ami.dev>
1 parent 4b48dce commit 327fcc9

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ npx -y react-doctor@latest . --verbose
2727

2828
React Doctor runs **47+ rules** across these categories:
2929

30-
| Category | Examples |
31-
|---|---|
32-
| **State & Effects** | Derived state in useEffect, cascading setState, missing cleanup |
33-
| **Architecture** | Nested component definitions, giant components, inline render functions |
34-
| **Performance** | Layout property animations, transition-all, large animated blur |
35-
| **Correctness** | Array index as key, conditional rendering bugs |
36-
| **Next.js** | Missing metadata, client-side fetching for server data, async client components |
37-
| **Bundle Size** | Barrel imports, full lodash import, undeferred third-party scripts |
38-
| **Security** | Hardcoded secrets in client code, eval usage |
39-
| **Server** | Missing auth in server actions, blocking operations without after() |
40-
| **Accessibility** | Missing prefers-reduced-motion checks |
41-
| **Dead Code** | Unused files, exports, types, and duplicate exports |
30+
| Category | Examples |
31+
| ------------------- | ------------------------------------------------------------------------------- |
32+
| **State & Effects** | Derived state in useEffect, cascading setState, missing cleanup |
33+
| **Architecture** | Nested component definitions, giant components, inline render functions |
34+
| **Performance** | Layout property animations, transition-all, large animated blur |
35+
| **Correctness** | Array index as key, conditional rendering bugs |
36+
| **Next.js** | Missing metadata, client-side fetching for server data, async client components |
37+
| **Bundle Size** | Barrel imports, full lodash import, undeferred third-party scripts |
38+
| **Security** | Hardcoded secrets in client code, eval usage |
39+
| **Server** | Missing auth in server actions, blocking operations without after() |
40+
| **Accessibility** | Missing prefers-reduced-motion checks |
41+
| **Dead Code** | Unused files, exports, types, and duplicate exports |
4242

4343
## Example output
4444

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "react-doctor",
33
"private": true,
4-
"packageManager": "pnpm@10.29.1",
54
"scripts": {
65
"dev": "pnpm --filter react-doctor run dev",
76
"build": "pnpm --filter react-doctor run build",
@@ -27,5 +26,6 @@
2726
"tsdown": "^0.20.3",
2827
"typescript": "^5.7.0",
2928
"vitest": "^4.0.18"
30-
}
29+
},
30+
"packageManager": "pnpm@10.29.1"
3131
}

packages/website/src/app/globals.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
}
77

88
@keyframes fade-in {
9-
from { opacity: 0; }
10-
to { opacity: 1; }
9+
from {
10+
opacity: 0;
11+
}
12+
to {
13+
opacity: 1;
14+
}
1115
}
1216

1317
html,

0 commit comments

Comments
 (0)