Skip to content
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

함수 작성 방식 통일을 위한 eslint rule 추가 #8

Merged
merged 5 commits into from
Oct 1, 2023

Conversation

nijuy
Copy link
Collaborator

@nijuy nijuy commented Sep 26, 2023

1️⃣ 어떤 작업을 했나요? (Summary)

  • 함수 작성 방식을 통일하기 위해 eslint rule을 추가했습니다

    • eslint-plugin-react 를 설치했습니다
    • react/function-component-definition rule을 추가했습니다 (참고자료)

기존 코드에 영향을 미치지 않는 변경사항

  plugins: ['react-refresh', 'react', 'prettier'],
  'react/function-component-definition': [2, { namedComponents: 'arrow-function' }],

@nijuy nijuy mentioned this pull request Sep 26, 2023
Copy link
Member

@Hanna922 Hanna922 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니당~!

@nijuy nijuy merged commit 42c1f39 into develop Oct 1, 2023
@nijuy nijuy deleted the feat/component-definition branch October 1, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants