We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6dbe68 commit d8034dcCopy full SHA for d8034dc
README.md
@@ -73,16 +73,23 @@ Do not include trailing whitespace on any lines.
73
<a name="optional_commas"/>
74
### Optional Commas
75
76
-Avoid the use of commas before newlines when each property of an Object or Array is listed on its own line.
+Avoid the use of commas before newlines when properties or elements of an Object or Array are listed on separate lines.
77
78
```coffeescript
79
-bitlist = [
80
- 1, 0, 1
81
- 1, 1, 0
+# Yes
+foo = [
+ 'some'
82
+ 'string'
83
+ 'values'
84
]
-brother:
- name: "Max"
85
- age: 11
+bar:
86
+ label: 'test'
87
+ value: 87
88
+
89
+# No
90
+foo = ['some', 'string', 'values']
91
92
+ label: 'test', value: 87
93
```
94
95
<a name="encoding"/>
0 commit comments