{"action":"opened","issue":{"url":"https://api.github.com/repos/richq/cmake-lint/issues/10","labels_url":"https://api.github.com/repos/richq/cmake-lint/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/richq/cmake-lint/issues/10/comments","events_url":"https://api.github.com/repos/richq/cmake-lint/issues/10/events","html_url":"https://github.com/richq/cmake-lint/issues/10","id":105696807,"number":10,"title":"Suggestion: check file extension","user":{"login":"jasjuang","id":11759200,"avatar_url":"https://avatars.githubusercontent.com/u/11759200?v=3","gravatar_id":"","url":"https://api.github.com/users/jasjuang","html_url":"https://github.com/jasjuang","followers_url":"https://api.github.com/users/jasjuang/followers","following_url":"https://api.github.com/users/jasjuang/following{/other_user}","gists_url":"https://api.github.com/users/jasjuang/gists{/gist_id}","starred_url":"https://api.github.com/users/jasjuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasjuang/subscriptions","organizations_url":"https://api.github.com/users/jasjuang/orgs","repos_url":"https://api.github.com/users/jasjuang/repos","events_url":"https://api.github.com/users/jasjuang/events{/privacy}","received_events_url":"https://api.github.com/users/jasjuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T22:28:51Z","updated_at":"2015-09-09T22:28:51Z","closed_at":null,"body":"Would it be possible to check whether the file is cmake related file such as \".cmake\" or \"CMakeLists.txt\" before running the script?\r\n\r\ncpplint has a similar function that checks whether the file is \".cpp\" or \".h\" etc. Would be great to see it on cmakelint as well.\r\n\r\nThanks in advance to whoever knows python well that helps!"}}