@mikey-pro/prettier-config 8.1.1 → 9.0.0

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,12 +20,12 @@ npm i -D mikey-pro
20
20
 
21
21
  ### Configure
22
22
 
23
- Extend to Prettier in `package.json`:
23
+ Reference shareable config in `package.json`:
24
24
 
25
25
  ```json
26
26
  {
27
- "prettier": {
28
- "extends": ["@mikey-pro/prettier-config"]
29
- }
27
+ "prettier": "@mikey-pro/prettier-config"
30
28
  }
31
29
  ```
30
+
31
+ Prettier does not support an `extends` field; using the package string is the correct approach.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/prettier-config",
3
- "version": "8.1.1",
3
+ "version": "9.0.0",
4
4
  "description": "Mikey Pro Prettier configuration",
5
5
  "main": "index.js",
6
6
  "files": [