developit / developit/eslint-config-developit
Update `babel-eslint`
- 主要語言
- JavaScript
- 星號
- 21
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
描述
`babel-eslint` is deprecated and it should be replaced with `@babel/eslint-parser`.
## Steps to reproduce
1. `yarn init -y`
2. `yarn set version berry`
3. `yarn add eslint-config-developit`
4. See logs:
```console
➤ YN0000: ┌ Resolution step
➤ YN0061: │ babel-eslint@npm:10.1.0 is deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
➤ YN0002: │ test-babel-eslint@workspace:. doesn't provide eslint (p894aa), requested by eslint-config-developit
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ unbox-primitive@npm:1.0.1 can't be found in the cache and will be fetched from the remote regist
➤ YN0013: │ which-boxed-primitive@npm:1.0.2 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ wrappy@npm:1.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0007: │ core-js@npm:3.19.3 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed
➤ YN0000: Done with warnings
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
檢查儲存庫的相依性與 ESLint 設定檔,然後使用列出的 Yarn Berry 命令重現問題。將已棄用的套件參照替換為 @babel/eslint-parser,並確認安裝 eslint-config-developit 時不再回報 babel-eslint 的棄用警告。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- eslint, javascript
- 領域
- tooling
- Issue 類型
- 重構
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100