@kitschpatrol/prettier-config 2.2.1 → 3.0.1

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.
@@ -1 +1,25 @@
1
+ # Prettier Ignore
2
+ # Does not inherit from .gitignore
3
+
4
+ # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
6
+ .astro/
7
+ .DS_Store
8
+ .env
9
+ .env.*
10
+ .svelte-kit/
11
+ {tmp,temp}/
12
+ **/*.min.js
13
+ /scratch/
14
+ bower_components/
15
+ build/
16
+ coverage/
17
+ dist/
18
+ node_modules/
19
+ vendor/
20
+
21
+ # @kitschpatrol/prettier-config boilerplate
1
22
  pnpm-lock.yaml
23
+ package-lock.json
24
+
25
+ # Customizations
package/main.js CHANGED
@@ -2,6 +2,7 @@ import { homedir } from 'node:os';
2
2
 
3
3
  /** @type {import("prettier").Config} */
4
4
  const config = {
5
+ bracketSpacing: true,
5
6
  overrides: [
6
7
  {
7
8
  files: '*.astro',
@@ -41,7 +42,7 @@ const config = {
41
42
  'prettier-plugin-tailwindcss',
42
43
  'prettier-plugin-toml',
43
44
  ],
44
- printWidth: 120,
45
+ printWidth: 100,
45
46
  singleQuote: true,
46
47
  tabWidth: 2,
47
48
  trailingComma: 'all',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/prettier-config",
3
- "version": "2.2.1",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "description": "Prettier config for @kitschpatrol/shared-config",
6
6
  "repository": {
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "main": "main.js",
29
29
  "files": [
30
- "bin",
31
- "init"
30
+ "bin/*",
31
+ "init/*"
32
32
  ],
33
33
  "peerDependencies": {
34
34
  "prettier": "^3.0.0"
package/readme.md CHANGED
@@ -13,7 +13,7 @@ To use just this Prettier config in isolation:
13
13
  1. Install the `.npmrc` in your project root. This is required for correct PNPM behavior:
14
14
 
15
15
  ```sh
16
- pnpm dlx @kitschpatrol/npm-config
16
+ pnpm dlx @kitschpatrol/repo-config
17
17
  ```
18
18
 
19
19
  2. Add the package: