@vida0905/eslint-config 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function applyOptions(options) {
|
|
|
127
127
|
const optionVal = options[key];
|
|
128
128
|
const defaultVal = antfuConfig[key];
|
|
129
129
|
if (optionVal === true) options[key] = defaultVal;
|
|
130
|
-
else if (optionVal !== false) options[key] = optionVal ? deepMerge(
|
|
130
|
+
else if (optionVal !== false) options[key] = optionVal ? deepMerge(defaultVal, optionVal) : defaultVal;
|
|
131
131
|
});
|
|
132
132
|
return options;
|
|
133
133
|
}
|
package/package.json
CHANGED