You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run node_modules/.bin/eslint foo.js, a TypeError is thrown:
TypeError: Cannot read property 'references' of null
at eachReadReferences (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:146:13)
at checkVariable (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:353:9)
at checkDestructuring (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:249:17)
at checkProperties (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:323:21)
at path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:431:29
at Array.forEach (native)
at eachReadReferences (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:146:49)
at checkCommonJsModules (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:416:13)
at EventEmitter.Program:exit (path/to/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:486:13)
at emitOne (events.js:96:13)
The text was updated successfully, but these errors were encountered:
not-an-aardvark
added a commit
to not-an-aardvark/eslint-plugin-node
that referenced
this issue
Nov 1, 2016
Hi!
I'm using:
eslint@3.9.1
eslint-plugin-node@3.0.0
.eslintrc.yml
:foo.js
:When I run
node_modules/.bin/eslint foo.js
, a TypeError is thrown:The text was updated successfully, but these errors were encountered: