energy-state-analyzer 0.16.0 → 0.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.
package/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ # Keep repository text files LF everywhere, including Windows checkouts and devcontainers.
2
+ * text=auto eol=lf
package/.vscodeignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .vscode/**
2
+ .devcontainer/**
2
3
  .vscode-test/**
3
4
  out/**
4
5
  node_modules/**
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- last_commit_released: 0da9a473c2dafc34fc94df424a3bca7015855b33
2
+ last_commit_released: d3b62b03378b0ef2e9b31391515866e9c0a602d9
3
3
  name: energy-state-analyzer
4
4
  updaters:
5
5
  - command: npm version {version} --no-git-tag-version --allow-same-version
@@ -11,6 +11,14 @@ All notable changes to the "energy-state-analyzer" extension are generated by
11
11
  [EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
12
12
  [Conventional Commits](https://www.conventionalcommits.org/).
13
13
 
14
+ ## 0.17.0 - 2026-09-13
15
+
16
+ ### 🚀 Features
17
+
18
+ * Detect discarded validation guarantees (#128) ([d3b62b0](https://github.com/cardamomcode/energy-state-analyzer/commit/d3b62b03378b0ef2e9b31391515866e9c0a602d9))
19
+
20
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/0da9a473c2dafc34fc94df424a3bca7015855b33..d3b62b03378b0ef2e9b31391515866e9c0a602d9)</small></strong>
21
+
14
22
  ## 0.16.0 - 2026-09-11
15
23
 
16
24
  ### 🚀 Features
package/README.md CHANGED
@@ -20,6 +20,7 @@ Real-time analysis of the active Python, F#, TypeScript, Kotlin, C++, or C# file
20
20
  - [Primitive obsession](docs/detectors/primitive-obsession.md), strings/numbers standing in for a real type.
21
21
  - [Match opportunities](docs/detectors/match-opportunities.md), if/elif chains that could be a match/switch.
22
22
  - [Logical operator as control flow](docs/detectors/logical-operator-control-flow.md), an `if` hidden behind `&&`/`||`.
23
+ - [Parse, don't validate](docs/detectors/parse-dont-validate.md), checks whose successful result does not preserve the domain constraint.
23
24
  - [Opaque boolean literal](docs/detectors/opaque-boolean-literal.md), an unlabeled `true`/`false` at a call site.
24
25
 
25
26
  Violations are shown three ways:
@@ -80,6 +81,7 @@ Every detector has an `enabled` toggle, plus the magic-number/string switches an
80
81
  - `energyStateAnalyzer.matchOpportunity.enabled` (`true`)
81
82
  - `energyStateAnalyzer.parameterCount.enabled` (`true`)
82
83
  - `energyStateAnalyzer.primitiveObsession.enabled` (`true`)
84
+ - `energyStateAnalyzer.parseDontValidate.enabled` (`true`)
83
85
  - `energyStateAnalyzer.opaqueBoolean.enabled` (`true`)
84
86
  - `energyStateAnalyzer.logicalControlFlow.enabled` (`true`)
85
87
  - `energyStateAnalyzer.inversion.enabled` (`true`)