attribute-indentation not working fine for block code
See original GitHub issueHi there, awesome addon by the way.
I have a case where if I use
{{#sp-ember-select
errors=customer.errors.title
label="Title"
as |title|}}
{{title}}
{{/sp-ember-select}}
I get an error
Incorrect indentation of close curly braces ‘}}’ for the component ‘{{sp-ember-select}}’ beginning at L21:C22. Expected ‘{{sp-ember-select}}’ to be at L22:C12
So I do the change as per the docs says to
as |title|
}}
Then error changes to
Incorrect indentation of close curly braces ‘}}’ for the component ‘{{sp-ember-select}}’ beginning at L22:C12. Expected ‘{{sp-ember-select}}’ to be at L21:C22
meaning that it was right originally, I think there is a bug there.
I’m using ember-cli-template-lint": "^1.0.0-beta.2"
Thank you very much
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Block indentation should be recognized as a formatting attribute
Use a sample with block indentation and remove format plugins. Indent a paragraph. Select all. Use remove format option. ✓ Expected result.
Read more >What should I do with "Unexpected indent" in Python?
The best way to avoid these issues is to always use a consistent number of spaces when you indent a subblock, and ideally...
Read more >How to Indent Text, Paragraphs, Lists & More in CSS
Learn how to use the CSS text-indent property to add or customize the indentation of paragraphs, lists, and other elements.
Read more >Indentation | IntelliJ IDEA Documentation - JetBrains
Open indentation settings in code style scheme · Click the widget and select Configure Indents for 'Language'. · In the dialog that opens,...
Read more >HTML: Indentation and Spacing | CSE 154 Unofficial Style Guide
Spacing and indentation should be consistent throughout your code. Many developers choose to use 4-space or 2-space indentation. In HTML, each nested tag ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree with @ohcibi linter config is not working as expected, we should not be finding ways around to make it work.
@rwjblue is there any plan in the pipeline for dealing with this issue?
@raphaelns-developer unfortunately it doesn’t work ☝️