chore: 린트 강화 — strict 모드·버그성 규칙 활성화 + 위반 313건 정리#151
Merged
Conversation
analysis_options 가 flutter_lints 기본값 그대로라는 지적 해소: - analyzer strict-casts(위반 0)·strict-raw-types 활성화. strict-inference 는 위반 133건 대부분이 타입 인자 표기 강제(소음)라 제외 - 규칙 추가: unawaited_futures(await 누락 검출), cancel_subscriptions, avoid_slow_async_io, only_throw_errors, prefer_single_quotes, directives_ordering - 정리: directives_ordering 등 122건 dart fix 자동 적용, unawaited_futures 30건은 전부 unawaited() 명시 래핑(현재 동작 보존 — await 추가는 타이밍 의미가 바뀔 수 있어 배제), strict_raw_type 13건은 Map<dynamic, dynamic> 타입 인자 명시, 테스트 헬퍼의 deprecated anonKey → publishableKey - 잔여 6건(전부 info)은 post_create_screen.dart — 진행 중 작업과 겹쳐 보류, 정리 후 analyze fatal-infos 전환 가능 테스트 104건 통과(동작 무변화 확인). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
'린트가 기본값 그대로' 지적 해소 — 규칙을 실질적으로 강화하고 위반을 전수 정리합니다.
활성화
strict-casts(위반 0 — 캐스트 위생이 이미 좋았음) ·strict-raw-typesunawaited_futurescancel_subscriptionsavoid_slow_async_ioonly_throw_errorsprefer_single_quotes(위반 0)directives_orderingstrict-inference는 의도적으로 제외 — 위반 133건 대부분이 타입 인자 표기 강제로 실익 대비 소음정리 (313건 → 0건*)
dart fix자동unawaited()명시 래핑 — await 추가는 타이밍 의미가 바뀔 수 있어 배제, 현재 동작 보존 + fire-and-forget 의도 명시Map→Map<dynamic, dynamic>(호출부가 비제네릭 Map 을 넘겨<String, dynamic>으로 좁히면 컴파일 파괴)* 잔여 6건(전부 info)은
post_create_screen.dart— 진행 중 작업(PR #143·WIP)과 겹쳐 보류. 정리되면--no-fatal-infos를 떼고 analyze 완전 게이트로 전환할 수 있습니다.테스트 104건 통과(동작 무변화 확인), 포맷 게이트 통과.
🤖 Generated with Claude Code