array multiline allman style #67
Unanswered
TheElegantCoding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, is there any rule for putting the array bracket to a new line if it is multiline? like Allman style
for example:
First bracket error:
correct method
also these dont work with object
error
expected correction
Edit:
a long time ago in the eslint team, they proposed adding
object-curly-style
andarray-bracket-style
as new rules for these cases in this issue #5203, but looks like this never implementsBeta Was this translation helpful? Give feedback.
All reactions