Skip to content
Permalink
Browse files

Docs: fix example in object-curly-newline docs (#11633)

  • Loading branch information...
golopot authored and not-an-aardvark committed May 11, 2019
1 parent 252efd3 commit e84b6f8b171ba4266164688f76d5ee45d278e5c2
Showing with 12 additions and 14 deletions.
  1. +12 −14 docs/rules/object-curly-newline.md
@@ -333,23 +333,19 @@ let c = {foo: 1, bar: 2
};
let d = {
foo: 1, bar: 2};
let e = {foo: 1,
bar: 2};
let f = {foo: function() {
let e = {foo: function() {
dosomething();
}};
let {g
let {f
} = obj;
let {
h} = obj;
let {i, j
g} = obj;
let {h, i
} = obj;
let {
k, l} = obj;
let {m,
n} = obj;
let {o = function() {
j, k} = obj;
let {l = function() {
dosomething();
}} = obj;
```
@@ -385,13 +381,15 @@ let {i, j} = obj;
let {
k, l
} = obj;
let {m,
n} = obj;
let {
m,
n
o,
p
} = obj;
let {o = function() {dosomething();}} = obj;
let {q = function() {dosomething();}} = obj;
let {
p = function() {
r = function() {
dosomething();
}
} = obj;

0 comments on commit e84b6f8

Please sign in to comment.
You can’t perform that action at this time.