Skip to content

Commit ab2782c

Browse files
committed
refactor: remove eslint comment
1 parent 66d7990 commit ab2782c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

server/src/filters/http-exception.filter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { errorLogger } from '../logger';
44

55
@Catch(HttpException)
66
export class HttpExceptionFilter implements ExceptionFilter {
7-
// eslint-disable-next-line class-methods-use-this
87
catch(exception: HttpException, host: ArgumentsHost) {
98
const ctx = host.switchToHttp();
109
const response = ctx.getResponse();

server/src/interceptors/transform.interceptor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ interface Response<T> {
1010

1111
@Injectable()
1212
export class TransformInterceptor<T> implements NestInterceptor<T, Response<T>> {
13-
// eslint-disable-next-line class-methods-use-this
1413
intercept(context: ExecutionContext, next: CallHandler<T>): Observable<Response<T>> {
1514
return next.handle().pipe(
1615
map((data) => {

server/src/utils/oss/aliyun-oss-client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import * as AliyunOSS from 'ali-oss';
33
import { OssClient } from './oss-client';
44

55
export class AliyunOssClient extends OssClient {
6-
// eslint-disable-next-line class-methods-use-this
76
private async buildClient() {
87
const config = this.config;
98
return new AliyunOSS({

0 commit comments

Comments
 (0)