@mikey-pro/prettier-config 9.0.6 → 9.0.7

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 +36 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @mikey-pro/prettier-config
2
+
3
+ Prettier configuration for the Mikey Pro style guide.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mikey-pro/prettier-config
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```javascript
14
+ // .prettierrc.js
15
+ module.exports = {
16
+ ...require('@mikey-pro/prettier-config'),
17
+ };
18
+ ```
19
+
20
+ Or in package.json:
21
+
22
+ ```json
23
+ {
24
+ "prettier": "@mikey-pro/prettier-config"
25
+ }
26
+ ```
27
+
28
+ ## Features
29
+
30
+ - Consistent code formatting
31
+ - JavaScript/TypeScript optimization
32
+ - Framework-aware formatting
33
+ - Trailing commas and semicolons
34
+ - Single quotes preference
35
+
36
+ See [Mikey Pro](https://github.com/chiefmikey/mikey-pro) for full documentation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/prettier-config",
3
- "version": "9.0.6",
3
+ "version": "9.0.7",
4
4
  "description": "Mikey Pro Prettier configuration",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
35
35
  "type": "module",
36
36
  "engines": {
37
- "node": ">=18.0.0",
37
+ "node": ">=20.0.0",
38
38
  "npm": ">=9.0.0"
39
39
  }
40
40
  }