Skip to content

Commit 08b8ca5

Browse files
Merge pull request #32 from boostcampwm-2024/hotfix-be-#30
hotfix: lint 오류 수정
2 parents afa8b7a + 51f6677 commit 08b8ca5

File tree

6 files changed

+4
-16
lines changed

6 files changed

+4
-16
lines changed

apps/backend/.eslintrc.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,4 @@ module.exports = {
2222
'@typescript-eslint/explicit-module-boundary-types': 'off',
2323
'@typescript-eslint/no-explicit-any': 'off',
2424
},
25-
'prettier/prettier': [
26-
'error',
27-
{
28-
endOfLine: 'auto',
29-
},
30-
],
3125
};

apps/backend/src/page/page.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Injectable, Inject } from '@nestjs/common';
1+
import { Injectable } from '@nestjs/common';
22
import { NodeRepository } from '../node/node.repository';
33
import { WorkspaceRepository } from '../workspace/workspace.repository';
44
import { PageRepository } from './page.repository';
@@ -9,8 +9,6 @@ import { UpdatePartialPageDto } from './dtos/updatePartialPage.dto';
99
import { PageNotFoundException } from '../exception/page.exception';
1010
import { WorkspaceNotFoundException } from '../exception/workspace.exception';
1111

12-
const RED_LOCK_TOKEN = 'RED_LOCK';
13-
1412
@Injectable()
1513
export class PageService {
1614
constructor(

apps/backend/src/tasks/tasks.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Page } from '../page/page.entity';
77
import { Node } from '../node/node.entity';
88
import { Edge } from '../edge/edge.entity';
99
import { Inject } from '@nestjs/common';
10-
import Redis, { Command } from 'ioredis';
10+
import Redis from 'ioredis';
1111

1212
const REDIS_CLIENT_TOKEN = 'REDIS_CLIENT';
1313

apps/frontend/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default tseslint.config(
2323
"warn",
2424
{ allowConstantExport: true },
2525
],
26+
"@typescript-eslint/no-explicit-any": "off",
2627
},
2728
},
2829
);

apps/websocket/.eslintrc.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,4 @@ module.exports = {
2222
'@typescript-eslint/explicit-module-boundary-types': 'off',
2323
'@typescript-eslint/no-explicit-any': 'off',
2424
},
25-
'prettier/prettier': [
26-
'error',
27-
{
28-
endOfLine: 'auto',
29-
},
30-
],
3125
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"license": "MIT",
88
"scripts": {
99
"dev": "turbo run dev --parallel",
10+
"build": "turbo run build --parallel",
1011
"build:frontend": "cd ./apps/frontend && yarn build",
1112
"build:backend": "cd ./apps/backend && yarn build",
1213
"build:websocket": "cd ./apps/websocket && yarn build",

0 commit comments

Comments
 (0)