Inspectopedia
 
2024.3

Property can be replaced with shorthand

Info
Code Style
New
Last modified: 03 December 2024

Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it.

Example:

After applying the quick-fix the code looks as follows: