๐ :: (#554) pre-push ์์ ์ SwiftFormat ์ ์ฉ #555
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.
๐ก ๋ฐฐ๊ฒฝ ๋ฐ ๊ฐ์
๊ธฐ์กด์ pre-commit (์ปค๋ฐ ์ ) ์์ ์ SwiftFormat์ ๋๋ฆฌ๊ณ ๊ฐ๋ฐ์๊ฐ ์ง์ commit์ ํ๊ฒ ํ์ต๋๋ค.
๋จ, ์ด๋ฌ๋ฉด์ ๋๋๋ ๋ฌธ์ ์ ์ด ๊ฐ๋ฐ์๊ฐ ๊ฝค๋ ๋ฒ๊ฑฐ๋ก์์ ๋๋ผ๊ฒ ๋๊ณ ์ฝ๋์์ Format์ ์งํํ ์ปค๋ฐ์ด ๊ฑฐ์ ์ ๋ฐ์ ๋จน๊ฒ ๋ ์๋ ์๋ค๋ ๋ฑ์ ๋ฌธ์ ์ ์ ์ผ๊ธฐํ์ต๋๋ค.
๊ฐ๋ฐ์๊ฐ ์ง์ commit์ ํ๊ฒ ๋ ์ด์ ๋ ์๋์ผ๋ก ์ปค๋ฐํ๋ค๋ฉด ๊ฐ๋ฐ์์ ์์ง๋๋ก ์ปค๋ฐ์ ๋ถ๋ฆฌํ๊ธฐ๊ฐ ์ด๋ ค์์ง๊ธฐ ๋๋ฌธ์ ๋๋ค (pre-commit ์์ ์ git add . git commit -m "Formatt" ์ด๋ฐ์์ผ๋ก ์งํํ๋ค๋ฉด ๋ฌด์กฐ๊ฑด ๋ชจ๋ ์์ ์ด ํ๋์ ์ปค๋ฐ์ ์ด๋ฃจ์ด์ ธ์ผํจ
์ด๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด SwiftFormat์ ์๋์ผ๋ก ๋๋ฆฌ๋ ์์ ์ pre-commit์์ pre-push๋ก ์์ ์ด๋์ ์ํต๋๋ค
Resolves: #554
๐ ์์ ๋ด์ฉ
๐โโ๏ธ ๋ฆฌ๋ทฐ๋ ธํธ
โ PR ์ฒดํฌ๋ฆฌ์คํธ
XCConfig
,๋ ธ์
,README
)"API ๊ฐ๋ฐ ์๋ฃ๋์ด์"
,"XCConfig ๊ฐ ์ถ๊ฐ๋์์ด์"
)