The problem
In code reviews, a common request is to use Lodash _.get in place of referencing deeply nested data structures like foo.bar.moreFoo.moreBar to avoid potential JavaScript errors that would break the page. Implementing the prefer-get rule here would take care of this.
The problem
In code reviews, a common request is to use Lodash
_.getin place of referencing deeply nested data structures likefoo.bar.moreFoo.moreBarto avoid potential JavaScript errors that would break the page. Implementing theprefer-getrule here would take care of this.