Skip to content

Commit 2b8a2e0

Browse files
committed
chore: ๐Ÿ”จ @stylistic/eslint-plugin ESLint ์„ค์ • ๊ฐœ์„ 
1 parent de2fc5a commit 2b8a2e0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

โ€Žsrc/stylistic/index.tsโ€Ž

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ export default {
6868
'error',
6969
'never'
7070
],
71+
// ๋ฉ”์„œ๋“œ ํŒŒ๋ผ๋ฏธํ„ฐ ํ•œ ์ค„ ๊ฐ•์ œ
72+
'@stylistic/function-call-argument-newline': [
73+
'error',
74+
'never'
75+
],
7176
// ๋Œ€์ฒด ๋ˆ„๊ฐ€ ๋ฉ”์„œ๋“œ๋ฅผ fn ()๋กœ ํ˜ธ์ถœํ•จ?
7277
'@stylistic/function-call-spacing': 'error',
7378
// ํŒŒ๋ผ๋ฏธํ„ฐ ํ•œ ์ค„ ๊ฐ•์ œ
@@ -89,6 +94,8 @@ export default {
8994
'error',
9095
'tab'
9196
],
97+
// JSX ๋‚ด ๊ณต๋ฐฑ ์ ์šฉ
98+
'@stylistic/jsx-child-element-spacing': 'error',
9299
// JSX ํด๋กœ์ง• ๋ธŒ๋ผ์ผ“ ์œ„์น˜๊ฐ€ ํƒœ๊ทธ ์œ„์น˜์— ์˜์กดํ•˜๋„๋ก ๊ฐ•์ œ
93100
'@stylistic/jsx-closing-bracket-location': 'error',
94101
// JSX ํด๋กœ์ง• ํƒœ๊ทธ ์œ„์น˜๊ฐ€ ํƒœ๊ทธ ์œ„์น˜์— ์˜์กดํ•˜๋„๋ก ๊ฐ•์ œ
@@ -128,6 +135,8 @@ export default {
128135
'error',
129136
{ when: 'multiline' }
130137
],
138+
// ํ•˜๋‚˜์˜ ๋ผ์ธ์— ํ•˜๋‚˜์˜ JSX ํ‘œํ˜„ ๊ฐ•์ œ
139+
'@stylistic/jsx-one-expression-per-line': 'error',
131140
// JSX ํ”„๋กœํผํ‹ฐ ๋‹ค์ค‘ ๊ณต๋ฐฑ ์ œ๊ฑฐ
132141
'@stylistic/jsx-props-no-multi-spaces': 'error',
133142
// JSX ํ”„๋กœํผํ‹ฐ ๋”ฐ์˜ดํ‘œ ๋”๋ธ” ๊ฐ•์ œ
@@ -217,10 +226,7 @@ export default {
217226
// ์˜ค๋ธŒ์ ํŠธ ์š”์†Œ ์ค„๋ฐ”๊ฟˆ ๊ทœ์น™ ๊ฐ•์ œ
218227
'@stylistic/object-property-newline': [
219228
'error',
220-
{
221-
allowAllPropertiesOnSameLine: false,
222-
allowMultiplePropertiesPerLine: false
223-
}
229+
{ allowAllPropertiesOnSameLine: false }
224230
],
225231
// ๋ถˆํ•„์š”ํ•œ ๋ธ”๋Ÿญ ํŒจ๋”ฉ ๋ฐฉ์ง€
226232
'@stylistic/padded-blocks': [

0 commit comments

Comments
ย (0)