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
{{ message }}
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
What did you expect to happen?
eslint can work well.
What happened?
but eslint crash:
$ eslint --ext .ts test.ts
Cannot read property 'body' of null
TypeError: Cannot read property 'body' of null
at checkForConstructor (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/rules/no-useless-constructor.js:167:42)
at listeners.(anonymous function).forEach.listener (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/util/safe-emitter.js:45:58)
at Array.forEach (<anonymous>)
at Object.emit (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/util/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/util/node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23)
at nodeQueue.forEach.traversalInfo (/Users/xxx/node-v8.9.1/lib/node_modules/eslint/lib/linter.js:861:28)
at Array.forEach (<anonymous>)
The text was updated successfully, but these errors were encountered:
What version of TypeScript are you using?
[email protected]
What version of
typescript-eslint-parser
are you using?[email protected]
What code were you trying to parse?
What did you expect to happen?
eslint can work well.
What happened?
but eslint crash:
The text was updated successfully, but these errors were encountered: