32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
include: package:flutter_lints/flutter.yaml
|
|
|
|
analyzer:
|
|
exclude:
|
|
- '**/*.g.dart'
|
|
- '**/*.freezed.dart'
|
|
- 'test/**' # 테스트 파일 일시 제외
|
|
- 'lib/widgets/shadcn/**' # ShadCN 위젯 제외
|
|
errors:
|
|
# Freezed에서 JsonKey 어노테이션 사용 시 발생하는 경고 무시
|
|
invalid_annotation_target: ignore
|
|
# null safety 관련 일반적인 warning 무시
|
|
dead_null_aware_expression: ignore
|
|
unnecessary_null_comparison: ignore
|
|
# 사용되지 않는 변수 warning 낮춤
|
|
unused_local_variable: ignore
|
|
# deprecated 멤버 사용 info로 낮춤
|
|
deprecated_member_use_from_same_package: ignore
|
|
# Type 관련 warning 무시
|
|
type_literal_in_constant_pattern: ignore
|
|
unrelated_type_equality_checks: ignore
|
|
|
|
linter:
|
|
rules:
|
|
# 개발 중 print 문 허용
|
|
avoid_print: false
|
|
# BuildContext 관련 warning 무시
|
|
use_build_context_synchronously: false
|
|
# 사용되지 않는 필드/요소 허용
|
|
# unused_field: false
|
|
# unused_element: false
|