We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a6737 commit 19fe3f5Copy full SHA for 19fe3f5
README.md
@@ -108,6 +108,22 @@ Avoid extraneous whitespace in the following situations:
108
console.log x , y # No
109
```
110
111
+Except when:
112
+
113
+- Creating a new array with one or more elements
114
115
+ ```coffeescript
116
+ a = [ 1, 2, 3 ] # Yes
117
+ a = [1, 2, 3] # No
118
+ ```
119
120
+- Creating a new object (hash) with one or more key-value pairs
121
122
123
+ h = { a: 1, b: 2, c: 3 } # Yes
124
+ h = {a: 1, b: 2, c: 3} # No
125
126
127
Additional recommendations:
128
129
- Always surround these binary operators with a **single space** on either side
0 commit comments