{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/1420","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/1420/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/1420/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/1420/events","html_url":"https://github.com/palantir/tslint/issues/1420","id":166817578,"number":1420,"title":"Allow priority configuration in PMD formatter","user":{"login":"yrtimiD","id":816805,"avatar_url":"https://avatars.githubusercontent.com/u/816805?v=3","gravatar_id":"","url":"https://api.github.com/users/yrtimiD","html_url":"https://github.com/yrtimiD","followers_url":"https://api.github.com/users/yrtimiD/followers","following_url":"https://api.github.com/users/yrtimiD/following{/other_user}","gists_url":"https://api.github.com/users/yrtimiD/gists{/gist_id}","starred_url":"https://api.github.com/users/yrtimiD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yrtimiD/subscriptions","organizations_url":"https://api.github.com/users/yrtimiD/orgs","repos_url":"https://api.github.com/users/yrtimiD/repos","events_url":"https://api.github.com/users/yrtimiD/events{/privacy}","received_events_url":"https://api.github.com/users/yrtimiD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T13:20:19Z","updated_at":"2016-07-21T15:06:29Z","closed_at":"2016-07-21T15:06:29Z","body":"Feature proposal:\r\nWhen using PMD format all warnings are reported with priority=1 (guess it's a high).\r\nBecause tslint doesn't supports different priorities, I want to have separate tslint.json files with different rule sets and want to report their results differently to PMD files.\r\nSo, if tslint will support defining of PMD priority I'll be able to do something like next:\r\n```\r\ntslint --config=tslint_warn.json --out=pmd_warn.xml --pmd-priority=2\r\ntslint --config=tslint_err.json --out=pmd_err.xml --pmd-priority=1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/234283100","html_url":"https://github.com/palantir/tslint/issues/1420#issuecomment-234283100","issue_url":"https://api.github.com/repos/palantir/tslint/issues/1420","id":234283100,"user":{"login":"JKillian","id":1400151,"avatar_url":"https://avatars.githubusercontent.com/u/1400151?v=3","gravatar_id":"","url":"https://api.github.com/users/JKillian","html_url":"https://github.com/JKillian","followers_url":"https://api.github.com/users/JKillian/followers","following_url":"https://api.github.com/users/JKillian/following{/other_user}","gists_url":"https://api.github.com/users/JKillian/gists{/gist_id}","starred_url":"https://api.github.com/users/JKillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKillian/subscriptions","organizations_url":"https://api.github.com/users/JKillian/orgs","repos_url":"https://api.github.com/users/JKillian/repos","events_url":"https://api.github.com/users/JKillian/events{/privacy}","received_events_url":"https://api.github.com/users/JKillian/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T15:06:28Z","updated_at":"2016-07-21T15:06:28Z","body":"Hi @yrtimiD, I understand why you'd like this feature, but it doesn't make sense for us to add a special flag specifically for the PMD Formatter to our API. However, adding a way to set the priority of rules is definitely something we'd like to do (see #345) and I believe it's the right way to proceed."}}
{"actor":{"display_login":"JKillian"}}