{"action":"opened","issue":{"url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/11","labels_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/11/comments","events_url":"https://api.github.com/repos/charlierudolph/dependency-lint/issues/11/events","html_url":"https://github.com/charlierudolph/dependency-lint/issues/11","id":108201783,"number":11,"title":"Error throwed when linting webpack project","user":{"login":"jalooc","id":6209244,"avatar_url":"https://avatars.githubusercontent.com/u/6209244?v=3","gravatar_id":"","url":"https://api.github.com/users/jalooc","html_url":"https://github.com/jalooc","followers_url":"https://api.github.com/users/jalooc/followers","following_url":"https://api.github.com/users/jalooc/following{/other_user}","gists_url":"https://api.github.com/users/jalooc/gists{/gist_id}","starred_url":"https://api.github.com/users/jalooc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalooc/subscriptions","organizations_url":"https://api.github.com/users/jalooc/orgs","repos_url":"https://api.github.com/users/jalooc/repos","events_url":"https://api.github.com/users/jalooc/events{/privacy}","received_events_url":"https://api.github.com/users/jalooc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T19:54:37Z","updated_at":"2015-09-24T19:54:37Z","closed_at":null,"body":"This was output when trying to lint React.js project built with webpack (thus using a lot of `import` even for resources like `scss` files).\r\n```\r\nC:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\node_modules\\acorn\\dist\\acorn.js:1747\r\n  throw err;\r\n        ^\r\nSyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (2:0)\r\n  at Parser.pp.raise (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\node_modules\\acorn\\dist\\acorn.js:1745:13)\r\n  at Parser.pp.parseStatement (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\node_modules\\acorn\\dist\\acorn.js:2450:34)\r\n  at Parser.pp.parseTopLevel (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\node_modules\\acorn\\dist\\acorn.js:2379:21)\r\n  at Object.parse (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\node_modules\\acorn\\dist\\acorn.js:101:12)\r\n  at parse (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\index.js:10:18)\r\n  at Function.exports.find (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\index.js:45:15)\r\n  at module.exports (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\detective\\index.js:24:20)\r\n  at RequiredModuleFinder.findInContent (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\src\\linter\\used_module_finder\\required_module_finder.coffee:53:19)\r\n  at C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\src\\linter\\used_module_finder\\required_module_finder.coffee:32:21\r\n  at fn (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:717:34)\r\n  at C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:1170:16\r\n  at C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:172:37\r\n  at C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:677:43\r\n  at C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:173:37\r\n  at Object._onImmediate (C:\\****\\AppData\\Roaming\\npm\\node_modules\\dependency-lint\\node_modules\\async\\lib\\async.js:1163:34)\r\n  at processImmediate [as _immediateCallback] (timers.js:345:15)\r\n```"}}