Skip to content

Extract rule: template-no-bare-yield#2410

Closed
NullVoxPopuli wants to merge 1 commit intoember-cli:masterfrom
NullVoxPopuli:nvp/template-lint-extract-rule-template-no-bare-yield
Closed

Extract rule: template-no-bare-yield#2410
NullVoxPopuli wants to merge 1 commit intoember-cli:masterfrom
NullVoxPopuli:nvp/template-lint-extract-rule-template-no-bare-yield

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

Split from #2371.

Comment thread docs/rules/template-no-bare-yield.md Outdated
@NullVoxPopuli NullVoxPopuli marked this pull request as draft February 18, 2026 00:15
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/template-lint-extract-rule-template-no-bare-yield branch 3 times, most recently from 86784a7 to 2412aa5 Compare February 20, 2026 16:07
Comment thread docs/rules/template-no-bare-yield.md Outdated
Comment thread docs/rules/template-no-bare-yield.md Outdated
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/template-lint-extract-rule-template-no-bare-yield branch from 2ca4b11 to f0e7547 Compare February 20, 2026 16:22
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/template-lint-extract-rule-template-no-bare-yield branch from f0e7547 to 265f19e Compare February 20, 2026 16:26
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review February 20, 2026 16:31
@@ -0,0 +1,31 @@
# ember/template-no-bare-yield
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where this rule came from in template-lint?

I see related rules: no-yield-only and no-yield-to-default

This seems really weird. Bare yield is incredibly useful for components that wrap html.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point -- I got confused.

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

Gonna close this one, because it should probably be no-yield-only, and I'd rather the naming be consistent

@NullVoxPopuli NullVoxPopuli deleted the nvp/template-lint-extract-rule-template-no-bare-yield branch February 20, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants