Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit f84c9e1

Browse files
authored
Merge pull request #10 from gatsbyjs/textlint-fix
chore: textlint --fix
2 parents 6971044 + 2d75eea commit f84c9e1

17 files changed

+127
-157
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
uses: tsuyoshicho/action-textlint@v1
1010
with:
1111
github_token: ${{ secrets.GITHUB_TOKEN }}
12-
reporter: github-pr-check
12+
reporter: github-pr-review
1313
textlint_flags: "docs/**/*.md"

.textlintrc.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ module.exports = {
1414
// https://github.com/textlint-rule/textlint-rule-prh
1515
prh: { rulePaths: ["./prh.yml"] },
1616
"ja-technical-writing/no-exclamation-question-mark": false, // 文末の感嘆符を許可
17+
"ja-technical-writing/max-ten": {
18+
// 句点の数を緩和
19+
max: 5,
20+
},
21+
"ja-technical-writing/ja-no-weak-phrase": false, // 弱い表現の許容
1722
"ja-technical-writing/sentence-length": false, // 翻訳完了後に有効化
1823
"ja-technical-writing/max-comma": false, // 翻訳完了後に有効化
19-
"textlint-rule-ja-hiragana-hojodoushi": true,
20-
"textlint-rule-ja-hiragana-fukushi": true,
21-
"textlint-rule-ja-hiragana-keishikimeishi": true,
24+
"ja-technical-writing/ja-no-mixed-period": {
25+
allowPeriodMarks: [":"],
26+
},
27+
"textlint-rule-ja-hiragana-hojodoushi": true, // ひらがなにしたほうが良い補助動詞
28+
"textlint-rule-ja-hiragana-fukushi": true, // ひらがなにしたほうが良い副詞
2229
},
2330
filters: {
2431
// https://github.com/textlint/textlint-filter-rule-comments

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
### 作業の重複を防ぐための宣言
2121

22-
未翻訳記事の翻訳を行いたい場合は、他の人との作業の重複を防ぐため、[この Issue](https://github.com/gatsbyjs/gatsby-ja/issues/1) での宣言をお願いします。
22+
未翻訳記事を翻訳したい場合は、他の人との作業の重複を防ぐため、[この Issue](https://github.com/gatsbyjs/gatsby-ja/issues/1) での宣言をお願いします。
2323

2424
### 翻訳スタイルガイド
2525

@@ -29,12 +29,12 @@
2929

3030
## 参考リンク
3131

32-
* [翻訳スタイルガイド](/style-guide.md)
33-
* [Gatsby翻訳ガイド](https://www.gatsbyjs.org/contributing/gatsby-docs-translation-guide/)
34-
* [Gatsby Discord](https://gatsby.dev/discord)
32+
- [翻訳スタイルガイド](/style-guide.md)
33+
- [Gatsby 翻訳ガイド](https://www.gatsbyjs.org/contributing/gatsby-docs-translation-guide/)
34+
- [Gatsby Discord](https://gatsby.dev/discord)
3535

3636
## メンテナー
3737

38-
* [**@hirotaka**](https://github.com/hirotaka)
39-
* [**@Naturalclar**](https://github.com/Naturalclar)
40-
* [**@uetchy**](https://github.com/uetchy)
38+
- [**@hirotaka**](https://github.com/hirotaka)
39+
- [**@Naturalclar**](https://github.com/Naturalclar)
40+
- [**@uetchy**](https://github.com/uetchy)

docs/contributing/code-of-conduct.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ title: Gatsby コントリビューター行動規範
2626

2727
## 私たちの責任
2828

29-
プロジェクトのメンテナーは、許容できる行動の基準を明確にすることに責任があります。また、何かしらの許容できない行動に対応する、適切かつ公平な是正処置をとることが期待されています。
29+
プロジェクトのメンテナーは、許容できる行動の基準を明確にする責任があります。また、何かしらの許容できない行動に対応する、適切かつ公平な是正処置をとることが期待されています。
3030

31-
プロジェクトのメンテナーは、この行動規範に沿っていない、コメント、コミット、コード、wiki編集、issue、その他の貢献を削除、編集、拒否する権利と義務を有します。また、他の不適切、脅迫的、攻撃的、嫌がらせと考えられる行動を取ったコントリビューターを一時的もしくは恒久的に追放する権利と義務を有します。
31+
プロジェクトのメンテナーは、この行動規範に沿っていない、コメント、コミット、コード、wiki 編集、issue、その他の貢献を削除、編集、拒否する権利と義務を有します。また、他の不適切、脅迫的、攻撃的、嫌がらせと考えられる行動を取ったコントリビューターを一時的もしくは恒久的に追放する権利と義務を有します。
3232

3333
## 適用範囲
3434

@@ -38,7 +38,7 @@ title: Gatsby コントリビューター行動規範
3838

3939
暴言、嫌がらせ、またはそれ以外の受け入れられない行動は、[[email protected]](mailto:[email protected]) に連絡して、プロジェクトチームに報告される可能性があります。すべての苦情は、レビュー、調査され、必要かつ適切と判断された対応がとられます。プロジェクトチームは、事象の報告者に関する守秘義務があります。具体的な執行に関する詳細が別途設定されているかもしれません。
4040

41-
この行動規範に誠意を持って従うまたは執行することができないプロジェクトのメンテナーは、プロジェクトをリードしている他のメンバーの判断により、一時的または恒久的な影響を受けることがあります。
41+
この行動規範に誠意を持って従うことができない、または執行ができないプロジェクトのメンテナーは、プロジェクトをリードしている他のメンバーの判断により、一時的または恒久的な影響を受けることがあります。
4242

4343
もし、再三の注意の後も悪質なコメントやハラスメントが継続する場合は、Gatsby チームはその方を Gatsby の Github のリポジトリから追放し、SNS 等でブロックする権利を留保します。この決定は必ず二人以上のチームメンバーの合意によって行われます。
4444

docs/docs/awesome-gatsby-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ See the [unofficial list of themes](https://gatsbytemplates.io/)
3636
- [2018-07-18: The Great GatsbyJS w/ Jason Lengstorf on The Changelog #306](https://changelog.com/podcast/306)
3737
- [2018-04-17: Gatsby.js w/Jason Lengstorf](https://spec.fm/podcasts/toolsday/134337)
3838
- [2018-02-28: syntax.fm on Static Site Generators (lots of Gatsby love)](https://syntax.fm/show/034/why-static-site-generators-are-awesome)
39-
- [2017-09-21: Kyle Mathews on JAMSTACK radio on "Static Site Generation with GatsbyJS](https://www.heavybit.com/library/podcasts/jamstack-radio/ep-22-static-site-generation-with-gatsbyjs/)
39+
- [2017-09-21: Kyle Mathews on JAMSTACK radio on "Static Site Generation with GatsbyJS"](https://www.heavybit.com/library/podcasts/jamstack-radio/ep-22-static-site-generation-with-gatsbyjs/)
4040
- [2017-07-21: Kyle Mathews on Web of Tomorrow](https://www.orbit.fm/weboftomorrow/39/)
4141
- [2017-08-17: Kyle Mathews on Software Engineering Daily](https://softwareengineeringdaily.com/2017/08/17/gatsbyjs-with-kyle-mathews/)
4242

docs/docs/end-to-end-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Last but not least you add additional scripts to your `package.json` to run Cypr
3434

3535
Run `npm run test:e2e` in your command line and see Cypress running for the first time. A folder named `cypress` will be created at the root of your project and a new application window will pop up. [Cypress' getting started guide](https://docs.cypress.io/guides/getting-started/writing-your-first-test.html#) is a good start to learn how to write tests!
3636

37-
_Important note_: If you are running Gatsby with the `--https` flag, whether using your own or automatically generated certificates, you will also need to tell `start-server-and-test` to disable HTTPS certificate checks (otherwise it will wait forever and never actually launch Cypress. You do this by passing in an environmental variable: `START_SERVER_AND_TEST_INSECURE=1`. [start-server-and-test docs](https://github.com/bahmutov/start-server-and-test#disable-https-certificate-checks).
37+
_Important note_: If you are running Gatsby with the `--https` flag, whether using your own or automatically generated certificates, you will also need to tell `start-server-and-test` to disable HTTPS certificate checks (otherwise it will wait forever and never actually launch Cypress). You do this by passing in an environmental variable: `START_SERVER_AND_TEST_INSECURE=1`. [start-server-and-test docs](https://github.com/bahmutov/start-server-and-test#disable-https-certificate-checks).
3838

3939
This means your `test:e2e` script would look like this:
4040

docs/docs/gatsby-core-philosophy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ When this incantation is simple and takes seconds, we can easily get lost for ho
5151

5252
Developers, designers, demand-gen marketers, copywriters -- every stakeholder in a website project _can_ feel this -- with proper tooling.
5353

54-
As Bret Victor suggested in _Inventing on Principle_, each creator needs "an immediate connection to what they're making.
54+
As Bret Victor suggested in _Inventing on Principle_, each creator needs "an immediate connection to what they're making."
5555

5656
These instant feedback loops are often felt near the beginning of projects. But they can quickly be drowned by project complexity.
5757

@@ -91,7 +91,7 @@ For more on this, look at [the features Gatsby bundles together](/features).
9191

9292
### Progressively disclose complexity
9393

94-
One concept UX designers use to make applications easier to learn and less error-prone is called progressive disclosure".
94+
One concept UX designers use to make applications easier to learn and less error-prone is called "progressive disclosure".
9595

9696
If you were designing a user interface, you might move advanced or rarely-used features to a secondary screen, such as "advanced settings".
9797

docs/docs/gatsby-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ In a query, you can specify options for fluid images.
176176
- `maxWidth` (int, default: 800)
177177
- `maxHeight`(int)
178178
- `quality` (int, default: 50)
179-
- `srcSetBreakpoints` (array of int, default: [])
179+
- `srcSetBreakpoints` (array of int, default: `[]`)
180180
- `fit` (string, default: `[sharp.fit.cover][6]`)
181181
- `background` (string, default: `rgba(0,0,0,1)`)
182182

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Gatsby は、React のための高速でモダンな静的サイトジェネレ
99

1010
## Gatsby ことはじめ
1111

12-
Gatsby に入門するために、大きくふたつの方法が用意されています
12+
Gatsby に入門する方法は、大きく分けてふたつあります
1313

1414
1. [チュートリアル](/tutorial/): Gatsby をインストールして、新しいプロジェクトを始める方法をステップ・バイ・ステップ方式で学びます。Gatsby や Web 開発に詳しくないような人を念頭に書かれていますが、もちろんあらゆるレベルの開発者にとっても有用なガイドです。
1515
2. [クイックスタート](/docs/quick-start): Gatsby をインストールして新しいプロジェクトを作成する方法を簡潔にまとめたページです。

docs/docs/lower-bids-more-profit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ After identifying projects that are a good fit for Gatsby, they will bid _signif
88

99
Ben Robertson, of the 80-person Mediacurrent agency, [explains this strategy](https://www.youtube.com/watch?v=QiocnDGnKfs&feature=youtu.be&t=1145) in the context of Mediacurrent's work on the citysprings.com website for the city of Sandy Springs, GA:
1010

11-
> "This was an experimental project for us. We had done decoupled Drupal before, but this was our first project as a team that was using Gatsby and it was a budget that was actually significantly under what we would charge for a full Drupal 8 build. And that was scary!
11+
> "This was an experimental project for us. We had done decoupled Drupal before, but this was our first project as a team that was using Gatsby and it was a budget that was actually significantly under what we would charge for a full Drupal 8 build. And that was scary!"
1212
1313
Not only was the team able to deliver the project on time and under budget, but the client was so happy they were able to [get additional work immediately](https://www.youtube.com/watch?v=QiocnDGnKfs&feature=youtu.be&t=1531):
1414

0 commit comments

Comments
 (0)