rhachet-roles-ehmpathy 1.13.9 → 1.13.10

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.
@@ -0,0 +1,17 @@
1
+ extra ifs = extra code branches
2
+
3
+ avoid ifs maximally
4
+
5
+ in an ideal narrative,
6
+ - shapes flow through and fit nicely
7
+ - operations apply to every shape consistently
8
+
9
+ to minimize code paths and maximize simplicity
10
+
11
+ ---
12
+
13
+ the only exception is early returns, since they shortcut logical branches and simply shorten the narrative
14
+ - e.g., in IFFEs
15
+ - e.g., in operations
16
+
17
+ avoid ifs that create logical branches we could have otherwise avoided
@@ -0,0 +1,7 @@
1
+ never blindly trust vscode diagnostics
2
+
3
+ often, the ts type server is out of date
4
+
5
+ npm run test:types to figure out whether its a real defect or just vscode needing a ts-server restart
6
+
7
+ ctrl-shift-p(restart ts server)
@@ -42,8 +42,8 @@ PERMISSIONS_CONFIG=$(cat <<'EOF'
42
42
  "Bash(mv:*)",
43
43
  "Bash(npx biome:*)",
44
44
  "Bash(npx jest:*)",
45
- "Bash(git add:*)"
46
- "Bash(git stash:*)"
45
+ "Bash(git add:*)",
46
+ "Bash(git stash:*)",
47
47
  "Bash(git checkout:*)"
48
48
  ],
49
49
  "ask": [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rhachet-roles-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "empathetic software construction roles and skills, via rhachet",
5
- "version": "1.13.9",
5
+ "version": "1.13.10",
6
6
  "repository": "ehmpathy/rhachet-roles-ehmpathy",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet-roles-ehmpathy",
8
8
  "keywords": [