티스토리 뷰

728x90
반응형

 

 

import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';

@Module({
  imports: [],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}

 

nestjs에서 decorator로 사용하는 멀쩡한 코드인데 import 되는 모듈들에서 eslint의

 

@typescript-eslint/no-unused-vars

 

오류 또는 경고가 발생한다면?

 

 

현재 시점을 기준으로(2022/12/7) typescript-eslint

 

https://github.com/typescript-eslint/typescript-eslint

 

GitHub - typescript-eslint/typescript-eslint: Monorepo for all the tooling which enables ESLint to support TypeScript

:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript - GitHub - typescript-eslint/typescript-eslint: Monorepo for all the tooling which enables ESLint to support TypeS...

github.com

해당 패키지의 최신버전이 v5.45.1 입니다

 

최신버전으로 업데이트 해주세요

 

 

 

728x90
반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함