mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Mention plain return
This commit is contained in:
committed by
Kevin Sawicki
parent
bdc0341eb3
commit
d1f3d7d51e
@@ -62,6 +62,8 @@ For more information on how to work with Atom's official packages, see
|
||||
* Use `path.join()` to concatenate filenames.
|
||||
* Use `os.tmpdir()` rather than `/tmp` when you need to reference the
|
||||
temporary directory.
|
||||
* Using a plain `return` when returning explicitly at the end of a function.
|
||||
* Not `return null`, `return undefined`, `null`, or `undefined`
|
||||
|
||||
## Git Commit Messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user