ai-shifu / ai-shifu/ChatALL

Refactor: Remove empty bot constructors that only call super()

未关闭
#1,008 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
16.5k
派生
1.7k
PR 合并指标
30 天内没有已合并 PR

描述

**Suggestion:** Remove the empty constructor since it only calls the superclass constructor and adds unnecessary boilerplate. [general, importance: 5]

```diff
- constructor() {
- super();
- }
+ // constructor omitted since default inherited constructor is sufficient
```

_Originally posted by @PeterBot in https://github.com/ai-shifu/ChatALL/pull/1005#discussion_r2051138623_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。