Skip to content

Commit

Permalink
DEV: Update linting (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Nov 20, 2024
1 parent 4ad30e1 commit 73b03e4
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 256 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<label class="checkbox-label">
<Input
@type="checkbox"
@checked={{category.custom_fields.enable_topic_voting}}
@checked={{this.category.custom_fields.enable_topic_voting}}
/>
{{i18n "topic_voting.allow_topic_voting"}}
</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{#if model.can_vote}}
{{#if model.postStream.loaded}}
{{#if model.postStream.firstPostPresent}}
{{#if this.model.can_vote}}
{{#if this.model.postStream.loaded}}
{{#if this.model.postStream.firstPostPresent}}
<div class="voting title-voting">
{{! template-lint-disable no-capital-arguments }}
<MountWidget
@widget="vote-box"
@args={{model}}
@args={{this.model}}
@showLogin={{route-action "showLogin"}}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#if siteSettings.topic_voting_show_votes_on_profile}}
{{#if this.siteSettings.topic_voting_show_votes_on_profile}}
<LinkTo @route="userActivity.votes">
{{d-icon "heart"}}
{{i18n "topic_voting.vote_title_plural"}}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "2.0.1",
"@discourse/lint-configs": "2.2.1",
"ember-template-lint": "6.0.0",
"eslint": "9.14.0",
"prettier": "2.8.8"
Expand Down
Loading

0 comments on commit 73b03e4

Please sign in to comment.