{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7031","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7031/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7031/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7031/events","html_url":"https://github.com/eslint/eslint/issues/7031","id":174448880,"number":7031,"title":"rule-tester doesn't load plugins from default config","user":{"login":"jschaf","id":22385,"avatar_url":"https://avatars.githubusercontent.com/u/22385?v=3","gravatar_id":"","url":"https://api.github.com/users/jschaf","html_url":"https://github.com/jschaf","followers_url":"https://api.github.com/users/jschaf/followers","following_url":"https://api.github.com/users/jschaf/following{/other_user}","gists_url":"https://api.github.com/users/jschaf/gists{/gist_id}","starred_url":"https://api.github.com/users/jschaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschaf/subscriptions","organizations_url":"https://api.github.com/users/jschaf/orgs","repos_url":"https://api.github.com/users/jschaf/repos","events_url":"https://api.github.com/users/jschaf/events{/privacy}","received_events_url":"https://api.github.com/users/jschaf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T06:48:10Z","updated_at":"2016-09-01T21:04:48Z","closed_at":"2016-09-01T21:04:48Z","body":"\r\n\r\n**What version of ESLint are you using?**\r\nv3.3.1\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\nespree\r\n**Please show your full configuration:**\r\nhttps://gist.github.com/jschaf/8ce46b7363510777f66b7a8eab730b43\r\n**What did you do? Please include the actual source code causing the issue.**\r\nRan `npm test`.  See above.\r\n**What did you expect to happen?**\r\nI expect no errors.\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\nThe plugins aren't loaded and when ESLint tries to read the rule definition from a plugin, it fails.\r\n```\r\n npm test\r\n\r\n> my-repo@0.0.1 test /tmp/eslint-bug\r\n> mocha test.js\r\n\r\n\r\n\r\n  whitespace-characters\r\n    valid\r\n      1) var foo = 2;\r\n      2) let foo = 2;\r\n      3) const bar = 3;\r\n    invalid\r\n      4)                let foo = 2;\r\n\r\n\r\n  0 passing (32ms)\r\n  4 failing\r\n\r\n  1) whitespace-characters valid var foo = 2;:\r\n     TypeError: Cannot read property 'meta' of undefined\r\n      at Object.rules.get (node_modules/eslint/lib/testers/rule-tester.js:310:39)\r\n      at node_modules/eslint/lib/eslint.js:815:37\r\n      at Array.forEach (native)\r\n      at EventEmitter.module.exports.api.verify (node_modules/eslint/lib/eslint.js:812:16)\r\n      at runRuleForItem (node_modules/eslint/lib/testers/rule-tester.js:324:38)\r\n      at testValidTemplate (node_modules/eslint/lib/testers/rule-tester.js:357:28)\r\n      at Context.<anonymous> (node_modules/eslint/lib/testers/rule-tester.js:455:25)\r\n\r\n  2) whitespace-characters valid let foo = 2;:\r\n     TypeError: Cannot read property 'meta' of undefined\r\n      at Object.rules.get (node_modules/eslint/lib/testers/rule-tester.js:310:39)\r\n      at node_modules/eslint/lib/eslint.js:815:37\r\n      at Array.forEach (native)\r\n      at EventEmitter.module.exports.api.verify (node_modules/eslint/lib/eslint.js:812:16)\r\n      at runRuleForItem (node_modules/eslint/lib/testers/rule-tester.js:324:38)\r\n      at testValidTemplate (node_modules/eslint/lib/testers/rule-tester.js:357:28)\r\n      at Context.<anonymous> (node_modules/eslint/lib/testers/rule-tester.js:455:25)\r\n\r\n  3) whitespace-characters valid const bar = 3;:\r\n     TypeError: Cannot read property 'meta' of undefined\r\n      at Object.rules.get (node_modules/eslint/lib/testers/rule-tester.js:310:39)\r\n      at node_modules/eslint/lib/eslint.js:815:37\r\n      at Array.forEach (native)\r\n      at EventEmitter.module.exports.api.verify (node_modules/eslint/lib/eslint.js:812:16)\r\n      at runRuleForItem (node_modules/eslint/lib/testers/rule-tester.js:324:38)\r\n      at testValidTemplate (node_modules/eslint/lib/testers/rule-tester.js:357:28)\r\n      at Context.<anonymous> (node_modules/eslint/lib/testers/rule-tester.js:455:25)\r\n\r\n  4) whitespace-characters invalid              let foo = 2;:\r\n     TypeError: Cannot read property 'meta' of undefined\r\n      at Object.rules.get (node_modules/eslint/lib/testers/rule-tester.js:310:39)\r\n      at node_modules/eslint/lib/eslint.js:815:37\r\n      at Array.forEach (native)\r\n      at EventEmitter.module.exports.api.verify (node_modules/eslint/lib/eslint.js:812:16)\r\n      at runRuleForItem (node_modules/eslint/lib/testers/rule-tester.js:324:38)\r\n      at testInvalidTemplate (node_modules/eslint/lib/testers/rule-tester.js:378:28)\r\n      at Context.<anonymous> (node_modules/eslint/lib/testers/rule-tester.js:463:25)\r\n\r\n```\r\n"}}
{"actor":{"display_login":"jschaf"}}