{"action":"created","issue":{"url":"https://api.github.com/repos/google/grinder.dart/issues/239","labels_url":"https://api.github.com/repos/google/grinder.dart/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/google/grinder.dart/issues/239/comments","events_url":"https://api.github.com/repos/google/grinder.dart/issues/239/events","html_url":"https://github.com/google/grinder.dart/issues/239","id":77801205,"number":239,"title":"Expose list of common dart source dirs as targets for formatter, linter, analyzer, etc.","user":{"login":"seaneagan","id":444270,"avatar_url":"https://avatars.githubusercontent.com/u/444270?v=3","gravatar_id":"","url":"https://api.github.com/users/seaneagan","html_url":"https://github.com/seaneagan","followers_url":"https://api.github.com/users/seaneagan/followers","following_url":"https://api.github.com/users/seaneagan/following{/other_user}","gists_url":"https://api.github.com/users/seaneagan/gists{/gist_id}","starred_url":"https://api.github.com/users/seaneagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaneagan/subscriptions","organizations_url":"https://api.github.com/users/seaneagan/orgs","repos_url":"https://api.github.com/users/seaneagan/repos","events_url":"https://api.github.com/users/seaneagan/events{/privacy}","received_events_url":"https://api.github.com/users/seaneagan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-18T20:51:37Z","updated_at":"2015-05-19T19:12:42Z","closed_at":null,"body":"It'd be nice to default `Analyzer`, `Dartfmt` (others?) to running on all common dart source directories.  If we had [this DEP](https://github.com/lrhn/dep-optionals) then we could just make the paths optional in `Analyzer.analyze` and `Dartfmt.format/dryRun`, but maybe more generally useful would be exposing the list of dirs:\r\n\r\n```dart\r\nfinal List<Directory> sourceDirs = ['bin', 'example', 'lib', 'test', 'tool', 'web'].map((path) => new Directory(path)).toList();\r\n```\r\n\r\nor `dartSourceDirs`?\r\n\r\n`web` can contain dart source code, right?"},"comment":{"url":"https://api.github.com/repos/google/grinder.dart/issues/comments/103637345","html_url":"https://github.com/google/grinder.dart/issues/239#issuecomment-103637345","issue_url":"https://api.github.com/repos/google/grinder.dart/issues/239","id":103637345,"user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T19:12:42Z","updated_at":"2015-05-19T19:12:42Z","body":"Hmm, maybe a static list of top-level dirs that can contain dart source, and a method that will return the subset that actually exist for the current project? So,\r\n\r\n```dart\r\nconst List<String> sourceDirs;\r\nList<String> getExistingSourceDirs();\r\n```\r\n"}}