@@ -103,7 +103,7 @@ export const userRoute = createRoute({
103
103
});
104
104
```
105
105
106
- ## 5 . Consolidate Linting and Formatting at Root Level
106
+ ## 6 . Consolidate Linting and Formatting at Root Level
107
107
108
108
Centralize linting and formatting configurations at the monorepo root to ensure consistency.
109
109
@@ -116,7 +116,7 @@ Centralize linting and formatting configurations at the monorepo root to ensure
116
116
}
117
117
```
118
118
119
- ## 6 . Avoid Overly Interdependent Configuration Systems
119
+ ## 7 . Avoid Overly Interdependent Configuration Systems
120
120
121
121
Favor self-contained, independent configuration files per package rather than complex inheritance:
122
122
@@ -131,7 +131,7 @@ root/
131
131
tsconfig.json
132
132
```
133
133
134
- ## 7 . Type-Driven Development
134
+ ## 8 . Type-Driven Development
135
135
136
136
Use comprehensive, precise types to enforce correctness at compile-time rather than relying on runtime validation.
137
137
@@ -145,7 +145,7 @@ type User = {
145
145
};
146
146
```
147
147
148
- ## 8 . Consistent, Predictable File Organization
148
+ ## 9 . Consistent, Predictable File Organization
149
149
150
150
Maintain consistent file structures for components:
151
151
@@ -158,7 +158,7 @@ components/
158
158
index.ts
159
159
```
160
160
161
- ## 9 . Test-Case Driven Documentation
161
+ ## 10 . Test-Case Driven Documentation
162
162
163
163
Write clear, self-explanatory tests that also serve as documentation:
164
164
0 commit comments