{"action":"opened","issue":{"url":"https://api.github.com/repos/palantir/blueprint/issues/2568","repository_url":"https://api.github.com/repos/palantir/blueprint","labels_url":"https://api.github.com/repos/palantir/blueprint/issues/2568/labels{/name}","comments_url":"https://api.github.com/repos/palantir/blueprint/issues/2568/comments","events_url":"https://api.github.com/repos/palantir/blueprint/issues/2568/events","html_url":"https://github.com/palantir/blueprint/issues/2568","id":329226622,"node_id":"MDU6SXNzdWUzMjkyMjY2MjI=","number":2568,"title":"blueprint-classes-constants rule shouldn't catch classes that have \"pt\" in the middle","user":{"login":"styu","id":1143755,"node_id":"MDQ6VXNlcjExNDM3NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1143755?v=4","gravatar_id":"","url":"https://api.github.com/users/styu","html_url":"https://github.com/styu","followers_url":"https://api.github.com/users/styu/followers","following_url":"https://api.github.com/users/styu/following{/other_user}","gists_url":"https://api.github.com/users/styu/gists{/gist_id}","starred_url":"https://api.github.com/users/styu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styu/subscriptions","organizations_url":"https://api.github.com/users/styu/orgs","repos_url":"https://api.github.com/users/styu/repos","events_url":"https://api.github.com/users/styu/events{/privacy}","received_events_url":"https://api.github.com/users/styu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T21:38:47Z","updated_at":"2018-06-04T21:38:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- IF YOU ARE A PALANTIR EMPLOYEE, DO NOT POST INTERNAL LINKS OR REFERENCES HERE -->\r\n\r\n#### Environment\r\n\r\n- __Package version(s)__: @blueprintjs/tslint-config@1.3.1\r\n- __Browser and OS versions__: <!-- fill this out -->\r\n\r\n#### Steps to reproduce\r\n\r\n1. Have a classname such as \"asdf-pt-foo\"\r\n\r\n#### Actual behavior\r\n\r\n1. Lint rule will complain about using a class variable, but this is not something that is even blueprint\r\n\r\n#### Expected behavior\r\n\r\n1. Lint rule does not complain\r\n\r\n#### Possible solution\r\n\r\nRule should check if a class name leads with `pt-`, not just if it contains `pt-`\r\n"}}
{"actor":{"display_login":"styu"}}