[attribute-indentation] ember actions are not allowed
See original GitHub issuethe only way I can get that error to go away is if I change the action to have onclick={{action @close}}
<button
class='modal-close is-large'
aria-label={{t 'buttons.ariaLabel.closeModal'}}
{{action @close}}
/>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Incorrect indentation of htmlAttribute - Ember.JS
Hi all, I do not understand this message in the new ember. First line: 4:10 error Incorrect indentation of htmlAttribute 'type' beginning at...
Read more >Ember-Template-Lint How to fix block-indentation errors on ...
Ember Template Lint does not support fixing errors automatically yet. But it's under active development. You can track progress in this ...
Read more >ember-template-lint - npm
Name ✓ 💅 🔧
attribute‑order 🔧
block‑indentation 💅 🔧
builtin‑component‑arguments ✓
Read more >Changelog - ember-bootstrap
#1393 Fix modals not being able to open after being closed once ... #1098 Reset style attribute after transition of BsCollapse (@basz) ...
Read more >ember-template-lint | Yarn - Package Manager
0: no-inline-styles; linebreak-style; no-duplicate-attributes; table-groups; attribute-indentation; no-unnecessary-concat; no-input-block; no-input-tagname; no- ...
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
Fixed by: https://github.com/ember-template-lint/ember-template-lint/pull/500 Duplicate of: https://github.com/ember-template-lint/ember-template-lint/issues/467
Reason this was appearing:
two versions
I was about to create a ticket but I saw this one, I am having the same issue.
My
.template-lintrc.js
:Some HBS file:
Error reported:
As if the
as |tabs|
did not exist.