{"action":"created","issue":{"url":"https://api.github.com/repos/johnotander/immutable-css/issues/12","labels_url":"https://api.github.com/repos/johnotander/immutable-css/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/johnotander/immutable-css/issues/12/comments","events_url":"https://api.github.com/repos/johnotander/immutable-css/issues/12/events","html_url":"https://github.com/johnotander/immutable-css/issues/12","id":68796970,"number":12,"title":"Check for mutations in a directory or glob","user":{"login":"johnotander","id":1424573,"avatar_url":"https://avatars.githubusercontent.com/u/1424573?v=3","gravatar_id":"","url":"https://api.github.com/users/johnotander","html_url":"https://github.com/johnotander","followers_url":"https://api.github.com/users/johnotander/followers","following_url":"https://api.github.com/users/johnotander/following{/other_user}","gists_url":"https://api.github.com/users/johnotander/gists{/gist_id}","starred_url":"https://api.github.com/users/johnotander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnotander/subscriptions","organizations_url":"https://api.github.com/users/johnotander/orgs","repos_url":"https://api.github.com/users/johnotander/repos","events_url":"https://api.github.com/users/johnotander/events{/privacy}","received_events_url":"https://api.github.com/users/johnotander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T22:06:13Z","updated_at":"2015-04-16T21:04:56Z","closed_at":null,"body":"It'd be awesome (at least I think so) to be able to check for mutations in CSS files that are in a directory, either passing a directory or a glob. `immutable-css` would then ensure that a class isn't mutated in more than one file.\r\n\r\nPerhaps, something like:\r\n\r\n```js\r\nimmutableCss('src/css/**/*.css')\r\n// => [{\r\n//   class: '.button',\r\n//   mutatingFiles: [\r\n//     'src/css/buttons.css',\r\n//     'src/css/components/some-file-that-should-not-mutate-button.css'\r\n//   ]\r\n// }]\r\n```\r\n\r\nThoughts @jxnblk ?"},"comment":{"url":"https://api.github.com/repos/johnotander/immutable-css/issues/comments/93839332","html_url":"https://github.com/johnotander/immutable-css/issues/12#issuecomment-93839332","issue_url":"https://api.github.com/repos/johnotander/immutable-css/issues/12","id":93839332,"user":{"login":"johnotander","id":1424573,"avatar_url":"https://avatars.githubusercontent.com/u/1424573?v=3","gravatar_id":"","url":"https://api.github.com/users/johnotander","html_url":"https://github.com/johnotander","followers_url":"https://api.github.com/users/johnotander/followers","following_url":"https://api.github.com/users/johnotander/following{/other_user}","gists_url":"https://api.github.com/users/johnotander/gists{/gist_id}","starred_url":"https://api.github.com/users/johnotander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnotander/subscriptions","organizations_url":"https://api.github.com/users/johnotander/orgs","repos_url":"https://api.github.com/users/johnotander/repos","events_url":"https://api.github.com/users/johnotander/events{/privacy}","received_events_url":"https://api.github.com/users/johnotander/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T21:04:56Z","updated_at":"2015-04-16T21:04:56Z","body":"Cools! Ah, yes, forgot to add the vendor argument in the proposed example."}}