morethanmin / morethan-log

😎 A static blog using notion database
https://morethan-log.vercel.app
MIT License
1.9k stars 1.53k forks source link

[feat, refactor]: add eslint import order rules, refactor import order #301

Open yoosion030 opened 10 months ago

yoosion030 commented 10 months ago

Description

While looking at the code, I saw that the relative path and order were not organized in the import code.

So we added a function to organize the order. The following changes were made to add this function:

  1. Add path attribute to tsconfig file to prevent src/ path from being overused.
    src/components -> @/components
  2. Add rules to .eslintrc.json for organize import order

before

스크린샷 2023-11-06 오후 4 19 29

after

스크린샷 2023-11-06 오후 4 19 47

You may be reluctant to merge because there are a lot of file changes, but the following problems can be improved with these changes:

It is for this benefit that I request the change.

PR Checklist

vercel[bot] commented 10 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @morethanmin on Vercel.

@morethanmin first needs to authorize it.

yoosion030 commented 10 months ago

안녕하세요! 아래 커밋은 제외하고 PR 부탁드립니다. (해당 PR과 관련없는 커밋)

감사합니다 ㅎㅎ

아아 다른 PR에 올린 커밋이 포함되었네요,, 수정해서 다시 업로드 하겠습니다!

yoosion030 commented 10 months ago

@morethanmin 수정했습니다 :)

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
morethan-log ❌ Failed (Inspect) Dec 18, 2023 1:18am
yoosion030 commented 8 months ago

네, 다시 한번 확인해보겠습니다 :)

morethanmin commented 3 months ago

@yoosion030

해당 PR 제가 이어서 작업하겠습니다 ~!