@arthurfiorette/prettier-config
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -54,3 +54,3 @@ /** | ||
module.exports.config = (override = {}) => { | ||
return { ...defaultConfig, override }; | ||
return { ...defaultConfig, ...override }; | ||
}; |
{ | ||
"name": "@arthurfiorette/prettier-config", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "My personal prettier config", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,6 +15,6 @@ ## @arthurfiorette/prettier-config | ||
You can use this prettier config with a `.prettierrc.json` file. | ||
You can use this prettier config with a `.prettierrc.js` file. | ||
```js | ||
// .prettierrc.json | ||
// .prettierrc.js | ||
@@ -27,7 +27,7 @@ module.exports = require('@arthurfiorette/prettier-config'); | ||
```js | ||
// .prettierrc.json | ||
// .prettierrc.js | ||
const { config } = require('@arthurfiorette/prettier-config'); | ||
module.expors = config({ | ||
module.exports = config({ | ||
printWidth: 80 | ||
@@ -34,0 +34,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3792