Skip to content

Commit 7f75211

Browse files
committed
chore: improve general description
1 parent b0e1d73 commit 7f75211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sync/write_docs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function writeDocs(opts: { context: Context }) {
1414

1515
const generals = [
1616
`- This a react project.`,
17-
`- Use @tanstack/react-router for routing.`,
17+
`- Use @umijs/tnf/router for routing, which is reexported from @tanstack/react-router.`,
1818
`- Don't be lazy, write all the code to implement features I ask for.`,
1919
`- Keep a log of what, why and how you did what you did in "fyi.md". Keep it updated.`,
2020
`- Use zod to validate api response.`,
@@ -24,6 +24,7 @@ export async function writeDocs(opts: { context: Context }) {
2424
`- Hard code values should be replaced by variables with meaningful names.`,
2525
`- Extract api logic to services, keep services simple.`,
2626
`- Use react-i18next for internationalization.`,
27+
`- No need to declare types for *.less or *.css .`,
2728
];
2829
if (deps['@tanstack/react-query']) {
2930
generals.push(`- Use @tanstack/react-query for data fetching.`);

0 commit comments

Comments
 (0)