Keijo Kapp
Keijo Kapp
Here's what each relevant rule (that I found so far) handles: - `block-spacing` - enums, interfaces, type literals - `brace-style` - enums, interfaces - `curly-newline` - enums, interfaces - `object-curly-newline`...
My approach would be to add a possibility to set the indent size to 2 (or a tab) and set all indent multipliers, except for the JSX nodes, to 2...
[`object-curly-newline`](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/object-curly-newline/object-curly-newline._js_.ts) (after which this rule has been modeled) also doesn't take comments into account, so I didn't consider this use case when implementing the rule. I'm willing to develop a...
The rule only checks code where curly braces are present. I meant the following use case: ```js // allowed if (condition) { /* comment */ } // not allowed if...