bsg
Version:
Lint all in one tool for BSG-FE
170 lines (58 loc) • 5.54 kB
Markdown
## [2.0.5](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/2.0.4...2.0.5) (2024-08-29)
## [2.0.4](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/2.0.3...2.0.4) (2024-08-28)
### 新特性
* 增加组件相关规范规则。并且支持vue2项目 ([40741b4](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/40741b4630698a85423a27fe4311e691ba6670c0))
* **eslint:** eslint校验支持vue2。且同步增加所有版本对vue组件的规则 ([0ea0462](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/0ea04629da0fbc5a07a666aa5fd95317c030fa54))
## [2.0.3](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/2.0.2...2.0.3) (2024-06-28)
### Bug 修复
* **commitlint:** 修复注释过多时校验body超限无法提交的问题 ([2b2b986](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/2b2b9865a46105edb595b948a8b98760afa28bfc))
## [2.0.2](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.9...2.0.2) (2024-04-12)
### 新特性
* **init:** 提供init方法,识别项目环境安装对应依赖 ([1b37ca9](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/1b37ca9570ee2b169b2de163b464a42454abbff7))
## [2.0.1](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.9...2.0.1) (2024-04-12)
# [2.0.0](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.9...2.0.0) (2024-04-10)
## [1.0.9](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.8...1.0.9) (2022-06-22)
### 特性更新
* **lint:** 自动检测项目根目录的.eslintrc-auto-import.json文件,适配unplugin-auto-import ([18c21ee](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/18c21ee184312da7194830d6bf44b961779822ac))
## [1.0.8](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.7...1.0.8) (2022-05-23)
### 特性更新
* 提交信息允许首字母大写 ([38ed3d6](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/38ed3d65baa879ee218e490a50875b8223e59e5b))
## [1.0.7](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.6...1.0.7) (2022-04-13)
### Bug 修复
* 修复lslint不执行的问题 ([ff58660](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/ff58660dbf13fd3f59cfffa1fe6257ffe64eecce))
## [1.0.6](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.5...1.0.6) (2021-09-15)
### 特性更新
* scope 支持输入中文 ([32ea22b](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/32ea22b169a3e78dcd6d517fa0b520c8fe9d9a41))
### 新特性
* eslint 支持 nuxt 项目 ([d66b410](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/d66b4102d904ce07a6bc96a092a46fcbd4fa1cfc))
## [1.0.5](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.4...1.0.5) (2021-07-22)
### 特性更新
* 收窄 Vue 项目的 eslint 检测范围,与官方保持一致 ([34b2ee6](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/34b2ee6222a03170d580d7a3ae77183a7ab71775))
## [1.0.4](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.3...1.0.4) (2021-07-08)
## [1.0.3](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.2...1.0.3) (2021-07-08)
## [1.0.2](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.1...1.0.2) (2021-07-02)
### Bug 修复
* 修复 conventional-changelog 无法传递 options.linkCompare 给模版的问题 ([4967645](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/49676452e8fd7e767ecb0255ea1be7c6d75a27eb))
## [1.0.1](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.0-alpha.11...1.0.1) (2021-07-02)
### 特性更新
* gerrit 项目去除 changelog 中的版本比较功能,因为 gerrit 不具备版本比较的能力 ([fb7c68e](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/fb7c68ee80398c9e32392304c67701af50a5a659))
# [1.0.0-alpha.11](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.0-alpha.10...1.0.0-alpha.11) (2021-07-02)
### 特性更新
* 如果用户使用的是 bsg 的 eslint 配置,优先使用 bsg 依赖的 eslint 作为解析器 ([1cb2b42](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/1cb2b42531b072fb3632bde0709993b88fccfc12))
# [1.0.0-alpha.10](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.0-alpha.9...1.0.0-alpha.10) (2021-07-01)
### Bug 修复
* 获取 vue 版本时将版本号转为数字型 ([5c09a23](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/5c09a23c9c8742aa616b761aafa4e1361fae1fca))
# [1.0.0-alpha.9](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.0-alpha.6...1.0.0-alpha.9) (2021-06-30)
### 特性更新
* 自动判断 vue 版本来启用对应的 eslint 规则 ([3461f4e](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/3461f4ee7b02b11b48b0cd1034a4d5667cb573ca))
# [1.0.0-alpha.6](https://dev-gitlab.ge.cn/zhaoyx/bsg/compare/1.0.0-alpha.5...1.0.0-alpha.6) (2021-06-23)
### Bug 修复
* 修复在 `lint-staged` 中使用 `bsg lint --fix` 时无法只格式化 staged 状态文件的问题 ([79c2280](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/79c228031182c675d4c8bd4a5e70fa686b820d78))
* 指定文件格式化时,对文件进行分拣,防止文件被错误的 linter 格式化 ([0559213](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/0559213dd13ebbcdaba3f500991a47363daef65b))
# 1.0.0-alpha.5 (2021-06-22)
### 新特性
* 内置 commit 引导配置文件,项目中不再需要显式提供配置 ([c29a766](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/c29a7661b5112ac5373b975ae684d4faa68a1949))
* 前端工程工具集诞生! ([1ca6d26](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/1ca6d265b3e0a49c9f6543c1ea3910ad7eabfe0b))
* eslint 和 stylelint 支持用户自定义配置 ([aa345ef](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/aa345ef374ada98440c0e40d77a35f924ec00723))
### Bug 修复
* 修复 `CHANGELOG.md` 不存在时生成 changelog 报错的问题 ([0061ee6](https://dev-gitlab.ge.cn/zhaoyx/bsg/commit/0061ee6974013596785c9fa08e147602009a246d))