{"action":"created","issue":{"url":"https://api.github.com/repos/simple-icons/simple-icons/issues/485","repository_url":"https://api.github.com/repos/simple-icons/simple-icons","labels_url":"https://api.github.com/repos/simple-icons/simple-icons/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/simple-icons/simple-icons/issues/485/comments","events_url":"https://api.github.com/repos/simple-icons/simple-icons/issues/485/events","html_url":"https://github.com/simple-icons/simple-icons/issues/485","id":242187851,"node_id":"MDU6SXNzdWUyNDIxODc4NTE=","number":485,"title":"Linter","user":{"login":"birjolaxew","id":4542461,"node_id":"MDQ6VXNlcjQ1NDI0NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4542461?v=4","gravatar_id":"","url":"https://api.github.com/users/birjolaxew","html_url":"https://github.com/birjolaxew","followers_url":"https://api.github.com/users/birjolaxew/followers","following_url":"https://api.github.com/users/birjolaxew/following{/other_user}","gists_url":"https://api.github.com/users/birjolaxew/gists{/gist_id}","starred_url":"https://api.github.com/users/birjolaxew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birjolaxew/subscriptions","organizations_url":"https://api.github.com/users/birjolaxew/orgs","repos_url":"https://api.github.com/users/birjolaxew/repos","events_url":"https://api.github.com/users/birjolaxew/events{/privacy}","received_events_url":"https://api.github.com/users/birjolaxew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-11T21:23:04Z","updated_at":"2018-07-23T14:12:28Z","closed_at":null,"author_association":"MEMBER","body":"In an effort to make it easier to follow [CONTRIBUTING.md](https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md), we could add a linting tool as a precommit hook.\r\n\r\nIt would test the files being committed, and block the commit with a message similar to the following if something is wrong:\r\n\r\n```\r\n✔ icons/valid.svg\r\n✖ icons/invalid.svg\r\n    Expected viewBox to be 24x24, was 512x512\r\n```\r\n\r\nThis could of course also be ran in a CI to integrate it into GitHub."},"comment":{"url":"https://api.github.com/repos/simple-icons/simple-icons/issues/comments/407072041","html_url":"https://github.com/simple-icons/simple-icons/issues/485#issuecomment-407072041","issue_url":"https://api.github.com/repos/simple-icons/simple-icons/issues/485","id":407072041,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzA3MjA0MQ==","user":{"login":"birjolaxew","id":4542461,"node_id":"MDQ6VXNlcjQ1NDI0NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4542461?v=4","gravatar_id":"","url":"https://api.github.com/users/birjolaxew","html_url":"https://github.com/birjolaxew","followers_url":"https://api.github.com/users/birjolaxew/followers","following_url":"https://api.github.com/users/birjolaxew/following{/other_user}","gists_url":"https://api.github.com/users/birjolaxew/gists{/gist_id}","starred_url":"https://api.github.com/users/birjolaxew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birjolaxew/subscriptions","organizations_url":"https://api.github.com/users/birjolaxew/orgs","repos_url":"https://api.github.com/users/birjolaxew/repos","events_url":"https://api.github.com/users/birjolaxew/events{/privacy}","received_events_url":"https://api.github.com/users/birjolaxew/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T14:12:28Z","updated_at":"2018-07-23T14:12:28Z","author_association":"MEMBER","body":"I rewrote the linter from scratch over the holiday (it's amazing how productive you become when you have no internet for two weeks). It is now finished and available at [birjolaxew/svglint](https://github.com/birjolaxew/svglint).\r\n\r\nI am in talks with the person who published an NPM package under the name `svglint`, and he has agreed to let me use the name instead. Once I publish to NPM under this name, I will start working on implementing the linter in our CI process."}}
{"actor":{"display_login":"birjolaxew"}}