old_contents: 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)
  		}
  	}
  }
  
new_contents: 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')), '../')
  			const docgenPath = path.resolve(path.dirname(require.resolve('vue-docgen-api')), '../')
  
  			eslintRule.exclude.add(vsgPath)
  			eslintRule.exclude.add(docgenPath)
  			eslintRule.exclude.add(vueBrowserCompilerPath)
  		}
  
  		const jsRule = conf.module.rule('js')
  		if (jsRule) {
  			jsRule.exclude.add(vueBrowserCompilerPath)
  		}
  	}
  }
  
subject: exclude docgen from being linted by vue cli