{"action":"opened","issue":{"url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/38","repository_url":"https://api.github.com/repos/charlierudolph/dependency-lint","labels_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/38/comments","events_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/38/events","html_url":"https://github.com/charlierudolph/dependency-lint/issues/38","id":186200700,"number":38,"title":"plugin support","user":{"login":"charlierudolph","id":1676758,"avatar_url":"https://avatars.githubusercontent.com/u/1676758?v=3","gravatar_id":"","url":"https://api.github.com/users/charlierudolph","html_url":"https://github.com/charlierudolph","followers_url":"https://api.github.com/users/charlierudolph/followers","following_url":"https://api.github.com/users/charlierudolph/following{/other_user}","gists_url":"https://api.github.com/users/charlierudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/charlierudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlierudolph/subscriptions","organizations_url":"https://api.github.com/users/charlierudolph/orgs","repos_url":"https://api.github.com/users/charlierudolph/repos","events_url":"https://api.github.com/users/charlierudolph/events{/privacy}","received_events_url":"https://api.github.com/users/charlierudolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-31T04:28:21Z","updated_at":"2016-10-31T04:28:21Z","closed_at":null,"body":"In order to reduce the number of modules that end up ignoreErrors - unused, I think it would be interesting to try allowing plugins.\r\n\r\nA plugin could be something that exports a function that returns a promise which resolves to the an array of the modules it determines are used. The function will be passed in the file path to the project and can search through whatever files it would like \r\n\r\nAn examples: webpack - read the config file, look through the loaders list and determine the name of the modules that webpack is requiring\r\n\r\nMost of these would hopefully be very small functions. @kevgo @alexdavid thoughts?"}}
{"actor":{"display_login":"charlierudolph"}}