Skip to content

Commit 7988fb8

Browse files
Add arrow spacing
1 parent 694bd9b commit 7988fb8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.js

+8
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ export default {
2121
'error',
2222
'always'
2323
],
24+
// () => {} not ()=>{}
25+
'@stylistic/js/arrow-spacing': [
26+
'error',
27+
{
28+
before: true,
29+
after: true
30+
}
31+
],
2432
// } else { not }\n else {
2533
'@stylistic/js/brace-style': [
2634
'error',

0 commit comments

Comments
 (0)