You are right, this option is currently not supported by the brace-style rule. Sounds like a feasible addition to the rule. Can you file an issue for this?
On Monday, August 10, 2015 at 6:11:03 PM UTC+2, Charles Chan wrote: > > I had a look a the brace-style rule earlier, but it appears to support > "one true brace style" and "Stroustrup" only. Both of these styles requires > bracket to be at the end of the same line. > > Curious if it is missing because this style is generally not favored, or > because the developers just haven't gotten around to it (I might be able to > help). > > Cheers > Charles > > On Monday, August 10, 2015 at 8:30:17 AM UTC-7, Mathias Schreck wrote: >> >> Hi, >> >> I think you are looking for the brace-style rule >> <http://eslint.org/docs/rules/brace-style#options>. >> >> >> Am Freitag, 7. August 2015 01:24:49 UTC+2 schrieb Charles Chan: >>> >>> I am trying to setup ESLint to brackets on next line, but can't find the >>> right rule. >>> ("Allman" style >>> https://en.wikipedia.org/wiki/Indent_style#Placement_of_braces) >>> >>> Thanks in advance, >>> Charles >>> >> -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
