{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/javascript/issues/779","repository_url":"https://api.github.com/repos/airbnb/javascript","labels_url":"https://api.github.com/repos/airbnb/javascript/issues/779/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/javascript/issues/779/comments","events_url":"https://api.github.com/repos/airbnb/javascript/issues/779/events","html_url":"https://github.com/airbnb/javascript/issues/779","id":139259204,"number":779,"title":"Configuration for rule \"no-labels\" is invalid","user":{"login":"gnicol-bzh","id":11173645,"avatar_url":"https://avatars.githubusercontent.com/u/11173645?v=3","gravatar_id":"","url":"https://api.github.com/users/gnicol-bzh","html_url":"https://github.com/gnicol-bzh","followers_url":"https://api.github.com/users/gnicol-bzh/followers","following_url":"https://api.github.com/users/gnicol-bzh/following{/other_user}","gists_url":"https://api.github.com/users/gnicol-bzh/gists{/gist_id}","starred_url":"https://api.github.com/users/gnicol-bzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnicol-bzh/subscriptions","organizations_url":"https://api.github.com/users/gnicol-bzh/orgs","repos_url":"https://api.github.com/users/gnicol-bzh/repos","events_url":"https://api.github.com/users/gnicol-bzh/events{/privacy}","received_events_url":"https://api.github.com/users/gnicol-bzh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airbnb/javascript/labels/needs%20followup","name":"needs followup","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-08T11:56:12Z","updated_at":"2016-03-08T23:19:45Z","closed_at":null,"body":"Hello,\r\n\r\nI created a new `.eslintrc` and copy/paste in it:\r\n```json\r\n{\r\n  \"extends\": \"airbnb\"\r\n}\r\n```\r\nThen I've installed packages as specified in [airbnb doc](https://github.com/airbnb/javascript/tree/master/linters). \r\n\r\nWhen I run eslint, I have the error:\r\n```bat\r\nD:\\_PROJECTPATH_>gulp eslint\r\n[12:37:06] Using gulpfile D:\\_PROJECTPATH_\\gulpfile.js\r\n[12:37:06] Starting 'eslint'...\r\nD:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:332\r\n            throw e;\r\n                  ^\r\nError: D:\\_PROJECTPATH_\\node_modules\\eslint-config-airbnb\\rules\\best-practices.js:\r\n        Configuration for rule \"no-labels\" is invalid:\r\n        Value \"2,[object Object]\" has more items than allowed.\r\n\r\nReferenced from: D:\\_PROJECTPATH_\\node_modules\\eslint-config-airbnb\\legacy.js\r\nReferenced from: D:\\_PROJECTPATH_\\node_modules\\eslint-config-airbnb\\base.js\r\nReferenced from: airbnb\r\nReferenced from: D:\\_PROJECTPATH_\\.eslintrc\r\n    at validateRuleOptions (D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-validator.js:102:15)\r\n    at D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-validator.js:148:13\r\n    at Array.forEach (native)\r\n    at Object.validate (D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-validator.js:147:35)\r\n    at load (D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:390:19)\r\n    at D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:326:36\r\n    at Array.reduceRight (native)\r\n    at applyExtends (D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:309:28)\r\n    at load (D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:395:22)\r\n    at D:\\_PROJECTPATH_\\node_modules\\gulp-eslint\\node_modules\\eslint\\lib\\config\\config-file.js:326:36\r\n```\r\n\r\nSomeone else has the same problem [here](https://github.com/Swiip/generator-gulp-angular/issues/1022)"},"comment":{"url":"https://api.github.com/repos/airbnb/javascript/issues/comments/194014183","html_url":"https://github.com/airbnb/javascript/issues/779#issuecomment-194014183","issue_url":"https://api.github.com/repos/airbnb/javascript/issues/779","id":194014183,"user":{"login":"benjeffery","id":8552,"avatar_url":"https://avatars.githubusercontent.com/u/8552?v=3","gravatar_id":"","url":"https://api.github.com/users/benjeffery","html_url":"https://github.com/benjeffery","followers_url":"https://api.github.com/users/benjeffery/followers","following_url":"https://api.github.com/users/benjeffery/following{/other_user}","gists_url":"https://api.github.com/users/benjeffery/gists{/gist_id}","starred_url":"https://api.github.com/users/benjeffery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjeffery/subscriptions","organizations_url":"https://api.github.com/users/benjeffery/orgs","repos_url":"https://api.github.com/users/benjeffery/repos","events_url":"https://api.github.com/users/benjeffery/events{/privacy}","received_events_url":"https://api.github.com/users/benjeffery/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T23:19:45Z","updated_at":"2016-03-08T23:19:45Z","body":"Gah, I thought I was on the latest but erroneously had 1.10.3.... works on 2.3.0. Thanks."}}