{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/10690","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/10690/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/10690/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/10690/events","html_url":"https://github.com/eslint/eslint/issues/10690","id":345330060,"node_id":"MDU6SXNzdWUzNDUzMzAwNjA=","number":10690,"title":"Configure error levels globally","user":{"login":"greggb","id":514026,"node_id":"MDQ6VXNlcjUxNDAyNg==","avatar_url":"https://avatars1.githubusercontent.com/u/514026?v=4","gravatar_id":"","url":"https://api.github.com/users/greggb","html_url":"https://github.com/greggb","followers_url":"https://api.github.com/users/greggb/followers","following_url":"https://api.github.com/users/greggb/following{/other_user}","gists_url":"https://api.github.com/users/greggb/gists{/gist_id}","starred_url":"https://api.github.com/users/greggb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greggb/subscriptions","organizations_url":"https://api.github.com/users/greggb/orgs","repos_url":"https://api.github.com/users/greggb/repos","events_url":"https://api.github.com/users/greggb/events{/privacy}","received_events_url":"https://api.github.com/users/greggb/received_events","type":"User","site_admin":false},"labels":[{"id":82922548,"node_id":"MDU6TGFiZWw4MjkyMjU0OA==","url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8","default":false},{"id":45711352,"node_id":"MDU6TGFiZWw0NTcxMTM1Mg==","url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":255319420,"node_id":"MDU6TGFiZWwyNTUzMTk0MjA=","url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-27T18:49:57Z","updated_at":"2018-07-27T19:40:18Z","closed_at":"2018-07-27T19:40:18Z","author_association":"NONE","body":"**The version of ESLint you are using.**\r\n`\"eslint\": \"5.2.0\"`\r\n\r\n**The problem you want to solve.**\r\nConfigure global error levels\r\n\r\n**Your take on the correct solution to problem.**\r\n\r\nI'm extending a recommended config from an eslint plugin (specifically `\"eslint-plugin-unicorn\": \"4.0.3\"`). I prefer to have all issues marked as WARN so we can continue building locally even though there are linting errors. \r\n\r\nIt would be nice to be able declare all issues as WARNs (or ERRORs) no matter what the previous rules have set. In this way adopting a more strict linting plugin would be a little easier as you could WARN as you incrementally adopt rather than setting individual over-rides for each rule.\r\n\r\nSomething like \r\n```\r\nrules:{\r\n\t'*': 'warn'\r\n}\r\n```\r\nor a new property\r\n```\r\nlevel: 'warn'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/408519564","html_url":"https://github.com/eslint/eslint/issues/10690#issuecomment-408519564","issue_url":"https://api.github.com/repos/eslint/eslint/issues/10690","id":408519564,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODUxOTU2NA==","user":{"login":"greggb","id":514026,"node_id":"MDQ6VXNlcjUxNDAyNg==","avatar_url":"https://avatars1.githubusercontent.com/u/514026?v=4","gravatar_id":"","url":"https://api.github.com/users/greggb","html_url":"https://github.com/greggb","followers_url":"https://api.github.com/users/greggb/followers","following_url":"https://api.github.com/users/greggb/following{/other_user}","gists_url":"https://api.github.com/users/greggb/gists{/gist_id}","starred_url":"https://api.github.com/users/greggb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greggb/subscriptions","organizations_url":"https://api.github.com/users/greggb/orgs","repos_url":"https://api.github.com/users/greggb/repos","events_url":"https://api.github.com/users/greggb/events{/privacy}","received_events_url":"https://api.github.com/users/greggb/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T19:40:18Z","updated_at":"2018-07-27T19:40:18Z","author_association":"NONE","body":"Thanks Teddy, I hadn't found that issue during search. \r\n\r\nYou make a good point. I think I was conflating two issues with my 'continue developing locally'. We do have one rule that we consider an error, so we do want to break on that (so a global rule wouldn't help in that case anyway). \r\n\r\nThe other condition is committing issues that are \"acceptable\" without breaking the CI, but are logged for cleanup purposes.\r\n\r\nFrom #10346 it looks like using a `js` file and programmatically updating each rule will work for my case. Thanks for taking time to reply"}}
{"actor":{"display_login":"greggb"}}