Skip to content

Commit a54d888

Browse files
committed
chore: introduce no-curly-quote and no-irregular-whitespace rules
1 parent 8ca31fc commit a54d888

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

eslint.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@ export default [
99
...mark.configs.baseGfm,
1010
files: ['src/content/**/*.md'],
1111
rules: {
12+
'mark/no-curly-quote': [
13+
'error',
14+
{leftSingleQuotationMark: false, rightSingleQuotationMark: false},
15+
],
1216
'mark/no-double-space': 'error',
1317
'mark/no-git-conflict-marker': ['error', {skipCode: false}],
18+
'mark/no-irregular-whitespace': [
19+
'error',
20+
{skipCode: false, skipInlineCode: false},
21+
],
1422
},
1523
},
1624
];

src/content/community/versioning-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This versioning policy describes our approach to version numbers for packages su
1111

1212
## Stable releases {/*stable-releases*/}
1313

14-
Stable React releases (also known as Latest release channel) follow [semantic versioning (semver)](https://semver.org/lang/ko/) principles.
14+
Stable React releases (also known as "Latest" release channel) follow [semantic versioning (semver)](https://semver.org/lang/ko/) principles.
1515

1616
버전 번호 **x.y.z**를 사용할 때 다음과 같습니다.
1717

src/content/reference/react/act.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You might find using `act()` directly a bit too verbose. To avoid some of the bo
2727

2828
### `await act(async actFn)` {/*await-act-async-actfn*/}
2929

30-
When writing UI tests, tasks like rendering, user events, or data fetching can be considered as units of interaction with a user interface. React provides a helper called `act()` that makes sure all updates related to these units have been processed and applied to the DOM before you make any assertions.
30+
When writing UI tests, tasks like rendering, user events, or data fetching can be considered as "units" of interaction with a user interface. React provides a helper called `act()` that makes sure all updates related to these "units" have been processed and applied to the DOM before you make any assertions.
3131

3232
The name `act` comes from the [Arrange-Act-Assert](https://wiki.c2.com/?ArrangeActAssert) pattern.
3333

src/content/reference/react/useActionState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ form button {
270270
271271
### 액션이 더 이상 제출된 폼 데이터를 읽을 수 없습니다 {/*my-action-can-no-longer-read-the-submitted-form-data*/}
272272
273-
액션을 `useActionState`로 감싸면 *첫 번째 인수*로 이전(또는 현재) State가 추가됩니다. 따라서 일반적인 폼 액션과 달리, 제출된 폼 데이터는 *두 번째 인수*에서 확인해야 합니다.
273+
액션을 `useActionState`로 감싸면 *첫 번째 인수*로 "이전(또는 현재) State"가 추가됩니다. 따라서 일반적인 폼 액션과 달리, 제출된 폼 데이터는 *두 번째 인수*에서 확인해야 합니다.
274274
275275
```js
276276
function action(currentState, formData) {

0 commit comments

Comments
 (0)