{"action":"closed","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/1834","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1834/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1834/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1834/events","html_url":"https://github.com/bbatsov/rubocop/issues/1834","id":70931219,"number":1834,"title":"Problems with AutoCorrect configuration parameter","user":{"login":"jonas054","id":336720,"avatar_url":"https://avatars.githubusercontent.com/u/336720?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas054","html_url":"https://github.com/jonas054","followers_url":"https://api.github.com/users/jonas054/followers","following_url":"https://api.github.com/users/jonas054/following{/other_user}","gists_url":"https://api.github.com/users/jonas054/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas054/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas054/subscriptions","organizations_url":"https://api.github.com/users/jonas054/orgs","repos_url":"https://api.github.com/users/jonas054/repos","events_url":"https://api.github.com/users/jonas054/events{/privacy}","received_events_url":"https://api.github.com/users/jonas054/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-25T16:05:48Z","updated_at":"2015-04-26T05:02:43Z","closed_at":"2015-04-26T05:02:43Z","body":"A generic `AutoCorrect` configuration parameter that can be used in for any cop was introduced in #1657. It has two shortcomings:\r\n1. It needs to be configured like this\r\n```yaml\r\nCopName:\r\n  AutoCorrect: \"False\"\r\n```\r\nSo neither `False` nor `false` will work, which is counter-intuitive for this parameter.\r\n2. When the parameter is added in `.rubocop.yml`, RuboCop prints a warning, e.g.:\r\n```\r\nWarning: unrecognized parameter Style/StringLiterals:AutoCorrect found in /home/jonas/dev/rubocop/.rubocop.yml\r\n```\r\n"}}