Skip to content

Commit e3c570e

Browse files
ArnaudBarreKai Cataldo
authored andcommitted
Docs: Add example for expression option (#12694)
1 parent 6b774ef commit e3c570e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/rules/func-style.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ Examples of **correct** code for this rule with the default `"expression"` optio
7777
var foo = function() {
7878
// ...
7979
};
80+
81+
var foo = () => {};
8082
```
8183

8284
### declaration

0 commit comments

Comments
 (0)