@houheaven/eslint-config-helper 3.2.2 → 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 CHANGED
@@ -3,6 +3,13 @@
3
3
  > @houheaven/eslint-config-helper
4
4
 
5
5
 
6
+ ## v3.2.3
7
+
8
+ `发布:2026-11-25`
9
+ <!-- 开发:2026-11-25 -->
10
+ - 优化:修改了 `@typescript-eslint/naming-convention` 的变量规则,普通变量新增帕斯卡命名支持(StrictPascalCase),解决 React 函数组件变量名被命名规则拒绝的问题
11
+
12
+
6
13
  ## v3.2.2
7
14
 
8
15
  `发布:2026-11-23`
@@ -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.2",
3
+ "version": "3.2.3",
4
4
  "description": "Eslint 规则助手 (Flat Config)",
5
5
  "author": "立树",
6
6
  "license": "MIT",