Skip to content

Commit e1aabe0

Browse files
authored
DEV: Update linting (#534)
1 parent cac9a76 commit e1aabe0

File tree

5 files changed

+196
-74
lines changed

5 files changed

+196
-74
lines changed
File renamed without changes.

assets/javascripts/discourse/assigned-messages-route-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
resource: "user.userPrivateMessages",
33

44
map() {
5-
this.route("assigned", { path: "/assigned" }, function () {
5+
this.route("assigned", function () {
66
this.route("index", { path: "/" });
77
});
88
},

assets/javascripts/discourse/controllers/group-assigned.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ export default class GroupAssigned extends Controller {
4747
})
4848
.then((result) => {
4949
if (this.router.currentRoute.params.filter !== "everyone") {
50-
this.transitionToRoute("group.assigned.show", groupName, "everyone");
50+
this.router.transitionTo(
51+
"group.assigned.show",
52+
groupName,
53+
"everyone"
54+
);
5155
}
5256
this.set("members", result.members);
5357
})

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"author": "Discourse",
66
"license": "MIT",
77
"devDependencies": {
8-
"@discourse/lint-configs": "^1.0.0",
9-
"ember-template-lint": "^5.12.0",
10-
"eslint": "^8.51.0",
8+
"@discourse/lint-configs": "^1.2.0",
9+
"ember-template-lint": "^5.13.0",
10+
"eslint": "^8.54.0",
1111
"prettier": "^2.8.8"
1212
}
1313
}

0 commit comments

Comments
 (0)