Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rtablada committed Dec 28, 2022
1 parent e8baa1d commit 238c372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/rules/no-implicit-injections.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Examples of **incorrect** code for this rule:
import Route from '@ember/routing/route';

export default class IndexRoute extends Route {
async model() {
model() {
return this.store.findAll('rental');
}
}
Expand All @@ -37,7 +37,7 @@ import { action } from '@ember/object';

export default class IndexController extends Controller {
@action
async loadUsers() {
loadUsers() {
return this.store.findAll('user');
}
}
Expand All @@ -53,7 +53,7 @@ import { inject as service } from '@ember/service';
export default class IndexRoute extends Route {
@service('store') store;

async model() {
model() {
return this.store.findAll('rental');
}
}
Expand All @@ -69,7 +69,7 @@ export default class IndexController extends Controller {
@service('store') store;

@action
async loadUsers() {
loadUsers() {
return this.store.findAll('user');
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"ember-template-imports": "^3.1.1",
"eslint-utils": "^3.0.0",
"estraverse": "^5.2.0",
"lodash.kebabcase": "^4.1.1",
"lodash.camelcase": "^4.1.1",
"lodash.kebabcase": "^4.1.1",
"magic-string": "^0.27.0",
"requireindex": "^1.2.0",
"snake-case": "^3.0.3"
Expand Down

0 comments on commit 238c372

Please sign in to comment.