{"action":"created","issue":{"url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/280","repository_url":"https://api.github.com/repos/thedaviddias/HTMLHint","labels_url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/280/comments","events_url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/280/events","html_url":"https://github.com/thedaviddias/HTMLHint/issues/280","id":354805825,"node_id":"MDU6SXNzdWUzNTQ4MDU4MjU=","number":280,"title":"CLI menu with preset selection \"htmlhint --init\"","user":{"login":"Shinigami92","id":7195563,"node_id":"MDQ6VXNlcjcxOTU1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/7195563?v=4","gravatar_id":"","url":"https://api.github.com/users/Shinigami92","html_url":"https://github.com/Shinigami92","followers_url":"https://api.github.com/users/Shinigami92/followers","following_url":"https://api.github.com/users/Shinigami92/following{/other_user}","gists_url":"https://api.github.com/users/Shinigami92/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinigami92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinigami92/subscriptions","organizations_url":"https://api.github.com/users/Shinigami92/orgs","repos_url":"https://api.github.com/users/Shinigami92/repos","events_url":"https://api.github.com/users/Shinigami92/events{/privacy}","received_events_url":"https://api.github.com/users/Shinigami92/received_events","type":"User","site_admin":false},"labels":[{"id":1032405432,"node_id":"MDU6TGFiZWwxMDMyNDA1NDMy","url":"https://api.github.com/repos/thedaviddias/HTMLHint/labels/%23status:%20accepted%20%F0%9F%91%8D","name":"#status: accepted 👍","color":"25147a","default":false},{"id":1033561540,"node_id":"MDU6TGFiZWwxMDMzNTYxNTQw","url":"https://api.github.com/repos/thedaviddias/HTMLHint/labels/type:%20feature%20request%20%F0%9F%99%8F","name":"type: feature request 🙏","color":"e07408","default":false}],"state":"open","locked":false,"assignee":{"login":"thedaviddias","id":237229,"node_id":"MDQ6VXNlcjIzNzIyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/237229?v=4","gravatar_id":"","url":"https://api.github.com/users/thedaviddias","html_url":"https://github.com/thedaviddias","followers_url":"https://api.github.com/users/thedaviddias/followers","following_url":"https://api.github.com/users/thedaviddias/following{/other_user}","gists_url":"https://api.github.com/users/thedaviddias/gists{/gist_id}","starred_url":"https://api.github.com/users/thedaviddias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedaviddias/subscriptions","organizations_url":"https://api.github.com/users/thedaviddias/orgs","repos_url":"https://api.github.com/users/thedaviddias/repos","events_url":"https://api.github.com/users/thedaviddias/events{/privacy}","received_events_url":"https://api.github.com/users/thedaviddias/received_events","type":"User","site_admin":false},"assignees":[{"login":"thedaviddias","id":237229,"node_id":"MDQ6VXNlcjIzNzIyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/237229?v=4","gravatar_id":"","url":"https://api.github.com/users/thedaviddias","html_url":"https://github.com/thedaviddias","followers_url":"https://api.github.com/users/thedaviddias/followers","following_url":"https://api.github.com/users/thedaviddias/following{/other_user}","gists_url":"https://api.github.com/users/thedaviddias/gists{/gist_id}","starred_url":"https://api.github.com/users/thedaviddias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedaviddias/subscriptions","organizations_url":"https://api.github.com/users/thedaviddias/orgs","repos_url":"https://api.github.com/users/thedaviddias/repos","events_url":"https://api.github.com/users/thedaviddias/events{/privacy}","received_events_url":"https://api.github.com/users/thedaviddias/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-28T16:20:35Z","updated_at":"2018-09-05T05:17:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nIf you start a new project and maybe use HTMLHint for the first time you do not know how to create a configuration file\r\n\r\n**Describe the solution you'd like**\r\nCreate a new option in the CLI Tool `init`\r\nThe developer should see something like this:\r\n```\r\n$ node_modules/.bin/htmlhint --init\r\n? How would you like to configure HTMLHint? (Use arrow keys)\r\n  Use a popular style guide\r\n❯ Answer questions about your style\r\n  Inspect your HTML file(s)\r\n? Which version of HTML do you use? (Use arrow keys)\r\n❯ HTML 5\r\n  HTML 4.01 Transitional\r\n  HTML 4.01 Strict\r\n  XHTML 1.0 Transitional\r\n  XHTML 1.0 Strict\r\n  HTML 4.01 Frameset\r\n  XHTML 1.0 Frameset\r\n  XHTML 1.1\r\n? Are you using svg? (y/N)\r\n? Will you use a frontend framework? (Press <space> to select, <a> to toggle all, <i> to invert selection)\r\n❯ Angular\r\n  AngularJS\r\n  Vue\r\n  ...\r\n? What style of indentation do you use? (Use arrow keys)\r\n❯ Tabs\r\n  Spaces\r\n? What quotes do you use for attribute values? (Use arrow keys)\r\n❯ Double\r\n  Single\r\n? What format do you want your config file to be in? (Use arrow keys)\r\n❯ JSON\r\n  YAML\r\nSuccessfully created .htmlhintrc.json file in ...\r\n```\r\n\r\n**Additional context**\r\neslint already supports something like this https://eslint.org/docs/user-guide/getting-started#local-installation-and-usage\r\n"},"comment":{"url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/comments/418602356","html_url":"https://github.com/thedaviddias/HTMLHint/issues/280#issuecomment-418602356","issue_url":"https://api.github.com/repos/thedaviddias/HTMLHint/issues/280","id":418602356,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODYwMjM1Ng==","user":{"login":"nebulousdog","id":2218331,"node_id":"MDQ6VXNlcjIyMTgzMzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2218331?v=4","gravatar_id":"","url":"https://api.github.com/users/nebulousdog","html_url":"https://github.com/nebulousdog","followers_url":"https://api.github.com/users/nebulousdog/followers","following_url":"https://api.github.com/users/nebulousdog/following{/other_user}","gists_url":"https://api.github.com/users/nebulousdog/gists{/gist_id}","starred_url":"https://api.github.com/users/nebulousdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebulousdog/subscriptions","organizations_url":"https://api.github.com/users/nebulousdog/orgs","repos_url":"https://api.github.com/users/nebulousdog/repos","events_url":"https://api.github.com/users/nebulousdog/events{/privacy}","received_events_url":"https://api.github.com/users/nebulousdog/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T05:17:57Z","updated_at":"2018-09-05T05:17:57Z","author_association":"NONE","body":"this would be great, currently my `.htmlhintrc` file is being totally ignored, even if I specify `--config`, so looking forward to, thx!"}}
{"actor":{"display_login":"nebulousdog"}}