fix: @typescript-eslint/naming-convention 이 실제로 잘 동작하도록 eslintrc.js의 설정을 변경합니다. #111
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.
Overview
docs아래 경로에서
yarn lint
를 돌려보았을 때, 아래와 같이 경고메시지가 나타나고 있어 해당 문제를 수정한 PR이에요.project: true
옵션을 주게 되면, eslint가 동작하는 각 파일이 위치하는 곳의 가장 가까운 곳의tsconfig.json
을 매칭시켜 적용하게 돼요. (문서)parserOptions.parser
를 설정하지 않은 경우, naming-convention에 맞지 않는 snake_case의 variable이 통과함parserOptions.parser
를 true로 설정한 경우, naming-convention에 맞지 않는 snake_case의 variable에 에러를 띄워줌PR Checklist