Skip to content

Commit

Permalink
docs: add a property assignment example for camelcase rule (#16605)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Dec 2, 2022
1 parent b6ab030 commit 57089b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/rules/camelcase.md
Expand Up @@ -126,6 +126,8 @@ Examples of **correct** code for this rule with the `{ "properties": "never" }`
var obj = {
my_pref: 1
};

obj.foo_bar = "baz";
```

:::
Expand Down

0 comments on commit 57089b1

Please sign in to comment.