Update object spread guideline in JS styleguide [ci skip]

Per discussion in https://github.com/atom/atom/pull/12258
This commit is contained in:
Machisté N. Quintana 2016-08-06 17:25:36 -07:00 committed by GitHub
parent 475e12e812
commit 1bce81d710

View File

@ -285,8 +285,8 @@ If you want to read about using Atom or developing packages in Atom, the [Atom F
All JavaScript must adhere to [JavaScript Standard Style](http://standardjs.com/).
* Prefer `Object.assign()` to the object spread operator (`{...anotherObj}`)
* Inline `export`s with expressions
* Prefer the object spread operator (`{...anotherObj}`) to `Object.assign()`
* Inline `export`s with expressions whenever possible
```js
// Use this:
export default class ClassName {