Open chengsong-cs opened 8 years ago
docs/rules/comma-style
This option requires that the comma be placed before and be in the same line as the variable declaration, object property and array element. 对于变量声明,对象属性和数组元素这些情况,该选项要求逗号放置在声明前面,并且与声明处于同一行。
可以查看给出的例子,原始翻译“该选项要求逗号放置在变量声明,对象属性和数组元素之前并且在同一行。”更合适
docs/rules/comma-style
This option requires that the comma be placed before and be in the same line as the variable declaration, object property and array element. 对于变量声明,对象属性和数组元素这些情况,该选项要求逗号放置在声明前面,并且与声明处于同一行。