-
Notifications
You must be signed in to change notification settings - Fork 9
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
import 플러그인이 Typescript의 module alias를 인식할 수 있도록 처리 #146
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release-canary |
v0.0.0-220126c has been published! |
polysiya
previously approved these changes
Oct 28, 2021
release-canary |
v0.0.0-17043e0 has been published! |
inbeom
previously approved these changes
Oct 29, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엇 readme 충돌..!
eslint import 플러그인이 typescript의 모듈 alias를 인식할 수 있게 해주는 플러그인을 설치합니다.
eslint-import-resolver-typescript의 설정을 추가합니다. createConfig 함수가 tsconfig.json 파일의 경로를 project라는 이름의 파라미터로 받아서 import/resolver의 설정에 추가합니다. project가 없으면 해당 설정을 추가하지 않습니다. project 존재 여부와 상관없이 무조건 적용할 수 있는 설정은 index.js에 추가합니다.
project를 넣어주는 것은 typescript일 때만 유효하므로 ts, tsx 파일에만 적용해야합니다.
giwan-dev
force-pushed
the
feature/ts-module-alias
branch
from
October 29, 2021 07:51
17043e0
to
298809e
Compare
polysiya
approved these changes
Oct 29, 2021
inbeom
approved these changes
Oct 29, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
import 플러그인이 typescript의 module alias를 인식할 수 있도록 처리하는
eslint-import-resolver-typescript
패키지를 설치합니다.