{"action":"closed","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/116","repository_url":"https://api.github.com/repos/AtomLinter/linter-jscs","labels_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/116/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/116/events","html_url":"https://github.com/AtomLinter/linter-jscs/issues/116","id":109467675,"number":116,"title":"Assertion Error: plugin should be a function","user":{"login":"pfefferle","id":2373,"avatar_url":"https://avatars.githubusercontent.com/u/2373?v=3","gravatar_id":"","url":"https://api.github.com/users/pfefferle","html_url":"https://github.com/pfefferle","followers_url":"https://api.github.com/users/pfefferle/followers","following_url":"https://api.github.com/users/pfefferle/following{/other_user}","gists_url":"https://api.github.com/users/pfefferle/gists{/gist_id}","starred_url":"https://api.github.com/users/pfefferle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfefferle/subscriptions","organizations_url":"https://api.github.com/users/pfefferle/orgs","repos_url":"https://api.github.com/users/pfefferle/repos","events_url":"https://api.github.com/users/pfefferle/events{/privacy}","received_events_url":"https://api.github.com/users/pfefferle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-jscs/labels/need%20more%20info","name":"need more info","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-02T10:22:32Z","updated_at":"2016-02-02T19:09:56Z","closed_at":"2016-02-02T19:09:56Z","body":"I got this error every time I open a JS-File (MacOS X 10.10.5, Atom 1.0.19, linter-jscs 3.0.0):\r\n\r\n```\r\nAssertionError: `plugin` should be a function\r\n    at NodeConfiguration.Configuration._loadPlugin (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/config/configuration.js:503:5)\r\n    at NodeConfiguration._loadPlugin (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/config/node-configuration.js:133:48)\r\n    at NodeConfiguration.<anonymous> (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/config/configuration.js:433:18)\r\n    at Array.forEach (native)\r\n    at NodeConfiguration.Configuration._processConfig (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/config/configuration.js:432:25)\r\n    at NodeConfiguration.Configuration.load (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/config/configuration.js:207:10)\r\n    at [object Object].StringChecker.configure (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/string-checker.js:67:29)\r\n    at [object Object].Checker.configure (/Users/pfefferle/.atom/packages/linter-jscs/node_modules/jscs/lib/checker.js:27:39)\r\n    at Object.lint (/Users/pfefferle/.atom/packages/linter-jscs/index.js:102:19)\r\n    at Promise.then._this.emitter.emit.linter (/Users/pfefferle/.atom/packages/linter/lib/linter-registry.coffee:59:22)\r\n    at LinterRegistry.triggerLinter (/Users/pfefferle/.atom/packages/linter/lib/linter-registry.coffee:58:16)\r\n    at /Users/pfefferle/.atom/packages/linter/lib/linter-registry.coffee:52:17\r\n    at Array.map (native)\r\n    at /Users/pfefferle/.atom/packages/linter/lib/linter-registry.coffee:50:27\r\n```"}}