{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4067","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4067/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4067/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4067/events","html_url":"https://github.com/eslint/eslint/issues/4067","id":110089055,"number":4067,"title":"Bad syntax in function signature not reported","user":{"login":"marcelka","id":2097987,"avatar_url":"https://avatars.githubusercontent.com/u/2097987?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelka","html_url":"https://github.com/marcelka","followers_url":"https://api.github.com/users/marcelka/followers","following_url":"https://api.github.com/users/marcelka/following{/other_user}","gists_url":"https://api.github.com/users/marcelka/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelka/subscriptions","organizations_url":"https://api.github.com/users/marcelka/orgs","repos_url":"https://api.github.com/users/marcelka/repos","events_url":"https://api.github.com/users/marcelka/events{/privacy}","received_events_url":"https://api.github.com/users/marcelka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T20:05:07Z","updated_at":"2015-10-06T20:05:09Z","closed_at":null,"body":"Eslint (v1.6.0) does not report invalid syntax for the following piece of code:\r\n```\r\nfunction someFn({someArg: {}}) { // I used ':' instead of '='\r\n  // much code\r\n}\r\nsomeFn()\r\n```\r\n\r\neslintrc used:\r\n```{\"parser\": \"babel-eslint\"}```\r\n\r\nHowever, afaik not-reporting-the-error is independent of what rules I enable/disable in the eslintrc file.\r\n\r\nSince the input file is not a valid js file (I guess it should not be possible to create valid AST from this), I'd expect some 'invalid code' error."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/145982117","html_url":"https://github.com/eslint/eslint/issues/4067#issuecomment-145982117","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4067","id":145982117,"user":{"login":"eslintbot","id":13383618,"avatar_url":"https://avatars.githubusercontent.com/u/13383618?v=3","gravatar_id":"","url":"https://api.github.com/users/eslintbot","html_url":"https://github.com/eslintbot","followers_url":"https://api.github.com/users/eslintbot/followers","following_url":"https://api.github.com/users/eslintbot/following{/other_user}","gists_url":"https://api.github.com/users/eslintbot/gists{/gist_id}","starred_url":"https://api.github.com/users/eslintbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslintbot/subscriptions","organizations_url":"https://api.github.com/users/eslintbot/orgs","repos_url":"https://api.github.com/users/eslintbot/repos","events_url":"https://api.github.com/users/eslintbot/events{/privacy}","received_events_url":"https://api.github.com/users/eslintbot/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T20:05:09Z","updated_at":"2015-10-06T20:05:09Z","body":"Thanks for the issue! If you're reporting a bug, please be sure to include:\n\n1. The version of ESLint you are using (run `eslint -v`)\n2. What you did (the source code and ESLint configuration)\n3. The actual ESLint output complete with numbers\n4. What you expected to happen instead\n\nRequesting a new rule? Please see [Proposing a New Rule](http://eslint.org/docs/developer-guide/contributing/new-rules) for instructions."}}