{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3268","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3268/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3268/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3268/events","html_url":"https://github.com/eslint/eslint/issues/3268","id":98937422,"number":3268,"title":"Configuration for rule \"indent\" is invalid:","user":{"login":"chandra92","id":8359963,"avatar_url":"https://avatars.githubusercontent.com/u/8359963?v=3","gravatar_id":"","url":"https://api.github.com/users/chandra92","html_url":"https://github.com/chandra92","followers_url":"https://api.github.com/users/chandra92/followers","following_url":"https://api.github.com/users/chandra92/following{/other_user}","gists_url":"https://api.github.com/users/chandra92/gists{/gist_id}","starred_url":"https://api.github.com/users/chandra92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandra92/subscriptions","organizations_url":"https://api.github.com/users/chandra92/orgs","repos_url":"https://api.github.com/users/chandra92/repos","events_url":"https://api.github.com/users/chandra92/events{/privacy}","received_events_url":"https://api.github.com/users/chandra92/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-04T10:23:03Z","updated_at":"2015-08-05T11:22:42Z","closed_at":"2015-08-05T11:22:42Z","body":"I have following indent rule in my `.eslintrc` file. \r\n`\"indent\": [2, 2, {\"SwitchCase\": 1}]`\r\nVersion: `v1.0.0`\r\n\r\nAnd it shows error: \r\n```sh\r\n`/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config-validator.js:88\r\n        throw new Error(message.join(\"\"));`\r\n              ^\r\n`Error: /home/chandra/scrollback/.eslintrc:\r\n\tConfiguration for rule \"indent\" is invalid:\r\n\tValue \"data[\"2\"].SwitchCase\" has additional properties.`\r\n\r\n    `at validateRuleOptions (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config-validator.js:88:15)\r\n    at /home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config-validator.js:101:13\r\n    at Array.forEach (native)\r\n    at Object.validate (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config-validator.js:100:35)\r\n    at loadConfig (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config.js:99:19)\r\n    at getLocalConfig (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config.js:225:23)\r\n    at Config.getConfig (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/config.js:363:22)\r\n    at processText (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine.js:183:27)\r\n    at CLIEngine.executeOnText (/home/chandra/scrollback/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine.js:361:26)\r\n    at verify (/home/chandra/scrollback/node_modules/gulp-eslint/index.js:19:17)`\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/127959572","html_url":"https://github.com/eslint/eslint/issues/3268#issuecomment-127959572","issue_url":"https://api.github.com/repos/eslint/eslint/issues/3268","id":127959572,"user":{"login":"chandra92","id":8359963,"avatar_url":"https://avatars.githubusercontent.com/u/8359963?v=3","gravatar_id":"","url":"https://api.github.com/users/chandra92","html_url":"https://github.com/chandra92","followers_url":"https://api.github.com/users/chandra92/followers","following_url":"https://api.github.com/users/chandra92/following{/other_user}","gists_url":"https://api.github.com/users/chandra92/gists{/gist_id}","starred_url":"https://api.github.com/users/chandra92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandra92/subscriptions","organizations_url":"https://api.github.com/users/chandra92/orgs","repos_url":"https://api.github.com/users/chandra92/repos","events_url":"https://api.github.com/users/chandra92/events{/privacy}","received_events_url":"https://api.github.com/users/chandra92/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T11:22:42Z","updated_at":"2015-08-05T11:22:42Z","body":"Updating `gulp-eslint` fixed the issue. Thanx @mysticatea "}}