Skip to content

Commit

Permalink
Revert "docs: add object pattern to first section of computed-propert…
Browse files Browse the repository at this point in the history
…y-spacing (eslint#15679)"

This reverts commit c97af83.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent e48b170 commit 948123a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/rules/computed-property-spacing.md
Expand Up @@ -16,10 +16,6 @@ var a = "prop";
var obj = {
[a]: "value" // computed property key in object literal (ECMAScript 6)
};

var obj = { prop: "value" };
var a = "prop";
var { [a]: x } = obj; // computed property key in object destructuring pattern (ECMAScript 6)
```

## Rule Details
Expand Down

0 comments on commit 948123a

Please sign in to comment.