Skip to content

Commit

Permalink
docs: unify the wording referring to optional exception (#15893)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelrahman-elkady authored Jun 13, 2022
1 parent cdcf11e commit 1324f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/object-property-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ This rule applies equally to all property specifications, regardless of notation
* `a` (ES2015 shorthand property)
* ``[`prop${a}`]`` (ES2015 computed property name)

Thus, the rule (without the object option) prohibits both of these:
Thus, the rule (without the optional exception) prohibits both of these:

```js
const newObject = {
Expand Down

0 comments on commit 1324f10

Please sign in to comment.