module.exports = {
	chainWebpack(conf) {
		// When using lerna and simlinks,
		// mode some modules that should be ignored are not
		// we add them here to avoid errors
		const path = require('path')
		const vueBrowserCompilerPath = path.resolve(
			path.dirname(require.resolve('vue-inbrowser-compiler')),
			'../'
		)

		const eslintRule = conf.module.rule('eslint')
		if (eslintRule) {
			const vsgPath = path.resolve(path.dirname(require.resolve('vue-styleguidist')), '../')

			eslintRule.exclude.add(vsgPath)
			eslintRule.exclude.add(vueBrowserCompilerPath)
		}

		const jsRule = conf.module.rule('js')
		if (jsRule) {
			jsRule.exclude.add(vueBrowserCompilerPath)
		}
	}
}

@@ -476,38 +476,167 @@
 /')%0A
-%0A%09%09%09eslintRule.exclude.add(vsg
+%09%09%09const docgenPath = path.resolve(path.dirname(require.resolve('vue-docgen-api')), '../')%0A%0A%09%09%09eslintRule.exclude.add(vsgPath)%0A%09%09%09eslintRule.exclude.add(docgen
 Path

exclude docgen from being linted by vue cli