Skip to content

Commit d80de27

Browse files
authored
Update script-standard.md (#49)
Fixed typos and grammar.
1 parent e349ac3 commit d80de27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/joinus/advanced/script-standard.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ sidebar_position: 2
1010

1111
- **Be consistent!**
1212
- Avoid using deprecated features.
13-
- Avoid modifying `yarn.lock` and `package.json`, unless you are adding a new dependency.
14-
- Conbine repetitive code into functions.
13+
- Avoid modifying `yarn.lock` and `package.json`, unless you add a new dependency.
14+
- Combine repetitive code into functions.
1515
- Prefer higher ECMAScript Standard features over lower ones.
1616
- Sort the entries alphabetically (uppercase first) to make it easier to find an entry.
1717
- Use HTTPS instead of HTTP whenever possible.
@@ -67,7 +67,7 @@ sidebar_position: 2
6767

6868
:::danger
6969

70-
The v2 Route Standard is deprecated. All new routes should be following the [Create Route](/joinus/new-rss/start-code).
70+
The v2 Route Standard is deprecated. All new routes should follow the [Create Route](/joinus/new-rss/start-code).
7171

7272
:::
7373

@@ -113,7 +113,7 @@ To register a route, the `router.ts` file should export a method that provides a
113113
The `maintainer.ts` file should export an object that provides maintainer information related to the route, including:
114114

115115
- Key: Corresponding route path
116-
- Value: Array of string, including all maintainers' GitHub ID.
116+
- Value: Array of strings, including all maintainers' GitHub ID.
117117

118118
To generate a list of maintainers, use the following command: `pnpm run build`, which will create the list under `assets/build/`.
119119

@@ -166,6 +166,6 @@ const renderAuthor = (author) => art(path.join(__dirname, 'templates/author.art'
166166

167167
:::danger
168168

169-
The v1 Route Standard is deprecated. All new routes should be following the [Create Route](/joinus/new-rss/start-code).
169+
The v1 Route Standard is deprecated. All new routes should follow the [Create Route](/joinus/new-rss/start-code).
170170

171171
:::

0 commit comments

Comments
 (0)