energy-state-analyzer 0.19.0 → 0.20.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.
- package/CHANGELOG.md +18 -1
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/docs/boolean-validators-plan.md +204 -0
- package/docs/detectors/README.md +1 -1
- package/docs/detectors/parse-dont-validate.md +50 -19
- package/docs/detectors/primitive-obsession.md +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
last_commit_released:
|
|
2
|
+
last_commit_released: edb9fcbccaedfcfed2c16e16b83980406df943c1
|
|
3
3
|
name: energy-state-analyzer
|
|
4
4
|
updaters:
|
|
5
5
|
- command: npm version {version} --no-git-tag-version --allow-same-version
|
|
@@ -14,6 +14,23 @@ All notable changes to the "energy-state-analyzer" extension are generated by
|
|
|
14
14
|
[EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
|
|
15
15
|
[Conventional Commits](https://www.conventionalcommits.org/).
|
|
16
16
|
|
|
17
|
+
## 0.20.0 - 2026-09-20
|
|
18
|
+
|
|
19
|
+
### 🚀 Features
|
|
20
|
+
|
|
21
|
+
* Flag boolean validators in parse-dont-validate (#159) ([edb9fcb](https://github.com/cardamomcode/energy-state-analyzer/commit/edb9fcbccaedfcfed2c16e16b83980406df943c1))
|
|
22
|
+
|
|
23
|
+
<strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/c6607b76a5705d83e19bc3198c7f012a6c34692c..edb9fcbccaedfcfed2c16e16b83980406df943c1)</small></strong>
|
|
24
|
+
|
|
25
|
+
## 0.19.1 - 2026-09-17
|
|
26
|
+
|
|
27
|
+
### 🐞 Bug Fixes
|
|
28
|
+
|
|
29
|
+
* Give boolean blindness a targeted primitive-obsession message (#156) ([bafb1ce](https://github.com/cardamomcode/energy-state-analyzer/commit/bafb1cef928b09870583d59e31207ecd2b22e96b))
|
|
30
|
+
* Add typed format specifiers to detector messages (#158) ([c6607b7](https://github.com/cardamomcode/energy-state-analyzer/commit/c6607b76a5705d83e19bc3198c7f012a6c34692c))
|
|
31
|
+
|
|
32
|
+
<strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/d638fb6b75608731fb0ff06d12717a1a0c9be442..c6607b76a5705d83e19bc3198c7f012a6c34692c)</small></strong>
|
|
33
|
+
|
|
17
34
|
## 0.19.0 - 2026-09-16
|
|
18
35
|
|
|
19
36
|
### 🚀 Features
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Real-time analysis of the active Python, F#, TypeScript, Kotlin, C++, or C# file
|
|
|
19
19
|
- [Recovery Dominance](docs/detectors/recovery-dominance.md), recovery policy that dominates a function.
|
|
20
20
|
- [Oversized Recovery Block](docs/detectors/oversized-recovery-block.md), individual handlers or cleanup bodies exceeding their line limit.
|
|
21
21
|
- [Inversion opportunities](docs/detectors/inversion-opportunities.md), nested conditionals that could be guard clauses.
|
|
22
|
-
- [Primitive obsession](docs/detectors/primitive-obsession.md), strings/numbers standing in for a real type.
|
|
22
|
+
- [Primitive obsession](docs/detectors/primitive-obsession.md), strings/numbers standing in for a real type, and boolean blindness.
|
|
23
23
|
- [Match opportunities](docs/detectors/match-opportunities.md), if/elif chains that could be a match/switch.
|
|
24
24
|
- [Logical operator as control flow](docs/detectors/logical-operator-control-flow.md), an `if` hidden behind `&&`/`||`.
|
|
25
25
|
- [Parse, don't validate](docs/detectors/parse-dont-validate.md), checks whose successful result does not preserve the domain constraint.
|