GCI1234 [Team TERRE][2025] - Optimize browserlist tag in package.json #Javascript #RulesSpecifications - #408
GCI1234 [Team TERRE][2025] - Optimize browserlist tag in package.json #Javascript #RulesSpecifications#408Geenag wants to merge 1 commit into
Conversation
MP-Aubay
left a comment
There was a problem hiding this comment.
Thank you for this PR, do not forget to update CHANGELOG.md.
About this rule, as you said for "Internet", browserslist should be "defaults", so there will be many false positives, and I think there is no way to avoid it.
@utarwyn : what's your point view on this ?
…pecifications #TERRE
|
Changelog updated About the false positives, if you mean that the value "defaults" on internet apps will uselessly raise the rule, our idea is to implement a rule where "browserslist" mention in package.json could be good enough. This way, rule will only be raised by apps where devs have not at all taken in consideration the "browserslist" tag. |
|
Actually our main goal was to set developpers to think about their target browsers. I think defaults should not be compliant with the rule because it's probably here when developers didn't really think about it and add browserlist anyway. |
|
This PR has been automatically marked as stale because it has no activity for 60 days. |
Create new Javascript Rule to optimize browserlist tag (GCI1234)