{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4320","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4320/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4320/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4320/events","html_url":"https://github.com/eslint/eslint/issues/4320","id":114665659,"number":4320,"title":"Add popular style guides to --init","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/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/cli","name":"cli","color":"eb6420"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-02T19:21:13Z","updated_at":"2015-11-03T16:38:31Z","closed_at":null,"body":"Right now, `--init` always asks you a bunch of questions to determine what your config should be. It would be nice to alter this so people can use common style guides. Since the ESLint shareable configs are now starting to be published by those people who maintain the actual style guides, this seems like a good time to add it.\r\n\r\nWhat I have in mind:\r\n\r\n1. The first step of `--init` is now to ask a question, \"How would you like to configure ESLint?\" with these options:\r\n  1. Answer questions about your style\r\n  1. Use a popular style guide\r\n2. If they choose the first option, then it continues on with what we already have. If they have the second option, they are asked, \"Which style guide do you want to follow?\" and they can choose from some common ones.\r\n3. If they choose an existing style guide, then we should install that dependency automatically.\r\n\r\nThe ones I know of are:\r\n\r\n1. Google (https://www.npmjs.com/package/eslint-config-google)\r\n1. AirBnB (https://www.npmjs.com/package/eslint-config-airbnb)\r\n1. Standard (https://www.npmjs.com/package/eslint-config-standard)\r\n\r\nWe can add as many as makes sense, I just want to make sure the person who wrote the config is in charge of the style guide - that way we can be sure it will stay up to date.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27902766-add-popular-style-guides-to-init?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/153409762","html_url":"https://github.com/eslint/eslint/issues/4320#issuecomment-153409762","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4320","id":153409762,"user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T16:38:31Z","updated_at":"2015-11-03T16:38:31Z","body":"@platinumazure you're inferring too much from my statement. It's super simple for people to use our config if they want to already, this is really just about getting new users bootstrapped, and I doing think our config makes sense in that situation. \r\n\r\n@ilyavolodin I don't want to encourage people to rely on babel-eslint when they probably don't need it. https://github.com/airbnb/javascript/issues/565\r\n\r\n"}}