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.
🤠 개요
Closes Style: stylelint 설정 수정 #7
기존 설정이 scss 기준으로 되어있었는데, 찾아보고 이것저것 테스트해보니 emotion과 함께 사용하기 적합하지 않아 제거합니다.
💫 설명
@stylelint/postcss-css-in-js
패키지가 최근 deprecated 되어 emotion 환경의 stylelint 레퍼런스가 많이 없습니다.현재 emotion에서 사용할 수 있는 custom syntax 패키지가 있지만 속성을 정렬하는 플러그인은 제대로 동작하지 않고, 이미 pre-commit 훅에서 prettier와 eslint를 사용하고 있기 때문에 꼭 필요한 린팅이 아니라고 생각해 제거합니다.
추후에 설정하고 싶다면 참고할 수 있는 레퍼런스들을 함께 첨부합니다.
📖 참고 자료
배경과 관련 이슈
Add stylelint with EmotionJS emotion-js/emotion#2694
Rules not working with CSS in JS syntax stylelint/stylelint#5990
Create custom Stylelint syntax so you can use Stylelint with Emotion emotion-js/emotion#2695
customSyntax for Stylelint v14+ styled-components/styled-components#3897
현재 유지보수 되고있는 custom syntax 패키지들
https://github.com/stylelint/stylelint/blob/main/docs/user-guide/customize.md#custom-rules