{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1266","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1266/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1266/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1266","id":68248752,"number":1266,"title":"jQuery identifiers must start with a $ - failing for object properties","user":{"login":"viveleroi","id":70734,"avatar_url":"https://avatars.githubusercontent.com/u/70734?v=3","gravatar_id":"","url":"https://api.github.com/users/viveleroi","html_url":"https://github.com/viveleroi","followers_url":"https://api.github.com/users/viveleroi/followers","following_url":"https://api.github.com/users/viveleroi/following{/other_user}","gists_url":"https://api.github.com/users/viveleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/viveleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveleroi/subscriptions","organizations_url":"https://api.github.com/users/viveleroi/orgs","repos_url":"https://api.github.com/users/viveleroi/repos","events_url":"https://api.github.com/users/viveleroi/events{/privacy}","received_events_url":"https://api.github.com/users/viveleroi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T03:12:59Z","updated_at":"2015-04-14T03:56:58Z","closed_at":null,"body":"Using JSCS/gulp on a project which assigns a jquery object to an object property triggers the `jQuery identifiers must start with a $` error. However, the property is part of a configuration object for another javascript in bower, and outside our control.\r\n\r\n```\r\njQuery identifiers must start with a $ at assets/js/controllers/project/fields.js :\r\n    24 |        $scope.initFormBuilder = function() {\r\n    25 |            $scope.formbuilder = new Formbuilder({\r\n    26 |                targets: $('.formbuilder'),\r\n------------------------^\r\n```\r\n\r\nAssigning it to a variable first solves the issue, but is unnecessary in this specific case.\r\n\r\nUsing gulp-jscs 1.4.0 on Mac OS X 10.10.2.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11092674-jquery-identifiers-must-start-with-a-failing-for-object-properties?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/92590847","html_url":"https://github.com/jscs-dev/node-jscs/issues/1266#issuecomment-92590847","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1266","id":92590847,"user":{"login":"TheSavior","id":249164,"avatar_url":"https://avatars.githubusercontent.com/u/249164?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSavior","html_url":"https://github.com/TheSavior","followers_url":"https://api.github.com/users/TheSavior/followers","following_url":"https://api.github.com/users/TheSavior/following{/other_user}","gists_url":"https://api.github.com/users/TheSavior/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSavior/subscriptions","organizations_url":"https://api.github.com/users/TheSavior/orgs","repos_url":"https://api.github.com/users/TheSavior/repos","events_url":"https://api.github.com/users/TheSavior/events{/privacy}","received_events_url":"https://api.github.com/users/TheSavior/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T03:56:58Z","updated_at":"2015-04-14T03:56:58Z","body":"Unfortunately we are unable to know whether you are passing it to an object that you control or a 3rd party library. This seems like a case where you use a `jscs disable` flag to ignore the line."}}