{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2318","repository_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2318/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2318/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2318/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2318","id":215077906,"number":2318,"title":"How do i set all errors as warnings or vice versa without manually changing the ruleset in StyleCop.Analyzers","user":{"login":"manistellar2016","id":23427625,"avatar_url":"https://avatars1.githubusercontent.com/u/23427625?v=3","gravatar_id":"","url":"https://api.github.com/users/manistellar2016","html_url":"https://github.com/manistellar2016","followers_url":"https://api.github.com/users/manistellar2016/followers","following_url":"https://api.github.com/users/manistellar2016/following{/other_user}","gists_url":"https://api.github.com/users/manistellar2016/gists{/gist_id}","starred_url":"https://api.github.com/users/manistellar2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manistellar2016/subscriptions","organizations_url":"https://api.github.com/users/manistellar2016/orgs","repos_url":"https://api.github.com/users/manistellar2016/repos","events_url":"https://api.github.com/users/manistellar2016/events{/privacy}","received_events_url":"https://api.github.com/users/manistellar2016/received_events","type":"User","site_admin":false},"labels":[{"id":148730602,"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-03-17T17:54:52Z","updated_at":"2017-06-13T15:25:12Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/308153640","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2318#issuecomment-308153640","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/2318","id":308153640,"user":{"login":"rspiewak","id":26285273,"avatar_url":"https://avatars3.githubusercontent.com/u/26285273?v=3","gravatar_id":"","url":"https://api.github.com/users/rspiewak","html_url":"https://github.com/rspiewak","followers_url":"https://api.github.com/users/rspiewak/followers","following_url":"https://api.github.com/users/rspiewak/following{/other_user}","gists_url":"https://api.github.com/users/rspiewak/gists{/gist_id}","starred_url":"https://api.github.com/users/rspiewak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspiewak/subscriptions","organizations_url":"https://api.github.com/users/rspiewak/orgs","repos_url":"https://api.github.com/users/rspiewak/repos","events_url":"https://api.github.com/users/rspiewak/events{/privacy}","received_events_url":"https://api.github.com/users/rspiewak/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T15:25:11Z","updated_at":"2017-06-13T15:25:11Z","body":"Here's what I've found: \r\nruleset files are XML files, which contain references to the enabled rulesets. \r\nFollowing these are sections for each ruleset which simply contain deltas from the referenced ruleset.\r\nIf you want a \"Custom\" ruleset, including customizing the rules used by StyleCop.Analyzer, you need to edit the rules within Visual Studio. Then, save the modified ruleset.\r\nYou can easily open it in Notepad, for example, and see the results.\r\nHere is an example from one I modified:\r\n  <Rules AnalyzerId=\"StyleCop.Analyzers\" RuleNamespace=\"StyleCop.Analyzers\">\r\n    <Rule Id=\"SA1028\" Action=\"None\" />\r\n    <Rule Id=\"SA1101\" Action=\"None\" />\r\n    <Rule Id=\"SA1124\" Action=\"None\" />\r\n    <Rule Id=\"SA1602\" Action=\"None\" />\r\n    <Rule Id=\"SA1610\" Action=\"None\" />\r\n    <Rule Id=\"SA1633\" Action=\"Error\" />\r\n    <Rule Id=\"SA1634\" Action=\"Error\" />\r\n    <Rule Id=\"SA1636\" Action=\"Error\" />\r\n    <Rule Id=\"SA1640\" Action=\"Error\" />\r\n  </Rules>\r\nSo you can be as selective as you like."}}
{"actor":{"display_login":"rspiewak"}}