Skip to content

Commit 4bd9c3f

Browse files
authored
Update eslintOptions.js
1 parent 0f51395 commit 4bd9c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli-plugin-eslint/eslintOptions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exports.config = (api, config) => {
1+
exports.config = (api, _config) => {
22
const config = {
33
root: true,
44
env: { node: true },
@@ -8,7 +8,7 @@ exports.config = (api, config) => {
88
'no-debugger': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`)
99
}
1010
}
11-
if (config === 'airbnb') {
11+
if (_config === 'airbnb') {
1212
config.rules['no-param-reassign'] = ['error', {
1313
props: true,
1414
ignorePropertyModificationsFor: [

0 commit comments

Comments
 (0)