You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
That's what I'm currently using. The problem here is that I need additional rules, to make multiple parameters are forced to be multiline and not singleline.
For example function paramters:
// bad, but valid
export function test(
paramOne: string,
paramTow: string) {
...
}
// good
export function test(
paramOne: string,
paramTow: string,
) {
...
}
There are some missing rules in this repository regarding "newline", which are part of ESLint.
function-paren-newline
object-curly-newline
array-bracket-newline
array-element-newline
All those rules are needed to have a consistent "Additional trailing comma" handling in our code.
Is there a reason why those rules are missing or a plan to add them? If not, is there an alternative to achieve the trailing comma handling?
The text was updated successfully, but these errors were encountered: