#StackBounty: #javascript #eslint Detecting nested undefined attributes using command line tools (eslint/standard)

Bounty: 50

I’d like to be able to use static code analysis tool (standard/eslint) to detect following situation:

  const obj = {a: {b: 'just a value'}}
  // should be obj.a.b
  const b = obj.a.c
  // so b will be undefined

Both Standard and ESLint will not find any issue here.
Is it possible to detect it using good code quality tools?

Just to give example, IDEA/Webstorm is reporting the problem correctly
enter image description here

so, just wondering, is it possible to detect the same issue using command line tools.

Get this bounty!!!