Skip to content
Snippets Groups Projects
Commit 6846067a authored by syuilo's avatar syuilo
Browse files

Update CONTRIBUTING.md

parent a6f5e230
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,20 @@ Good:
if (foo) bar;
```
### 特別な理由がない限り`===`を使う
🥰
### null系を除いて、bool以外の値をifに渡さない
Bad:
``` ts
if (foo.length)
```
Good:
``` ts
if (foo.length > 0)
```
### `export default`を使わない
インテリセンスと相性が悪かったりするため
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment