{"action":"created","comment":{"url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/comments/52841459","id":52841459,"diff_hunk":"@@ -13,3 +13,26 @@ This guide provides a uniform way to structure your RiotJS code. Making it\n * easier to cache and serve bundles of code separately.\n \n This guide is inspired by [AngularJS Style Guide](https://github.com/johnpapa/angular-styleguide) by John Papa.\n+\n+## Table of Contents\n+\n+1. [Component / Tag names](#component-tag-names)\n+\n+## Component / Tag names\n+\n+Component or tag names need to be:\n+\n+* **Spec compliant**: [include a hyphen](https://www.w3.org/TR/custom-elements/#concepts).\n+* **Meaningful**: not overspecific, not overly abstract.\n+* **Short**: 2 or 3 words.\n+* **Pronouncable**: we want to be able talk about them.\n+* **`app` namespaced**: using a standard namespace allows easy reuse in other projects","path":"README.md","position":17,"original_position":17,"commit_id":"22240f67d8735803cbfe9695facf0788ff509ced","original_commit_id":"22240f67d8735803cbfe9695facf0788ff509ced","user":{"login":"jbmoelker","id":1516059,"avatar_url":"https://avatars.githubusercontent.com/u/1516059?v=3","gravatar_id":"","url":"https://api.github.com/users/jbmoelker","html_url":"https://github.com/jbmoelker","followers_url":"https://api.github.com/users/jbmoelker/followers","following_url":"https://api.github.com/users/jbmoelker/following{/other_user}","gists_url":"https://api.github.com/users/jbmoelker/gists{/gist_id}","starred_url":"https://api.github.com/users/jbmoelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbmoelker/subscriptions","organizations_url":"https://api.github.com/users/jbmoelker/orgs","repos_url":"https://api.github.com/users/jbmoelker/repos","events_url":"https://api.github.com/users/jbmoelker/events{/privacy}","received_events_url":"https://api.github.com/users/jbmoelker/received_events","type":"User","site_admin":false},"body":"I feel that prefixing everything with `app-` makes it less meaningful, less pronounceable and obviously longer. So breaking most of the other rules. I think we need to come up with something smarter for this.","created_at":"2016-02-14T11:51:08Z","updated_at":"2016-02-14T11:51:08Z","html_url":"https://github.com/voorhoede/riotjs-style-guide/pull/2#discussion_r52841459","pull_request_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/comments/52841459"},"html":{"href":"https://github.com/voorhoede/riotjs-style-guide/pull/2#discussion_r52841459"},"pull_request":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2","id":59282443,"html_url":"https://github.com/voorhoede/riotjs-style-guide/pull/2","diff_url":"https://github.com/voorhoede/riotjs-style-guide/pull/2.diff","patch_url":"https://github.com/voorhoede/riotjs-style-guide/pull/2.patch","issue_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/2","number":2,"state":"open","locked":false,"title":"Component / Tag names","user":{"login":"petergoes","id":642489,"avatar_url":"https://avatars.githubusercontent.com/u/642489?v=3","gravatar_id":"","url":"https://api.github.com/users/petergoes","html_url":"https://github.com/petergoes","followers_url":"https://api.github.com/users/petergoes/followers","following_url":"https://api.github.com/users/petergoes/following{/other_user}","gists_url":"https://api.github.com/users/petergoes/gists{/gist_id}","starred_url":"https://api.github.com/users/petergoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petergoes/subscriptions","organizations_url":"https://api.github.com/users/petergoes/orgs","repos_url":"https://api.github.com/users/petergoes/repos","events_url":"https://api.github.com/users/petergoes/events{/privacy}","received_events_url":"https://api.github.com/users/petergoes/received_events","type":"User","site_admin":false},"body":"I added the namespace part. What do you think about it?","created_at":"2016-02-14T00:22:49Z","updated_at":"2016-02-14T11:51:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21bbb856d18a5aba25afbd44c2f094a10e343d59","assignee":{"login":"jbmoelker","id":1516059,"avatar_url":"https://avatars.githubusercontent.com/u/1516059?v=3","gravatar_id":"","url":"https://api.github.com/users/jbmoelker","html_url":"https://github.com/jbmoelker","followers_url":"https://api.github.com/users/jbmoelker/followers","following_url":"https://api.github.com/users/jbmoelker/following{/other_user}","gists_url":"https://api.github.com/users/jbmoelker/gists{/gist_id}","starred_url":"https://api.github.com/users/jbmoelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbmoelker/subscriptions","organizations_url":"https://api.github.com/users/jbmoelker/orgs","repos_url":"https://api.github.com/users/jbmoelker/repos","events_url":"https://api.github.com/users/jbmoelker/events{/privacy}","received_events_url":"https://api.github.com/users/jbmoelker/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2/commits","review_comments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2/comments","review_comment_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/2/comments","statuses_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/statuses/22240f67d8735803cbfe9695facf0788ff509ced","head":{"label":"voorhoede:component-tag-names","ref":"component-tag-names","sha":"22240f67d8735803cbfe9695facf0788ff509ced","user":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"repo":{"id":51641801,"name":"riotjs-style-guide","full_name":"voorhoede/riotjs-style-guide","owner":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voorhoede/riotjs-style-guide","description":"Opinionated RiotJS Style Guide for teams.","fork":false,"url":"https://api.github.com/repos/voorhoede/riotjs-style-guide","forks_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/forks","keys_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/teams","hooks_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/hooks","issue_events_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/events","assignees_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/tags","blobs_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/languages","stargazers_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/stargazers","contributors_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/contributors","subscribers_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/subscribers","subscription_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/subscription","commits_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/merges","archive_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/downloads","issues_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/deployments","created_at":"2016-02-13T10:38:55Z","updated_at":"2016-02-13T10:38:55Z","pushed_at":"2016-02-14T00:22:49Z","git_url":"git://github.com/voorhoede/riotjs-style-guide.git","ssh_url":"git@github.com:voorhoede/riotjs-style-guide.git","clone_url":"https://github.com/voorhoede/riotjs-style-guide.git","svn_url":"https://github.com/voorhoede/riotjs-style-guide","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"voorhoede:master","ref":"master","sha":"79c8bd28ef85d7316bd715e45d1efdc3423840f3","user":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"repo":{"id":51641801,"name":"riotjs-style-guide","full_name":"voorhoede/riotjs-style-guide","owner":{"login":"voorhoede","id":2759382,"avatar_url":"https://avatars.githubusercontent.com/u/2759382?v=3","gravatar_id":"","url":"https://api.github.com/users/voorhoede","html_url":"https://github.com/voorhoede","followers_url":"https://api.github.com/users/voorhoede/followers","following_url":"https://api.github.com/users/voorhoede/following{/other_user}","gists_url":"https://api.github.com/users/voorhoede/gists{/gist_id}","starred_url":"https://api.github.com/users/voorhoede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voorhoede/subscriptions","organizations_url":"https://api.github.com/users/voorhoede/orgs","repos_url":"https://api.github.com/users/voorhoede/repos","events_url":"https://api.github.com/users/voorhoede/events{/privacy}","received_events_url":"https://api.github.com/users/voorhoede/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voorhoede/riotjs-style-guide","description":"Opinionated RiotJS Style Guide for teams.","fork":false,"url":"https://api.github.com/repos/voorhoede/riotjs-style-guide","forks_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/forks","keys_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/teams","hooks_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/hooks","issue_events_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/events","assignees_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/tags","blobs_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/languages","stargazers_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/stargazers","contributors_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/contributors","subscribers_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/subscribers","subscription_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/subscription","commits_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/merges","archive_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/downloads","issues_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/voorhoede/riotjs-style-guide/deployments","created_at":"2016-02-13T10:38:55Z","updated_at":"2016-02-13T10:38:55Z","pushed_at":"2016-02-14T00:22:49Z","git_url":"git://github.com/voorhoede/riotjs-style-guide.git","ssh_url":"git@github.com:voorhoede/riotjs-style-guide.git","clone_url":"https://github.com/voorhoede/riotjs-style-guide.git","svn_url":"https://github.com/voorhoede/riotjs-style-guide","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2"},"html":{"href":"https://github.com/voorhoede/riotjs-style-guide/pull/2"},"issue":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/2"},"comments":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/voorhoede/riotjs-style-guide/statuses/22240f67d8735803cbfe9695facf0788ff509ced"}}}}