{"action":"created","issue":{"url":"https://api.github.com/repos/idok/jscs-plugin/issues/12","labels_url":"https://api.github.com/repos/idok/jscs-plugin/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/idok/jscs-plugin/issues/12/comments","events_url":"https://api.github.com/repos/idok/jscs-plugin/issues/12/events","html_url":"https://github.com/idok/jscs-plugin/issues/12","id":59305576,"number":12,"title":"JSCS: JSCS package directory is not found","user":{"login":"rsumilang","id":1748115,"avatar_url":"https://avatars.githubusercontent.com/u/1748115?v=3","gravatar_id":"","url":"https://api.github.com/users/rsumilang","html_url":"https://github.com/rsumilang","followers_url":"https://api.github.com/users/rsumilang/followers","following_url":"https://api.github.com/users/rsumilang/following{/other_user}","gists_url":"https://api.github.com/users/rsumilang/gists{/gist_id}","starred_url":"https://api.github.com/users/rsumilang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsumilang/subscriptions","organizations_url":"https://api.github.com/users/rsumilang/orgs","repos_url":"https://api.github.com/users/rsumilang/repos","events_url":"https://api.github.com/users/rsumilang/events{/privacy}","received_events_url":"https://api.github.com/users/rsumilang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T22:44:21Z","updated_at":"2015-02-27T23:01:07Z","closed_at":"2015-02-27T23:01:07Z","body":"Hello - I followed the setup instructions and I'm getting the red error, \"JSCS: JSCS package directory is not found\" on IntelliJ 14.\r\n\r\n![screen shot 2015-02-27 at 2 40 17 pm](https://cloud.githubusercontent.com/assets/1748115/6422549/d2740fbc-be8e-11e4-8f9f-1e2597ae0bbb.png)\r\n\r\nMy configuration:\r\n\r\nNode: /usr/local/bin/node\r\nJSCS: /usr/local/bin/jscs\r\nConfiguration file: <X> Search for Configs\r\nMy Config: <app-path>.jscrc\r\n\r\nContents of .jscsrc\r\n\r\n```js\r\n{\r\n  \"requireCurlyBraces\": [\r\n    \"if\",\r\n    \"else\",\r\n    \"for\",\r\n    \"while\",\r\n    \"do\",\r\n    \"try\",\r\n    \"catch\"\r\n  ],\r\n  \"requireOperatorBeforeLineBreak\": true,\r\n  \"requireCamelCaseOrUpperCaseIdentifiers\": true,\r\n  \"maximumLineLength\": {\r\n    \"value\": 80,\r\n    \"allowComments\": true,\r\n    \"allowRegex\": true\r\n  },\r\n  \"validateIndentation\": 2,\r\n  \"validateQuoteMarks\": \"'\",\r\n\r\n  \"disallowMultipleLineStrings\": true,\r\n  \"disallowMixedSpacesAndTabs\": true,\r\n  \"disallowTrailingWhitespace\": true,\r\n  \"disallowSpaceAfterPrefixUnaryOperators\": true,\r\n  \"disallowMultipleVarDecl\": true,\r\n  \"disallowKeywordsOnNewLine\": [\"else\"],\r\n\r\n  \"requireSpaceAfterKeywords\": [\r\n    \"if\",\r\n    \"else\",\r\n    \"for\",\r\n    \"while\",\r\n    \"do\",\r\n    \"switch\",\r\n    \"return\",\r\n    \"try\",\r\n    \"catch\"\r\n  ],\r\n  \"requireSpaceBeforeBinaryOperators\": [\r\n    \"=\", \"+=\", \"-=\", \"*=\", \"/=\", \"%=\", \"<<=\", \">>=\", \">>>=\",\r\n    \"&=\", \"|=\", \"^=\", \"+=\",\r\n\r\n    \"+\", \"-\", \"*\", \"/\", \"%\", \"<<\", \">>\", \">>>\", \"&\",\r\n    \"|\", \"^\", \"&&\", \"||\", \"===\", \"==\", \">=\",\r\n    \"<=\", \"<\", \">\", \"!=\", \"!==\"\r\n  ],\r\n  \"requireSpaceAfterBinaryOperators\": true,\r\n  \"requireSpacesInConditionalExpression\": true,\r\n  \"requireSpaceBeforeBlockStatements\": true,\r\n  \"requireSpacesInForStatement\": true,\r\n  \"requireLineFeedAtFileEnd\": true,\r\n  \"requireSpacesInFunctionExpression\": {\r\n    \"beforeOpeningCurlyBrace\": true\r\n  },\r\n  \"disallowSpacesInAnonymousFunctionExpression\": {\r\n    \"beforeOpeningRoundBrace\": true\r\n  },\r\n  \"disallowSpacesInsideObjectBrackets\": \"all\",\r\n  \"disallowSpacesInsideArrayBrackets\": \"all\",\r\n  \"disallowSpacesInsideParentheses\": true,\r\n\r\n  \"disallowMultipleLineBreaks\": true,\r\n  \"disallowNewlineBeforeBlockStatements\": true\r\n}\r\n```\r\nI configured both settings for JSCS under \"Languages & Frameworks -> JavaScript -> Code Quality Tools -> JSCS\" and \"Other Settings -> JSRC\".\r\n\r\nNot sure why that error message is coming up. Thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/idok/jscs-plugin/issues/comments/76489197","html_url":"https://github.com/idok/jscs-plugin/issues/12#issuecomment-76489197","issue_url":"https://api.github.com/repos/idok/jscs-plugin/issues/12","id":76489197,"user":{"login":"rsumilang","id":1748115,"avatar_url":"https://avatars.githubusercontent.com/u/1748115?v=3","gravatar_id":"","url":"https://api.github.com/users/rsumilang","html_url":"https://github.com/rsumilang","followers_url":"https://api.github.com/users/rsumilang/followers","following_url":"https://api.github.com/users/rsumilang/following{/other_user}","gists_url":"https://api.github.com/users/rsumilang/gists{/gist_id}","starred_url":"https://api.github.com/users/rsumilang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsumilang/subscriptions","organizations_url":"https://api.github.com/users/rsumilang/orgs","repos_url":"https://api.github.com/users/rsumilang/repos","events_url":"https://api.github.com/users/rsumilang/events{/privacy}","received_events_url":"https://api.github.com/users/rsumilang/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T23:01:07Z","updated_at":"2015-02-27T23:01:07Z","body":"Nevermind... I pointed the package to my node_modules/jscs package directory and all is good :)"}}