Skip to content

Comments

fix: improve linter execution with TypeScript support and language filtering#57

Merged
sehwan505 merged 9 commits intomainfrom
fix/linter
Dec 14, 2025
Merged

fix: improve linter execution with TypeScript support and language filtering#57
sehwan505 merged 9 commits intomainfrom
fix/linter

Conversation

@ikjeong
Copy link
Contributor

@ikjeong ikjeong commented Dec 13, 2025

Summary

  • ESLint가 TypeScript 파일을 올바르게 파싱할 수 있도록 @typescript-eslint/parser 통합
  • 린터가 지원하지 않는 언어의 규칙이 잘못 적용되는 문제 수정
  • Install() 호출 후 WorkDir이 ToolsDir로 고정되어 린터가 잘못된 경로에서 실행되던 버그 수정

Changes

  • TypeScript 지원 추가

    • ESLint 설치 시 @typescript-eslint/parser 자동 설치
    • ESLint 설정에 parser: "@typescript-eslint/parser" 추가
    • TSC 에러 코드를 의미 있는 규칙 ID로 매핑 (예: TS7006no-implicit-any, TS2531strict-null-checks)
  • 언어 필터링 버그 수정

    • intersectLanguages() 함수 추가: 사용자 지정 언어와 린터 지원 언어의 교집합만 적용
  • WorkDir 리셋 버그 수정

    • ESLint, Prettier, TSC executor에서 실행 전 WorkDir을 빈 문자열로 리셋하여 CWD 사용
  • 코드 개선

    • MCP 서버에서 린터 접미사를 하드코딩 대신 레지스트리에서 동적 생성
    • Validator에 verbose 모드 디버깅 로그 강화 (skip 사유 출력)
  • 기타

    • devcontainer에 Java 21 추가 (Checkstyle, PMD 실행용)
    • README에서 더 이상 필수가 아닌 user-policy.json 참조 제거
    • 버전 0.1.13으로 업데이트

@ikjeong ikjeong self-assigned this Dec 13, 2025
Copy link
Contributor

@sehwan505 sehwan505 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sehwan505 sehwan505 merged commit 1847352 into main Dec 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants