mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:03:09 +02:00
Update CONTRIBUTING.md
This commit is contained in:
parent
055863144d
commit
dd9c94e47e
1 changed files with 12 additions and 0 deletions
|
@ -44,3 +44,15 @@ Stands for _**S**ervice**W**orker_.
|
||||||
|
|
||||||
#### Denyaize
|
#### Denyaize
|
||||||
Nyaizeを解除すること
|
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