eslint rule for object property shorthand/object-shorthand #8009
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Tool] ESLint plugin
/packages/eslint-plugin
[Type] Code Quality
Issues or PRs that relate to code quality
Looks like we don't have an eslint rule around
object-shorthand
, as discovered in #7941 (comment). We do use it in the code in some places, I like it, so I'd advocate we use it anytime we can.We should just make a rule around it. I'd prefer we enforce using it whenever possible (
"always"
), but I mainly don't like it being unclear.The text was updated successfully, but these errors were encountered: