``update prettier config with printWidth and quoteProps, add new routes for connective revision, and update guidelines for hooks and types
``
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"endOfLine": "lf",
|
"endOfLine": "lf",
|
||||||
|
"printWidth": 120,
|
||||||
|
"quoteProps": "consistent",
|
||||||
"semi": true,
|
"semi": true,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"trailingComma": "es5",
|
"trailingComma": "es5",
|
||||||
"printWidth": 120,
|
|
||||||
"quoteProps": "consistent",
|
|
||||||
"plugins": []
|
"plugins": []
|
||||||
}
|
}
|
||||||
|
@@ -88,6 +88,7 @@ function RouteConfig() {
|
|||||||
<ListeningPractice />
|
<ListeningPractice />
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
|
{/* http://localhost:5173/connective_revision/r/000000000000001 */}
|
||||||
<Route exact path={`${CONNECTIVE_REVISION_LINK}/r/:p_route`}>
|
<Route exact path={`${CONNECTIVE_REVISION_LINK}/r/:p_route`}>
|
||||||
<ConnectiveRevisionQuizRun />
|
<ConnectiveRevisionQuizRun />
|
||||||
</Route>
|
</Route>
|
||||||
@@ -96,6 +97,7 @@ function RouteConfig() {
|
|||||||
<ConnectiveRevisionQuizResult />
|
<ConnectiveRevisionQuizResult />
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
|
{/* http://localhost:5173/connective_revision */}
|
||||||
<Route exact path={CONNECTIVE_REVISION_LINK}>
|
<Route exact path={CONNECTIVE_REVISION_LINK}>
|
||||||
<ConnectiveRevisionSelectCategory />
|
<ConnectiveRevisionSelectCategory />
|
||||||
</Route>
|
</Route>
|
||||||
|
@@ -2,5 +2,8 @@
|
|||||||
|
|
||||||
- single file contains single function only
|
- single file contains single function only
|
||||||
- please refer to the `tsx` files already exist in this directory for
|
- please refer to the `tsx` files already exist in this directory for
|
||||||
|
|
||||||
- styling
|
- styling
|
||||||
- naming convention
|
- naming convention
|
||||||
|
|
||||||
|
- `useListQuizListeningPracticeContent.tsx` is a sample for listing question in listening practice.
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
# GUIDELINES
|
# GUIDELINES
|
||||||
|
|
||||||
- please follow to the `schema.dbml` when you draft types related to db
|
- please follow to the `schema.dbml` when you draft types related to db
|
||||||
|
|
||||||
|
## highlighted samples
|
||||||
|
|
||||||
|
- `QuizLPQuestion.d.ts`
|
||||||
|
Reference in New Issue
Block a user