@houheaven/eslint-config-helper 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,70 @@
1
+ # 更新记录
2
+
3
+ > @houheaven/eslint-config-helper
4
+
5
+
6
+ ## v3.2.3
7
+
8
+ `发布:2026-11-25`
9
+ <!-- 开发:2026-11-25 -->
10
+ - 优化:修改了 `@typescript-eslint/naming-convention` 的变量规则,普通变量新增帕斯卡命名支持(StrictPascalCase),解决 React 函数组件变量名被命名规则拒绝的问题
11
+
12
+
13
+ ## v3.2.2
14
+
15
+ `发布:2026-11-23`
16
+ <!-- 开发:2026-11-23 -->
17
+ - 新增 `CHANGELOG.md` 变更记录文档
18
+
19
+
20
+ ## v3.2.1
21
+
22
+ `发布:2026-11-23`
23
+ <!-- 开发:2026-11-23 -->
24
+ - 迁移 `no-extra-parens` 规则至 `@stylistic/no-extra-parens`
25
+
26
+
27
+ ## v3.2.0
28
+
29
+ `发布:2026-11-19`
30
+ <!-- 开发:2026-11-19 -->
31
+ - 新增 Vue2 + TypeScript 支持
32
+ - 新增:`hhEslintConfigHelper.configs.vue2Ts`
33
+ - 新增:`hhEslintConfigHelper.supports.vue2Ts`
34
+
35
+
36
+ ## v3.1.0
37
+
38
+ `发布:2026-09-13`
39
+ <!-- 开发:2026-09-11 -->
40
+ - 新增 React 规则集(eslint-plugin-react)
41
+ - 新增 React Hooks 规则集(eslint-plugin-react-hooks)
42
+ - 新增:`hhEslintConfigHelper.configs.reactJsx`
43
+ - 新增:`hhEslintConfigHelper.configs.reactTsx`
44
+ - 新增:`hhEslintConfigHelper.supports.reactJsx`
45
+ - 新增:`hhEslintConfigHelper.supports.reactTsx`
46
+
47
+
48
+ ## v3.0.0
49
+
50
+ `发布:2026-03-18`
51
+ <!-- 开发:2026-03-07 -->
52
+ - 升级 Eslint 到 v9
53
+ - 新增 configs 预设配置
54
+ - 新增:`hhEslintConfigHelper.configs.es5`
55
+ - 新增:`hhEslintConfigHelper.configs.es6`
56
+ - 新增:`hhEslintConfigHelper.configs.typescript`
57
+ - 新增:`hhEslintConfigHelper.configs.vue2`
58
+ - 新增:`hhEslintConfigHelper.configs.vue3`
59
+ - 新增:`hhEslintConfigHelper.configs.vue3Ts`
60
+ - 新增:`hhEslintConfigHelper.configs.htmlEs5`
61
+ - 新增:`hhEslintConfigHelper.configs.htmlEs6`
62
+ - 新增 supports 预设配置
63
+ - 新增:`hhEslintConfigHelper.supports.es5`
64
+ - 新增:`hhEslintConfigHelper.supports.es6`
65
+ - 新增:`hhEslintConfigHelper.supports.typescript`
66
+ - 新增:`hhEslintConfigHelper.supports.vue2`
67
+ - 新增:`hhEslintConfigHelper.supports.vue3`
68
+ - 新增:`hhEslintConfigHelper.supports.vue3Ts`
69
+ - 新增:`hhEslintConfigHelper.supports.htmlEs5`
70
+ - 新增:`hhEslintConfigHelper.supports.htmlEs6`
@@ -13,8 +13,9 @@ module.exports = {
13
13
  {
14
14
  // 普通变量
15
15
  // - 驼峰式(myVariableName)
16
+ // - 严格帕斯卡命名(React 组件:MyComponent)
16
17
  "selector": "variable",
17
- "format": ["strictCamelCase"],
18
+ "format": ["strictCamelCase", "StrictPascalCase"],
18
19
  },
19
20
  {
20
21
  // 常量(const)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houheaven/eslint-config-helper",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Eslint 规则助手 (Flat Config)",
5
5
  "author": "立树",
6
6
  "license": "MIT",