@mikey-pro/prettier-config 10.0.3 → 10.1.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 +14 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,36 +1,32 @@
1
1
  # @mikey-pro/prettier-config
2
2
 
3
- Prettier configuration for the Mikey Pro style guide.
3
+ Prettier configuration for consistent code formatting.
4
4
 
5
- ## Installation
5
+ **Recommended:** Install `mikey-pro` instead — includes this config plus ESLint and Stylelint:
6
6
 
7
7
  ```bash
8
- npm install @mikey-pro/prettier-config
8
+ npm install --save-dev mikey-pro
9
9
  ```
10
10
 
11
- ## Usage
12
-
13
- ```javascript
14
- // .prettierrc.js
15
- module.exports = {
16
- ...require('@mikey-pro/prettier-config'),
17
- };
11
+ ```json
12
+ { "prettier": "mikey-pro/prettier" }
18
13
  ```
19
14
 
20
- Or in package.json:
15
+ ## Standalone Install
16
+
17
+ ```bash
18
+ npm install --save-dev @mikey-pro/prettier-config
19
+ ```
21
20
 
22
21
  ```json
23
- {
24
- "prettier": "@mikey-pro/prettier-config"
25
- }
22
+ { "prettier": "@mikey-pro/prettier-config" }
26
23
  ```
27
24
 
28
25
  ## Features
29
26
 
30
- - Consistent code formatting
31
- - JavaScript/TypeScript optimization
27
+ - Single quotes, trailing commas, semicolons
28
+ - 80 character print width
32
29
  - Framework-aware formatting
33
- - Trailing commas and semicolons
34
- - Single quotes preference
30
+ - JS, TS, JSON, CSS, HTML, Markdown, YAML support
35
31
 
36
32
  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": "10.0.3",
3
+ "version": "10.1.0",
4
4
  "description": "Mikey Pro Prettier configuration",
5
5
  "main": "index.js",
6
6
  "files": [