Skip to content

Commit f61f86a

Browse files
committed
Fix linter issues
1 parent 4268e47 commit f61f86a

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ module.exports = {
2121
'@typescript-eslint/explicit-function-return-type': 'off',
2222
'@typescript-eslint/explicit-module-boundary-types': 'off',
2323
'@typescript-eslint/no-explicit-any': 'off',
24+
"prettier/prettier": [
25+
"error",
26+
{
27+
"endOfLine": "auto"
28+
}
29+
]
2430
},
2531
};

src/shelter-managers/shelter-managers.controller.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ describe('ShelterManagersController', () => {
99
controllers: [ShelterManagersController],
1010
}).compile();
1111

12-
controller = module.get<ShelterManagersController>(ShelterManagersController);
12+
controller = module.get<ShelterManagersController>(
13+
ShelterManagersController,
14+
);
1315
});
1416

1517
it('should be defined', () => {

src/shelter/shelter.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
import { SeachQueryProps } from '@/decorators/search-query/types';
1313
import { SupplyPriority } from 'src/supply/types';
1414

15-
1615
@Injectable()
1716
export class ShelterService {
1817
constructor(private readonly prismaService: PrismaService) {}
@@ -74,8 +73,7 @@ export class ShelterService {
7473
verified: true,
7574
shelterSupplies: {
7675
where: {
77-
priority: {
78-
},
76+
priority: {},
7977
},
8078
select: {
8179
priority: true,

src/supply-categories/supply-categories.controller.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ describe('SupplyCategoriesController', () => {
99
controllers: [SupplyCategoriesController],
1010
}).compile();
1111

12-
controller = module.get<SupplyCategoriesController>(SupplyCategoriesController);
12+
controller = module.get<SupplyCategoriesController>(
13+
SupplyCategoriesController,
14+
);
1315
});
1416

1517
it('should be defined', () => {

0 commit comments

Comments
 (0)