Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-07-29 22:23:19 +0400
committerisaacs <i@izs.me>2010-07-29 22:23:19 +0400
commit2ba0080efcf58242c9b9b8ca793a6dcc18bc4f49 (patch)
tree8ee60db0e6d52ea8edb39bf506eacfe16dd764da /doc/coding-style.md
parentcbb716a137c417517a82f7cefd2f7c8f89a4cccc (diff)
Also put ; in front of - and +
Diffstat (limited to 'doc/coding-style.md')
-rw-r--r--doc/coding-style.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coding-style.md b/doc/coding-style.md
index 0722473a0..77399a81a 100644
--- a/doc/coding-style.md
+++ b/doc/coding-style.md
@@ -75,6 +75,9 @@ Some examples of good semicolon usage:
end()
}
+Note that starting lines with `-` and `+` also should be prefixed
+with a semicolon, but this is much less common.
+
## Comma First
If there is a list of things separated by commas, and it wraps