bugfix: lint-staged command 오류를 수정합니다. #73
Merged
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.
🔥 Related Issues
✅ 작업 내용
lint-staged command 오류를 수정했어요.
Biome 공식문서를 다시 정독했는데, check command에
--format
이라는 option은 존재하지 않았어요. 심지어 자동적용 옵션도--apply
가 아니라--write
였어요...저희 논의 후에 자동적용은 끄기로 결정했으므로, --write 옵션은 추가하지 않았어요.
대신
--no-errors-on-unmatched
옵션을 추가해주었는데, glob 패턴으로 *.{js,jsx,ts,tsx} 파일들을 검사할 때, 해당 패턴과 일치하지 않는 파일이 있더라도 에러로 처리하지 않고 건너뛰도록 설정하기 위해 추가해줬어요.추가적으로 제가 이전에 작성한 모바일 뷰 코드들에서 lint 오류가 나는 부분을 수정했어요.