-
Notifications
You must be signed in to change notification settings - Fork 659
feat(rome_js_analyzer): rule useHtmlLang
#4052
Conversation
✅ Deploy Preview for docs-rometools canceled.Built without sensitive environment variables
|
In general rule works as expected but I feel some code can be simplified/refactored. I'd appreciate any suggestions! |
@ematipico Thanks for the review! I'll adjust code where necessary and push the changes. |
80af2e0
to
646cf7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think the rule is correct, but maybe it would make sense to merge its functionality into the similar useValidLang
rule ?
Yeah, I think it makes sense. We created two rules because the eslint plugin has two rules, so we tried not to diverge too much. We can easily merge the two rules into one later. |
Summary
Closes #3944.
Test Plan
Run newly added tests.
Documentation