Skip to content

Commit

Permalink
DEV: Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Nov 20, 2024
1 parent fa177c0 commit 3cce61c
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 258 deletions.
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{{#if reviewable.topic}}
{{#if this.reviewable.topic}}
<div class="flagged-post-header">
<ReviewableTopicLink @reviewable={{reviewable}} @tagName="" />
<ReviewableTopicLink @reviewable={{this.reviewable}} @tagName="" />
</div>
{{/if}}

<div class="reviewable-upload">
<div class="reviewable-upload-contents">
<div class="post-contents-wrapper">
{{#if reviewable.target_created_by}}
{{#if this.reviewable.target_created_by}}
<ReviewableCreatedBy
@user={{reviewable.target_created_by}}
@user={{this.reviewable.target_created_by}}
@tagName=""
/>
{{/if}}

<div class="post-contents">
<div class="post-body disable-links-to-flagged-upload">
<CookText @rawText={{reviewable.payload.post_raw}} />
<CookText @rawText={{this.reviewable.payload.post_raw}} />
</div>
</div>
</div>

<ReviewableField
@classes="reviewable-upload-details scan-result"
@name={{i18n "review.file.scan_result"}}
@value={{reviewable.payload.scan_message}}
@value={{this.reviewable.payload.scan_message}}
/>

<ReviewableField
@classes="reviewable-upload-details filename"
@name={{i18n "review.file.filename"}}
@value={{reviewable.payload.original_filename}}
@value={{this.reviewable.payload.original_filename}}
/>

<ReviewableField
@classes="reviewable-upload-details uploaded-by"
@name={{i18n "review.file.uploaded_by"}}
@value={{reviewable.payload.uploaded_by}}
@value={{this.reviewable.payload.uploaded_by}}
/>
</div>

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.0",
"ember-template-lint": "6.0.0",
"eslint": "9.14.0",
"prettier": "2.8.8"
Expand Down
Loading

0 comments on commit 3cce61c

Please sign in to comment.