Skip to content

Commit 97f7ca2

Browse files
authored
style: add arrow-parens rule to stylistic config (#29)
1 parent 1ceedeb commit 97f7ca2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/stylistic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export async function stylistic (options: Options['stylistic'] = true, optionsVu
2828
},
2929
],
3030
'@stylistic/brace-style': ['error', '1tbs'],
31+
'@stylistic/arrow-parens': ['error', 'as-needed'],
3132
},
3233
},
3334
]

0 commit comments

Comments
 (0)