{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1354","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1354/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1354/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1354","id":74698657,"number":1354,"title":"You cannot specify the same token as both token and nextToken","user":{"login":"jdat82","id":2780462,"avatar_url":"https://avatars.githubusercontent.com/u/2780462?v=3","gravatar_id":"","url":"https://api.github.com/users/jdat82","html_url":"https://github.com/jdat82","followers_url":"https://api.github.com/users/jdat82/followers","following_url":"https://api.github.com/users/jdat82/following{/other_user}","gists_url":"https://api.github.com/users/jdat82/gists{/gist_id}","starred_url":"https://api.github.com/users/jdat82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdat82/subscriptions","organizations_url":"https://api.github.com/users/jdat82/orgs","repos_url":"https://api.github.com/users/jdat82/repos","events_url":"https://api.github.com/users/jdat82/events{/privacy}","received_events_url":"https://api.github.com/users/jdat82/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/help-wanted","name":"help-wanted","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-09T15:37:54Z","updated_at":"2015-05-09T16:52:28Z","closed_at":null,"body":"Got this today : \r\n\r\n`Error running rule maximumNumberOfLines: This is an issue with JSCS and not your codebase.\r\nPlease file an issue (with the stack trace below) at: https://github.com/jscs-dev/node-jscs/issues/new`\r\n\r\nError: You cannot specify the same token as both token and nextToken\r\n\r\n    at TokenAssert._validateOptions (node_modules/grunt-jscs/node_modules/jscs/lib/token-assert.js:343:15)\r\n    at TokenAssert.linesBetween (node_modules/grunt-jscs/node_modules/jscs/lib/token-assert.js:279:10)\r\n    at Object.module.exports.check (node_modules/grunt-jscs/node_modules/jscs/lib/rules/maximum-number-of-lines.js:38:23)\r\n    at null.<anonymous> (node_modules/grunt-jscs/node_modules/jscs/lib/string-checker.js:141:22)\r\n    at Array.forEach (native)\r\n    at StringChecker._checkJsFile (node_modules/grunt-jscs/node_modules/jscs/lib/string-checker.js:137:31)\r\n    at StringChecker.checkString (node_modules/grunt-jscs/node_modules/jscs/lib/string-checker.js:117:14)\r\n    at null.<anonymous> (node_modules/grunt-jscs/node_modules/jscs/lib/checker.js:43:21)\r\n    at Array.3 (node_modules/grunt-jscs/node_modules/vow/lib/vow.js:699:39)\r\n    at Object.callFns [as _onImmediate] (node_modules/grunt-jscs/node_modules/vow/lib/vow.js:23:35)```\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13894492-you-cannot-specify-the-same-token-as-both-token-and-nexttoken?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/100516409","html_url":"https://github.com/jscs-dev/node-jscs/issues/1354#issuecomment-100516409","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1354","id":100516409,"user":{"login":"mrjoelkemp","id":865203,"avatar_url":"https://avatars.githubusercontent.com/u/865203?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjoelkemp","html_url":"https://github.com/mrjoelkemp","followers_url":"https://api.github.com/users/mrjoelkemp/followers","following_url":"https://api.github.com/users/mrjoelkemp/following{/other_user}","gists_url":"https://api.github.com/users/mrjoelkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjoelkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjoelkemp/subscriptions","organizations_url":"https://api.github.com/users/mrjoelkemp/orgs","repos_url":"https://api.github.com/users/mrjoelkemp/repos","events_url":"https://api.github.com/users/mrjoelkemp/events{/privacy}","received_events_url":"https://api.github.com/users/mrjoelkemp/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T16:52:28Z","updated_at":"2015-05-09T16:52:28Z","body":"@zxqfox That's what I was thinking: skipping empty files. Empty files shouldn't be forced to have a newline at EOF right?"}}