@homestuck/prettier-config 1.7.1 → 1.7.3

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 (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +5 -8
  3. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.3](https://github.com/homestuck/configs/compare/prettier-config@v1.7.2...prettier-config@v1.7.3) (2026-02-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **prettier:** Update sort imports to handle more internal package name options ([#79](https://github.com/homestuck/configs/issues/79)) ([a0b49db](https://github.com/homestuck/configs/commit/a0b49db0c5f6d95a1e7711dca435b4dbc08404ec))
9
+
10
+ ## [1.7.2](https://github.com/homestuck/configs/compare/prettier-config@v1.7.1...prettier-config@v1.7.2) (2026-01-29)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **prettier:** Add tailwindFunctions config ([#65](https://github.com/homestuck/configs/issues/65)) ([2a712c1](https://github.com/homestuck/configs/commit/2a712c1abb34c6684ce4b96e02ed7ede7a610768))
16
+
3
17
  ## [1.7.1](https://github.com/homestuck/configs/compare/prettier-config@v1.7.0...prettier-config@v1.7.1) (2026-01-29)
4
18
 
5
19
 
package/index.js CHANGED
@@ -20,15 +20,11 @@ export default {
20
20
  '',
21
21
  '<TYPES>^@homestuck',
22
22
  '^@homestuck/(.*)$',
23
+ '<TYPES>^(@local|@internal|@workspace)',
24
+ '^(@local|@internal|@workspace)/(.*)$',
23
25
  '',
24
- '<TYPES>^@local',
25
- '^@local/(.*)$',
26
- '',
27
- '<TYPES>^#',
28
- '^(#/(.*)$)|^(#(.*)$)',
29
- '',
30
- '<TYPES>^[.|..|~]',
31
- '^~/',
26
+ '<TYPES>^[.|..|~|#]',
27
+ '^(~/|#)',
32
28
  '^[../]',
33
29
  '^[./]',
34
30
  ],
@@ -49,6 +45,7 @@ export default {
49
45
  singleQuote: true,
50
46
  tabWidth: 2,
51
47
  tailwindAttributes: ['class', 'className', 'ngClass', 'class:list'],
48
+ tailwindFunctions: ['clsx', 'cn', 'cva', 'tw', 'twMerge'],
52
49
  trailingComma: 'all',
53
50
  useTabs: false,
54
51
  xmlQuoteAttributes: 'double',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homestuck/prettier-config",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "private": false,
5
5
  "description": "Baseline Prettier config used and maintained by Homestuck Inc., et al.",
6
6
  "repository": {
@@ -17,7 +17,8 @@
17
17
  "main": "index.js",
18
18
  "prettier": "@homestuck/prettier-config",
19
19
  "devDependencies": {
20
- "@types/node": "^25.1.0",
20
+ "@types/node": "^25.2.0",
21
+ "storybook": "^10.2.6",
21
22
  "typescript": "^5.9.3",
22
23
  "@homestuck/tsconfig": "1.7.0"
23
24
  },