{"action":"closed","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1271","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1271/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1271/events","html_url":"https://github.com/stylelint/stylelint/issues/1271","id":154792873,"number":1271,"title":"Clarify \"getting started\" in the docs","user":{"login":"mikeerickson","id":183153,"avatar_url":"https://avatars.githubusercontent.com/u/183153?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeerickson","html_url":"https://github.com/mikeerickson","followers_url":"https://api.github.com/users/mikeerickson/followers","following_url":"https://api.github.com/users/mikeerickson/following{/other_user}","gists_url":"https://api.github.com/users/mikeerickson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeerickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeerickson/subscriptions","organizations_url":"https://api.github.com/users/mikeerickson/orgs","repos_url":"https://api.github.com/users/mikeerickson/repos","events_url":"https://api.github.com/users/mikeerickson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeerickson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stylelint/stylelint/labels/status:%20help%20wanted","name":"status: help wanted","color":"fbca04"},{"url":"https://api.github.com/repos/stylelint/stylelint/labels/type:%20documentation","name":"type: documentation","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-13T20:22:22Z","updated_at":"2016-05-28T20:08:34Z","closed_at":"2016-05-28T20:08:34Z","body":"I started using Stylelint yesterday.  All in all, it was a pretty painless process.  The only thing that got me hung up was create the necessary `.stylelintrc` (or `.stylelint.config.js`) file.\r\n\r\nI am proposing to add a new CLI command:\r\n\r\n$ stylelint init\r\n\r\nThis would create a default `.stylelintrc` file containing sensible defaults.  As I have covered in other posts, the initial usage of Stylelint could be  a simple 3 step process\r\n\r\n```\r\n$ npm i -D stylelint\r\n$ npm init (this will create default .stylelint file, ala npm init, karma init, etc.)\r\n$ stylelint ./app/css/*.css\r\n```\r\n\r\nFirst pass of CLI command would just create a simple `.stylelintrc` file with sensible defaults. it could surely be extended, perhaps prompting user to pick any extended modules (ie `stylelint-config-standard`)\r\n\r\nIf end user decides to use the `stylelint-config-standard` it could be installed for user during configuration process.\r\n\r\nJust a thought :-)\r\nMike Erickson"}}
{"actor":{"display_login":"davidtheclark"}}