Update CONTRIBUTING.md
This commit is contained in:
parent
35b7f31360
commit
a88dc34a28
1 changed files with 12 additions and 0 deletions
|
@ -44,3 +44,15 @@ Stands for _**S**ervice**W**orker_.
|
|||
|
||||
#### Denyaize
|
||||
Nyaizeを解除すること
|
||||
|
||||
## Code style
|
||||
### Don't use `export default`
|
||||
Bad:
|
||||
``` ts
|
||||
export default function(foo: string): string {
|
||||
```
|
||||
|
||||
Good:
|
||||
``` ts
|
||||
export function something(foo: string): string {
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue