{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/javascript/issues/1379","repository_url":"https://api.github.com/repos/airbnb/javascript","labels_url":"https://api.github.com/repos/airbnb/javascript/issues/1379/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/javascript/issues/1379/comments","events_url":"https://api.github.com/repos/airbnb/javascript/issues/1379/events","html_url":"https://github.com/airbnb/javascript/issues/1379","id":223425919,"number":1379,"title":"Mocha arrow-function and unnamed function errors.","user":{"login":"FieryCod","id":14275210,"avatar_url":"https://avatars2.githubusercontent.com/u/14275210?v=3","gravatar_id":"","url":"https://api.github.com/users/FieryCod","html_url":"https://github.com/FieryCod","followers_url":"https://api.github.com/users/FieryCod/followers","following_url":"https://api.github.com/users/FieryCod/following{/other_user}","gists_url":"https://api.github.com/users/FieryCod/gists{/gist_id}","starred_url":"https://api.github.com/users/FieryCod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FieryCod/subscriptions","organizations_url":"https://api.github.com/users/FieryCod/orgs","repos_url":"https://api.github.com/users/FieryCod/repos","events_url":"https://api.github.com/users/FieryCod/events{/privacy}","received_events_url":"https://api.github.com/users/FieryCod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-21T15:57:01Z","updated_at":"2017-04-21T16:08:02Z","closed_at":null,"body":"Hello community I am receiving errors whenever I am using using `describe(function(){})` in my code.\r\nHow can I get rid of these errors?\r\nHere is my .eslintrc.yml.\r\n\r\n```\r\nextends: airbnb-base\r\nplugins:\r\n  - standard\r\n  - promise\r\nenv:\r\n    node: true\r\n    mocha: true\r\nrules:\r\n    indent: [\"error\", 2]\r\n    semi: [\"error\", \"always\", {omitLastInOneLineBlock: true}]\r\n    no-eval: [\"error\"]\r\n    no-trailing-spaces: [\"error\"]\r\n    one-var-declaration-per-line: [\"error\", \"initializations\"]\r\n    no-irregular-whitespace: [\"error\"]\r\n    no-var: [\"error\"]\r\n    no-empty: [\"error\"]\r\n    linebreak-style: [\"error\", \"unix\"]\r\n    eol-last: [\"error\", \"always\"]\r\n    no-console: [\"warn\", {\"allow\": [\"warn\", \"error\", \"info\"]}]\r\n    no-use-before-define: [\"error\", { \"functions\": false }]\r\n    no-unused-vars: [\"error\", {\"argsIgnorePattern\":\"^next\"}]\r\n```\r\nTried to add mocha-plugin like so:\r\n```\r\nplugins:\r\n- mocha\r\nrules:\r\nmocha/no-arrow-function: \"error\"\r\n```\r\nbut it still gives me errors."},"comment":{"url":"https://api.github.com/repos/airbnb/javascript/issues/comments/296233302","html_url":"https://github.com/airbnb/javascript/issues/1379#issuecomment-296233302","issue_url":"https://api.github.com/repos/airbnb/javascript/issues/1379","id":296233302,"user":{"login":"FieryCod","id":14275210,"avatar_url":"https://avatars2.githubusercontent.com/u/14275210?v=3","gravatar_id":"","url":"https://api.github.com/users/FieryCod","html_url":"https://github.com/FieryCod","followers_url":"https://api.github.com/users/FieryCod/followers","following_url":"https://api.github.com/users/FieryCod/following{/other_user}","gists_url":"https://api.github.com/users/FieryCod/gists{/gist_id}","starred_url":"https://api.github.com/users/FieryCod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FieryCod/subscriptions","organizations_url":"https://api.github.com/users/FieryCod/orgs","repos_url":"https://api.github.com/users/FieryCod/repos","events_url":"https://api.github.com/users/FieryCod/events{/privacy}","received_events_url":"https://api.github.com/users/FieryCod/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T16:08:02Z","updated_at":"2017-04-21T16:08:02Z","body":"I've named my function, but it still outputs error: `prefer-arrow-callback`."}}
{"actor":{"display_login":"FieryCod"}}