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
ESLint not to crash. And if it didn't crash, then no error if props expand to objects with valid type values.
What actually happened? Please include the actual, raw output from ESLint.
λ yarn eslint app/javascript/eslint-vue-issue.js
yarn run v1.10.1
$ eslint --cache --ext .js,.vue app/javascript/eslint-vue-issue.js
TypeError: Cannot read property 'type' of undefined
at node.value.properties.forEach.p (/Users/jpickwell/projects/tabc-si/node_modules/eslint-plugin-vue/lib/rules/require-prop-type-constructor.js:83:37)
at Array.forEach (<anonymous>)
at utils.executeOnVueComponent (/Users/jpickwell/projects/tabc-si/node_modules/eslint-plugin-vue/lib/rules/require-prop-type-constructor.js:82:29)
at ObjectExpression:exit (/Users/jpickwell/projects/tabc-si/node_modules/eslint-plugin-vue/lib/utils/index.js:514:9)
at listeners.(anonymous function).forEach.listener (/Users/jpickwell/projects/tabc-si/node_modules/eslint/lib/util/safe-emitter.js:45:58)
at Array.forEach (<anonymous>)
at Object.emit (/Users/jpickwell/projects/tabc-si/node_modules/eslint/lib/util/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/Users/jpickwell/projects/tabc-si/node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (/Users/jpickwell/projects/tabc-si/node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.leaveNode (/Users/jpickwell/projects/tabc-si/node_modules/eslint/lib/util/node-event-generator.js:303:14)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
ESLint not to crash. And if it didn't crash, then no error if props expand to objects with valid type values.
What actually happened? Please include the actual, raw output from ESLint.
The text was updated successfully, but these errors were encountered: