{"action":"created","issue":{"url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/1","labels_url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/1/comments","events_url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/1/events","html_url":"https://github.com/Werkspot/idiomatic-css/issues/1","id":107204584,"number":1,"title":"Should we use camelCase or hyphen-separated css classes?","user":{"login":"rafaellyra","id":868616,"avatar_url":"https://avatars.githubusercontent.com/u/868616?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaellyra","html_url":"https://github.com/rafaellyra","followers_url":"https://api.github.com/users/rafaellyra/followers","following_url":"https://api.github.com/users/rafaellyra/following{/other_user}","gists_url":"https://api.github.com/users/rafaellyra/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaellyra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaellyra/subscriptions","organizations_url":"https://api.github.com/users/rafaellyra/orgs","repos_url":"https://api.github.com/users/rafaellyra/repos","events_url":"https://api.github.com/users/rafaellyra/events{/privacy}","received_events_url":"https://api.github.com/users/rafaellyra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-18T13:40:44Z","updated_at":"2015-10-05T13:00:52Z","closed_at":null,"body":"I think that as is hard to find a css code styleguide using camelCase, and most open source projects (font-icons, grids) use hyphens (`-`) we should follow the hyphens rule.\r\n\r\n1. Our current css is camelCase (we can refactor just the code that we change or add)\r\n\r\n2. It is more consistent when you are using pseudo-elements:\r\n\r\n```\r\n.myElement:first-child {\r\n\t...\r\n}\r\n\r\n.my-element:first-child {\r\n\t...\r\n}\r\n```\r\n\r\ndisclaimer: please don't hate me for it :("},"comment":{"url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/comments/145520291","html_url":"https://github.com/Werkspot/idiomatic-css/issues/1#issuecomment-145520291","issue_url":"https://api.github.com/repos/Werkspot/idiomatic-css/issues/1","id":145520291,"user":{"login":"prestes","id":399528,"avatar_url":"https://avatars.githubusercontent.com/u/399528?v=3","gravatar_id":"","url":"https://api.github.com/users/prestes","html_url":"https://github.com/prestes","followers_url":"https://api.github.com/users/prestes/followers","following_url":"https://api.github.com/users/prestes/following{/other_user}","gists_url":"https://api.github.com/users/prestes/gists{/gist_id}","starred_url":"https://api.github.com/users/prestes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestes/subscriptions","organizations_url":"https://api.github.com/users/prestes/orgs","repos_url":"https://api.github.com/users/prestes/repos","events_url":"https://api.github.com/users/prestes/events{/privacy}","received_events_url":"https://api.github.com/users/prestes/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T13:00:52Z","updated_at":"2015-10-05T13:00:52Z","body":"I don't really care about the specific code-style.\r\n\r\nWhat I do care is that it’s already consistent since the beginning, therefore, I think we should fix it all if we decide to use a new standard, using some automation + some manual checks."}}