{"action":"created","issue":{"url":"https://api.github.com/repos/devtools-html/rfcs/issues/30","repository_url":"https://api.github.com/repos/devtools-html/rfcs","labels_url":"https://api.github.com/repos/devtools-html/rfcs/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/rfcs/issues/30/comments","events_url":"https://api.github.com/repos/devtools-html/rfcs/issues/30/events","html_url":"https://github.com/devtools-html/rfcs/issues/30","id":278051835,"number":30,"title":"ESLint & Developer Tools","user":{"login":"Standard8","id":520844,"avatar_url":"https://avatars0.githubusercontent.com/u/520844?v=4","gravatar_id":"","url":"https://api.github.com/users/Standard8","html_url":"https://github.com/Standard8","followers_url":"https://api.github.com/users/Standard8/followers","following_url":"https://api.github.com/users/Standard8/following{/other_user}","gists_url":"https://api.github.com/users/Standard8/gists{/gist_id}","starred_url":"https://api.github.com/users/Standard8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Standard8/subscriptions","organizations_url":"https://api.github.com/users/Standard8/orgs","repos_url":"https://api.github.com/users/Standard8/repos","events_url":"https://api.github.com/users/Standard8/events{/privacy}","received_events_url":"https://api.github.com/users/Standard8/received_events","type":"User","site_admin":false},"labels":[{"id":675777242,"url":"https://api.github.com/repos/devtools-html/rfcs/labels/proposal","name":"proposal","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-30T09:30:46Z","updated_at":"2017-11-30T12:47:53Z","closed_at":null,"author_association":"NONE","body":"Currently devtools/ and the rest of mozilla-central have two fairly different configurations for ESLint.\r\n\r\nWhilst the majority of mozilla-central is covered by [eslint-plugin-mozilla's configurations](https://searchfox.org/mozilla-central/search?q=&case=false&regexp=false&path=eslint-plugin-mozilla%2Flib%2Fconfigs%2F), devtools defines most of its [own rules](https://searchfox.org/mozilla-central/search?q=&case=false&regexp=false&path=devtools%2F**.eslintrc*.js), even if they are a duplicate of the main ones.\r\n\r\nI would like to simplify the configurations so that it is clearer what devtools does differently, and that devtools can more easily benefit from changes/improvements to the mozilla configurations. One of the eventual aims would be to unify the configurations across mozilla-central to make it easier for developers to move from one to the other.\r\n\r\nI'm proposing the following:\r\n\r\n* We aim to simplify the devtools ruleset so that it is primarily derived from mozilla/recommended & the related test configurations.\r\n* We remove duplicate rules where they are the same as the mozilla configs.\r\n* For now, we leave rules that are different or extra to the mozilla configurations (let's think about harmonising those later).\r\n* The devtools.html repositories could extend the eslint-plugin-mozilla configuration (note: this gets [published via npm](https://www.npmjs.com/package/eslint-plugin-mozilla)), with the aim of simplifying rules in those as well.\r\n\r\nI'm happy to lead the effort with filing bugs, and doing a little work (e.g. de-dupe configs), though I'll likely also use mentored bugs. "},"comment":{"url":"https://api.github.com/repos/devtools-html/rfcs/issues/comments/348178661","html_url":"https://github.com/devtools-html/rfcs/issues/30#issuecomment-348178661","issue_url":"https://api.github.com/repos/devtools-html/rfcs/issues/30","id":348178661,"user":{"login":"julienw","id":454175,"avatar_url":"https://avatars0.githubusercontent.com/u/454175?v=4","gravatar_id":"","url":"https://api.github.com/users/julienw","html_url":"https://github.com/julienw","followers_url":"https://api.github.com/users/julienw/followers","following_url":"https://api.github.com/users/julienw/following{/other_user}","gists_url":"https://api.github.com/users/julienw/gists{/gist_id}","starred_url":"https://api.github.com/users/julienw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienw/subscriptions","organizations_url":"https://api.github.com/users/julienw/orgs","repos_url":"https://api.github.com/users/julienw/repos","events_url":"https://api.github.com/users/julienw/events{/privacy}","received_events_url":"https://api.github.com/users/julienw/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T12:47:53Z","updated_at":"2017-11-30T12:47:53Z","author_association":"NONE","body":"Yes, I also noticed globals we don't have normally in web development :) It makes sense to have a set of basic generic JS rules. Feel free to reuse ours ;)"}}
{"actor":{"display_login":"julienw"}}