We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eslintPath
1 parent 63824af commit 992fe07Copy full SHA for 992fe07
packages/@vue/cli-plugin-eslint/index.js
@@ -53,7 +53,7 @@ module.exports = (api, options) => {
53
emitWarning: allWarnings,
54
// only emit errors in production mode.
55
emitError: allErrors,
56
- eslintPath: resolveModule('eslint', cwd),
+ eslintPath: path.dirname(resolveModule('eslint/package.json', cwd)),
57
formatter: loadModule('eslint/lib/formatters/codeframe', cwd, true)
58
})
59
0 commit comments