43081j / 43081j/eslint-plugin-wc

Optional stylistic rule for requiring a static name

未关闭
#54 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted new lint rule
主要语言
TypeScript
星标
113
派生
19
平均合并
3 小时 14 分钟
30 天内合并 PR
2

描述

I have seen quite a bit recently a pattern of a static getter or property for the component name. We could fairly easily add an opt-in rule for this.

Something like `require-static-name` with a default config `{ propertyName: 'is' }` that could be changed to something like `{ propertyName: 'tag' }` instead?

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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