html-eslint icon indicating copy to clipboard operation
html-eslint copied to clipboard

Indent for Angular 18 control flow @if and @for

Open ssj3sunny opened this issue 5 months ago • 5 comments

Hi there. I am developing in angular 18 and there are these control work flows like @if and @for and etc. I get an error for indent when I do @if (a > b) { {{a}} } and the auto fix is then @if (a > b) { {{a}} } The ESLint error is: "Expected indentation of 0 space but found 4 space. (@html-eslint/indent)"

Do you know how I can fix it?

ssj3sunny avatar May 07 '25 22:05 ssj3sunny