43081j / 43081j/eslint-plugin-lit
Add more native properties
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 138
- Fork
- 26
- Merge trung bình
- 23 giờ 29 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
There is the `no-native-attributes` rule:
https://github.com/43081j/eslint-plugin-lit/blob/master/docs/rules/no-native-attributes.md
But we also want to avoid native properties like `className`:
https://developer.mozilla.org/en-US/docs/Web/API/Element/className
We should have a different rule?
Or just add more elements to the array?
https://github.com/43081j/eslint-plugin-lit/blob/7e40fca504f9f24eb80c32e4b1a9fa7206b9ba4b/src/rules/no-native-attributes.ts#L11-L44
Thanks!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.