@xonovex/prettier-config 0.1.4 → 0.1.5
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/README.md +35 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @xonovex/prettier-config
|
|
2
|
+
|
|
3
|
+
Shared Prettier configuration for Xonovex projects.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -D @xonovex/prettier-config
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Add to your `package.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"prettier": "@xonovex/prettier-config"
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or create a `.prettierrc.js` file:
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
export {default} from "@xonovex/prettier-config";
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Included Plugins
|
|
28
|
+
|
|
29
|
+
- `@ianvs/prettier-plugin-sort-imports` - Import sorting
|
|
30
|
+
- `prettier-plugin-astro` - Astro file support
|
|
31
|
+
- `prettier-plugin-tailwindcss` - Tailwind CSS class sorting
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xonovex/prettier-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Shared Prettier configuration for Xonovex projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"prettier-plugin-tailwindcss": "0.7.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@xonovex/eslint-config-base": "0.1.
|
|
35
|
-
"@xonovex/ts-config-build": "0.1.
|
|
34
|
+
"@xonovex/eslint-config-base": "0.1.5",
|
|
35
|
+
"@xonovex/ts-config-build": "0.1.5"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"lint": "eslint .",
|