Skip to content

Commit fc94eef

Browse files
committed
DEV: Disable template linting for capital arguments in docs-topic
Added a directive to disable the `no-capital-arguments` linting rule for compatibility with `MountWidget`.
1 parent 31cab36 commit fc94eef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/javascripts/discourse/components/docs-topic.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default class DocsTopic extends Component {
7676
{{#if this.site.useGlimmerPostStream}}
7777
<Post @post={{this.model}} />
7878
{{else}}
79+
{{! template-lint-disable no-capital-arguments }}
7980
<MountWidget @widget="post" @model={{this.model}} @args={{this.post}} />
8081
{{/if}}
8182
</div>

0 commit comments

Comments
 (0)