-
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
[project] Stylelint 설정 #12
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4ed8b48
init: emotion 초기세팅
SooY2 76e2d13
pull init/#4/meteData
SooY2 0eb303d
Merge branch 'feat/init' into init/#5/emotion
SooY2 c17480c
init: theme추가
SooY2 43f8162
init: theme interface 정의
SooY2 9ae4ab6
fix: swap파일 삭제
SooY2 3e8a935
merge: feat/init merge
SooY2 4295591
init: stylelint 설정
eonseok-jeon 300c4a6
chore: 단위 제한 설정 추가
eonseok-jeon e0ae2fa
chore: script 추가
eonseok-jeon dabe3ae
fix: stylelint error 수정
eonseok-jeon cca5509
chore: 안쓰는 의존성 제거
eonseok-jeon 74d7e87
chore: 테스트 코드 제거
eonseok-jeon 5b02ea1
Merge branch 'feat/init' into init/#1/stylelint
eonseok-jeon 70f74de
fix: import 에러 해결
eonseok-jeon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-recess-order" | ||
], | ||
"customSyntax": "postcss-styled-syntax", | ||
"rules": { | ||
"declaration-property-unit-allowed-list": { | ||
"/^border/": [ | ||
"px" | ||
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 디테일 장인이십니다 |
||
], | ||
"unit-allowed-list": [ | ||
"%", | ||
"deg", | ||
"px", | ||
"rem", | ||
"ms", | ||
"s", | ||
"em", | ||
"vw", | ||
"vh" | ||
] | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { css } from "@emotion/react"; | ||
|
||
const reset = css` | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v2.0 | 20110126 | ||
License: none (public domain) | ||
*/ | ||
|
||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp, | ||
small, strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
padding: 0; | ||
margin: 0; | ||
font-size: 100%; | ||
vertical-align: baseline; | ||
border: 0; | ||
|
||
/* font: inherit; */ | ||
} | ||
|
||
/* HTML5 display-role reset for older browsers */ | ||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
|
||
body { | ||
line-height: 1; | ||
} | ||
|
||
ol, ul { | ||
list-style: none; | ||
} | ||
|
||
blockquote, q { | ||
quotes: none; | ||
} | ||
|
||
blockquote::before, blockquote::after, | ||
q::before, q::after { | ||
content: ''; | ||
content: none; | ||
} | ||
|
||
table { | ||
border-spacing: 0; | ||
border-collapse: collapse; | ||
} | ||
` | ||
export default reset |
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
json확장자 붙여준거는 json형식이라는걸 명시해주기 위해선가요?! 단순궁금!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
공식문서에 json을 붙이는 것을 추천한다 하더라고용?
참고자료