We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f663b99 commit 69d1709Copy full SHA for 69d1709
1 file changed
โREADME.mdโ
@@ -350,10 +350,13 @@ export default {
350
'@react/button-has-type': 'error',
351
// ์ปดํฌ๋ํธ๋ ํญ์ DisplayName๋ฅผ ๊ฐ์ง
352
'@react/display-name': 'error',
353
- // ์ปดํฌ๋ํธ๋ ๋ฐ๋์ ํจ์ํ์ผ๋ก ์ ์ธ๋จ
+ // ๊ธฐ๋ช ์ปดํฌ๋ํธ๋ ํจ์ํ์ผ๋ก, ์ต๋ช ์ปดํฌ๋ํธ๋ ์ ๋ก์ฐ ๋ฉ์๋๋ก ๊ฐ์
354
'@react/function-component-definition': [
355
'error',
356
- 'function'
+ {
357
+ namedComponents: 'function-declaration',
358
+ unnamedComponents: 'arrow-function'
359
+ }
360
],
361
// useState์ get, set ๊ฐ์ฒด๋ช ์ ๋์นญ์ ์ผ๋ก ๊ตฌ์ฑ๋จ
362
'@react/hook-use-state': 'error',
0 commit comments