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 bd9aec2 commit 80b4f41
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 251 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{mount-widget widget="category-icon" args=(hash category=category)}}
{{mount-widget widget="category-icon" args=(hash category=this.category)}}
1 change: 1 addition & 0 deletions javascripts/discourse/initializers/category-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class CategoryHashtagTypeWithIcon extends CategoryHashtagType {
super(owner);
this.dict = dict;
}

generateIconHTML(hashtag) {
const opt = this.dict[hashtag.id];
if (opt) {
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 80b4f41

Please sign in to comment.