mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Update object spread guideline in JS styleguide [ci skip]
Per discussion in https://github.com/atom/atom/pull/12258
This commit is contained in:
parent
475e12e812
commit
1bce81d710
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user