Skip to content

Commit 4001f14

Browse files
committed
📝🌐 Style Guide - Code- General を翻訳
1 parent 7896027 commit 4001f14

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.textlintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"rules": {
33
"preset-japanese": true,
44
"preset-jtf-style": {
5+
"1.1.3.箇条書き": false,
56
"3.1.1.全角文字と半角文字の間": false,
6-
"1.1.3.箇条書き": false
7+
"4.2.7.コロン(:)": false
78
}
89
}
910
}

dst/CONTRIBUTING.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ Facebook にはセキュリティに関するバグを安全に開示するた
8282
* [Facebook](https://www.facebook.com/groups/react.native.community/)
8383
* [Twitter](https://www.twitter.com/reactnative)
8484

85-
## Style Guide
85+
## スタイルガイド
8686

87-
### Code
87+
### コード
8888

89-
#### General
89+
#### 全般的に
9090

91-
* **Most important: Look around.** Match the style you see used in the rest of the project. This includes formatting, naming things in code, naming things in documentation.
92-
* Add trailing commas,
93-
* 2 spaces for indentation (no tabs)
94-
* "Attractive"
91+
* **超重要: まわりとあわせること。**プロジェクトですでに使われているスタイルとあわせてください。これは整形、命名規則、ドキュメントの書き方にも当てはまります。
92+
* [trailing commas](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas) を追加してください ( 訳注: リンクは翻訳者によるものです )
93+
* インデントは半角スペース 2 つとしてください ( タブ文字は使わないでください )
94+
* "キレイなコードを書いてください"
9595

9696
#### JavaScript
9797

0 commit comments

Comments
 (0)