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.
1 parent 0f51395 commit 4bd9c3fCopy full SHA for 4bd9c3f
packages/@vue/cli-plugin-eslint/eslintOptions.js
@@ -1,4 +1,4 @@
1
-exports.config = (api, config) => {
+exports.config = (api, _config) => {
2
const config = {
3
root: true,
4
env: { node: true },
@@ -8,7 +8,7 @@ exports.config = (api, config) => {
8
'no-debugger': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`)
9
}
10
11
- if (config === 'airbnb') {
+ if (_config === 'airbnb') {
12
config.rules['no-param-reassign'] = ['error', {
13
props: true,
14
ignorePropertyModificationsFor: [
0 commit comments