@theholocron/prettier-config 7.15.0 → 7.17.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/dist/index.js +23 -13
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15,20 +15,30 @@ const config = {
15
15
  tabWidth: 4,
16
16
  trailingComma: "es5",
17
17
  useTabs: true,
18
- overrides: [{
19
- files: [
20
- "*.json",
21
- "*.yml",
22
- "*.yaml"
23
- ],
24
- options: {
25
- tabWidth: 2,
26
- useTabs: false
18
+ overrides: [
19
+ {
20
+ files: ["*.md", "*.mdx"],
21
+ options: {
22
+ tabWidth: 2,
23
+ useTabs: false
24
+ }
25
+ },
26
+ {
27
+ files: [
28
+ "*.json",
29
+ "*.yml",
30
+ "*.yaml"
31
+ ],
32
+ options: {
33
+ tabWidth: 2,
34
+ useTabs: false
35
+ }
36
+ },
37
+ {
38
+ files: ["tsconfig*.json"],
39
+ options: { printWidth: 80 }
27
40
  }
28
- }, {
29
- files: ["tsconfig*.json"],
30
- options: { printWidth: 80 }
31
- }]
41
+ ]
32
42
  };
33
43
  //#endregion
34
44
  export { config as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/prettier-config",
3
- "version": "7.15.0",
3
+ "version": "7.17.0",
4
4
  "description": "A Prettier configuration for formatting libraries in the Galaxy.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/prettier-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",
@@ -24,8 +24,8 @@
24
24
  "typescript": "^5.9.3",
25
25
  "vitest": "^4.1.10",
26
26
  "@vitest/coverage-v8": "^4.1.10",
27
- "@theholocron/tsconfig": "7.15.0",
28
- "@theholocron/vitest-config": "7.15.0"
27
+ "@theholocron/vitest-config": "7.17.0",
28
+ "@theholocron/tsconfig": "7.17.0"
29
29
  },
30
30
  "exports": {
31
31
  ".": {