Skip to content

Commit

Permalink
migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe committed Feb 5, 2024
1 parent bcd1800 commit 9882577
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
20 changes: 20 additions & 0 deletions packages/f2elint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
# 更新日志

## 4.0.0 (2024-02-05)

升级方法:

```bash
npx f2elint
```

**破坏性变更:**

- 移除了内置的的 lint 命令,直接采用 eslint,style 和 prettier 命令行工具

**一般变更:**

- 配置统一放在 package.json,减少配置文件数量
- 升级 `stylelint` 14 到 16
- 移除 `package.json` 中的 `engines` 字段,不再人为限制 Node.js 版本

## 3.0.0 (2022-03-16)

依赖升级:

- 增加依赖 `eslint-import-resolver-typescript`
- 升级依赖 `eslint` 7 -> 8,参见 [ESLint 变更日志](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- 升级依赖 `eslint-config-ali` 13 -> 14
Expand All @@ -13,6 +32,7 @@
- 升级依赖 `@commitlint/cli` 11 -> 16

其他:

- Node.js API 变更:
- scan 支持 config 参数,优先级高于 f2elint.config.js
- config 增加 enableESLint 参数,以支持开关 eslint 扫描
Expand Down
8 changes: 3 additions & 5 deletions packages/f2elint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"files": [
"lib/"
],
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"keywords": [
"f2elint",
"Alibaba F2E Guidelines"
Expand Down Expand Up @@ -65,7 +62,8 @@
"copyfiles": "^2.4.1",
"jest": "^27.5.1",
"nyc": "^15.1.0",
"typescript": "^4.6.2"
"rive": "^2.0.22",
"typescript": "^5.3.3"
},
"dependencies": {
"@babel/core": "^7.16.0",
Expand Down Expand Up @@ -112,4 +110,4 @@
"text-table": "^0.2.0",
"vue-eslint-parser": "^7.3.0"
}
}
}
File renamed without changes.

0 comments on commit 9882577

Please sign in to comment.