From 415d0f828a9744efabc34cb4c8679bed7079a1f6 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Mon, 16 Oct 2023 15:04:14 +0900 Subject: [PATCH] Eanble textlint in GitHub Actions --- .github/workflows/site_lint.yml | 3 +++ src/content/reference/react/useReducer.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/site_lint.yml b/.github/workflows/site_lint.yml index 34ca6d7b8..107b36cb7 100644 --- a/.github/workflows/site_lint.yml +++ b/.github/workflows/site_lint.yml @@ -25,3 +25,6 @@ jobs: - name: Lint codebase run: yarn ci-check + + - name: Textlint (Japanese) + run: yarn textlint \ No newline at end of file diff --git a/src/content/reference/react/useReducer.md b/src/content/reference/react/useReducer.md index 946de6db0..271ed2caa 100644 --- a/src/content/reference/react/useReducer.md +++ b/src/content/reference/react/useReducer.md @@ -244,7 +244,7 @@ function reducer(state, action) { } ``` -詳しくは、[state 内のオブジェクトの更新](/learn/updating-objects-in-state)と[state 内の配列の更新](/learn/updating-arrays-in-state)を参照ください。 +詳しくは、[state 内のオブジェクトの更新](/learn/updating-objects-in-state)と [state 内の配列の更新](/learn/updating-arrays-in-state)を参照ください。