{"action":"created","issue":{"url":"https://api.github.com/repos/webhintio/rfcs/issues/59","repository_url":"https://api.github.com/repos/webhintio/rfcs","labels_url":"https://api.github.com/repos/webhintio/rfcs/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/webhintio/rfcs/issues/59/comments","events_url":"https://api.github.com/repos/webhintio/rfcs/issues/59/events","html_url":"https://github.com/webhintio/rfcs/issues/59","id":378684596,"node_id":"MDU6SXNzdWUzNzg2ODQ1OTY=","number":59,"title":"Support for .browserlistrc","user":{"login":"CKGrafico","id":2048511,"node_id":"MDQ6VXNlcjIwNDg1MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2048511?v=4","gravatar_id":"","url":"https://api.github.com/users/CKGrafico","html_url":"https://github.com/CKGrafico","followers_url":"https://api.github.com/users/CKGrafico/followers","following_url":"https://api.github.com/users/CKGrafico/following{/other_user}","gists_url":"https://api.github.com/users/CKGrafico/gists{/gist_id}","starred_url":"https://api.github.com/users/CKGrafico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CKGrafico/subscriptions","organizations_url":"https://api.github.com/users/CKGrafico/orgs","repos_url":"https://api.github.com/users/CKGrafico/repos","events_url":"https://api.github.com/users/CKGrafico/events{/privacy}","received_events_url":"https://api.github.com/users/CKGrafico/received_events","type":"User","site_admin":false},"labels":[{"id":1048399190,"node_id":"MDU6TGFiZWwxMDQ4Mzk5MTkw","url":"https://api.github.com/repos/webhintio/rfcs/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1048399195,"node_id":"MDU6TGFiZWwxMDQ4Mzk5MTk1","url":"https://api.github.com/repos/webhintio/rfcs/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1048399204,"node_id":"MDU6TGFiZWwxMDQ4Mzk5MjA0","url":"https://api.github.com/repos/webhintio/rfcs/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-08T11:11:33Z","updated_at":"2018-12-21T18:44:09Z","closed_at":null,"author_association":"NONE","body":"At this moment, webhint is supporting the browserlist configured in the `.hintrc` file and inside `package.json` file. But in some project users have defined the browserlist in `.browserlistrc`\r\n\r\nTo do that will also be necessary to \"merge\" the list of borwsers _(or similar solution)_ if the user uses `.browserlistrc` + `.hintrc`.\r\n\r\nCC/ @molant "},"comment":{"url":"https://api.github.com/repos/webhintio/rfcs/issues/comments/449467332","html_url":"https://github.com/webhintio/rfcs/issues/59#issuecomment-449467332","issue_url":"https://api.github.com/repos/webhintio/rfcs/issues/59","id":449467332,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQ2NzMzMg==","user":{"login":"antross","id":785009,"node_id":"MDQ6VXNlcjc4NTAwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/785009?v=4","gravatar_id":"","url":"https://api.github.com/users/antross","html_url":"https://github.com/antross","followers_url":"https://api.github.com/users/antross/followers","following_url":"https://api.github.com/users/antross/following{/other_user}","gists_url":"https://api.github.com/users/antross/gists{/gist_id}","starred_url":"https://api.github.com/users/antross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antross/subscriptions","organizations_url":"https://api.github.com/users/antross/orgs","repos_url":"https://api.github.com/users/antross/repos","events_url":"https://api.github.com/users/antross/events{/privacy}","received_events_url":"https://api.github.com/users/antross/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T18:44:09Z","updated_at":"2018-12-21T18:44:09Z","author_association":"MEMBER","body":"> Browserlists throws an error if users define the property in both package.json and .browserlistrc. Perhaps we could follow this and throw an error also if a user has defined a .browserslist config in both .hintrc and package.json. As a user, had I defined the config in both package.json and .hintrc, I would be confused as to whether the configs were merged or if one had taken precedence over another.\r\n\r\n@isabellachen I like this suggestion. I think having explicit errors is the cleanest approach to help avoid confusion and I can't think of a compelling use-case for configuring browsers differently for webhint than the rest of of a project. Let's go this route, including removing the duplicate work of looking at `package.json` you pointed out."}}
{"actor":{"display_login":"antross"}}