Skip to content

Commit a8c74bf

Browse files
committed
style: fix linting errors
1 parent d7d65bb commit a8c74bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hooks/sortByDate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import _ from 'lodash';
22
import { HookContext } from '@feathersjs/feathers';
33

44
export default async (context: HookContext): Promise<HookContext> => {
5-
_.set(context, 'params.query.$sort', { createdAt: - 1});
5+
_.set(context, 'params.query.$sort', { createdAt: -1 });
66
return context;
7-
}
7+
};
88

services/feed/feed.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default class Feed {
1010
return this.app.service('polls').find(params);
1111
}
1212

13-
setup (app: Application) {
13+
setup(app: Application): void {
1414
this.app = app;
1515
}
1616
}

services/profiles/profiles.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class Profiles {
1313
});
1414
}
1515

16-
setup (app: Application) {
16+
setup(app: Application): void {
1717
this.app = app;
1818
}
1919
}

0 commit comments

Comments
 (0)