-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[publint] skip 옵션 제공 #26
Conversation
@byhhh2 님
고민인 이유는 필드가 너무 많아져서 그런걸까요? |
@2-one-week 님 |
아예 다 스킵할거냐,, 다 검사할거냐 이차이군요ㅋㅋ 저는 개인적으로 자유도가 높은걸 좋아하긴 하는데, 또 사용하는 쪽 생각해보면 단순한게 좋겠다 싶어서,,, 일단 loose / strict 로 가고 니즈가 있으면 세분화하는건 어떠신가용? @yceffort-naver @keemhyunseok 님 이거 의견 부탁드려도 될까요? |
저도 간결한게 좋을 듯 하여 이 의견에 동의합니당 |
@2-one-week 님, @keemhyunseok 님 |
필드 하나로 합치잔 말씀이시죠?? |
@2-one-week 님 |
@byhhh2 님 음 저는 단순하게 try {
// 여러 검증
} catch (error) {
if(verify === 'loose'){
console.warn(error)
} else if (verify === 'strict') {
throw error
} else if (verify === 'slient') {
// ㅎㅅㅎ
}
}
이렇게 생각했는데요. 패키지 개발이라는게 사실 개발자의 입맛에 따라서 다양한 부분이 다를 수 있어서,
|
@2-one-week 님 말씀주신 에러 레벨 옵션을 publint 아닌 pite에만 줘도 될 것 같기는 한데 오떠신가요? publint에서 error throw or error msg return => pite에서 error level option을 받아서 어떻게 처리할지 정함 @yceffort-naver 님 @keemhyunseok 님 의견도 부탁드립니당! |
@byhhh2 님
네네 이것도 좋을 것 같습니다!!! pite에서 처리하는게 맞긴 하겠네요 |
Related Issue
Describe your changes
Request