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 문제해결 #154

Open
1 of 3 tasks
goo-gy opened this issue May 15, 2022 · 2 comments
Open
1 of 3 tasks

ESLint 문제해결 #154

goo-gy opened this issue May 15, 2022 · 2 comments
Assignees
Labels
good first issue Good for newcomers question Further information is requested

Comments

@goo-gy
Copy link
Collaborator

goo-gy commented May 15, 2022

  • React rule은 jsx 파일에만 적용하기
  • prettier와 충돌나는 부분 해결하기
  • 검사가 언제 이루어지는지 확실히 체크
@goo-gy goo-gy added the question Further information is requested label May 15, 2022
@goo-gy goo-gy self-assigned this May 15, 2022
@goo-gy goo-gy changed the title ESLint jsx / js 분리해서 적용하는법 알아보기 ESLint 문제해결 May 15, 2022
@goo-gy
Copy link
Collaborator Author

goo-gy commented May 15, 2022

    "plugins": ["react"],

추가하니 react rule은 jsx파일에 적용되었습니다.

@goo-gy
Copy link
Collaborator Author

goo-gy commented May 15, 2022

npx eslint src로는 안잡히는 lint 에러가 npm run dev로 실행할 때 잡히네요.
확실하게 체크할 수 있는 방법을 찾아보겠습니다.

@goo-gy goo-gy added the good first issue Good for newcomers label May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant