{"action":"created","issue":{"url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/7","labels_url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/7/comments","events_url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/7/events","html_url":"https://github.com/necolas/postcss-bem-linter/issues/7","id":55383715,"number":7,"title":"jscs errors","user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-24T20:27:36Z","updated_at":"2015-01-24T21:45:21Z","closed_at":null,"body":"I just forked the repo, `npm install`ed and ran `npm test`. I hit the following jscs errors:\r\n\r\n```\r\nMissing space after opening bracket at index.js :\r\n    26 |function conformance(options) {\r\n    27 |  return function (styles) {\r\n    28 |    var firstNode = styles.nodes[0];\r\n-----------------------------------------^\r\n    29 |    var initialComment;\r\n    30 |\r\n\r\nMissing space before closing bracket at index.js :\r\n    26 |function conformance(options) {\r\n    27 |  return function (styles) {\r\n    28 |    var firstNode = styles.nodes[0];\r\n------------------------------------------^\r\n    29 |    var initialComment;\r\n    30 |\r\n\r\nMissing space after opening bracket at index.js :\r\n    47 |    }\r\n    48 |\r\n    49 |    var componentName = initialComment.match(RE_DIRECTIVE)[1].trim();\r\n-------------------------------------------------------------------^\r\n    50 |    var isStrict = initialComment.match(RE_DIRECTIVE)[2] === 'use strict';\r\n    51 |\r\n\r\nMissing space before closing bracket at index.js :\r\n    47 |    }\r\n    48 |\r\n    49 |    var componentName = initialComment.match(RE_DIRECTIVE)[1].trim();\r\n--------------------------------------------------------------------^\r\n    50 |    var isStrict = initialComment.match(RE_DIRECTIVE)[2] === 'use strict';\r\n    51 |\r\n\r\nMissing space after opening bracket at index.js :\r\n    48 |\r\n    49 |    var componentName = initialComment.match(RE_DIRECTIVE)[1].trim();\r\n    50 |    var isStrict = initialComment.match(RE_DIRECTIVE)[2] === 'use strict';\r\n--------------------------------------------------------------^\r\n    51 |\r\n    52 |    validateRules(styles);\r\n\r\nMissing space before closing bracket at index.js :\r\n    48 |\r\n    49 |    var componentName = initialComment.match(RE_DIRECTIVE)[1].trim();\r\n    50 |    var isStrict = initialComment.match(RE_DIRECTIVE)[2] === 'use strict';\r\n---------------------------------------------------------------^\r\n    51 |\r\n    52 |    validateRules(styles);\r\n\r\nMissing space after opening bracket at lib/validate-properties.js :\r\n    19 |function validateCustomProperties(styles, componentName) {\r\n    20 |  styles.eachRule(function (rule) {\r\n    21 |    if (!isValidRule(rule) || rule.selectors[0] !== ':root') { return; }\r\n-----------------------------------------------------^\r\n    22 |\r\n    23 |    rule.eachDecl(function (declaration, i) {\r\n\r\nMissing space before closing bracket at lib/validate-properties.js :\r\n    19 |function validateCustomProperties(styles, componentName) {\r\n    20 |  styles.eachRule(function (rule) {\r\n    21 |    if (!isValidRule(rule) || rule.selectors[0] !== ':root') { return; }\r\n------------------------------------------------------^\r\n    22 |\r\n    23 |    rule.eachDecl(function (declaration, i) {\r\n\r\n\r\n8 code style errors found.\r\n```\r\n\r\nThe version of jscs installed is 1.10.0.\r\n\r\nMaybe the rules or enforcement have changed since you last installed? In any case, I didn't want to make the changes myself because I figure code style is up to you, @necolas. Not sure whether you want those braces to have spaces inside or not."},"comment":{"url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/comments/71338925","html_url":"https://github.com/necolas/postcss-bem-linter/issues/7#issuecomment-71338925","issue_url":"https://api.github.com/repos/necolas/postcss-bem-linter/issues/7","id":71338925,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T21:45:21Z","updated_at":"2015-01-24T21:45:21Z","body":"Sidenote --- I'm pretty positive this is why all the pull requests I'm filing are failing on Travis. I've been running `mocha` before submitting them; so the actual tests should be passing."}}