BIND008: disabled-binding
Binding disabled with enabled: false
| Code | BIND008 |
| Name | disabled-binding |
| Category | Bindings and expressions (BIND) |
| Default severity | info |
| Enabled by default | yes |
| Fix available | no |
| ign-lint equivalent | none |
What it does
Section titled “What it does”Reports bindings that are switched off with "enabled": false.
Why is this bad?
Section titled “Why is this bad?”A disabled binding does nothing at run time, but the property still shows the value the Designer cached when it last ran. Readers of the view assume the value is live. Remove the binding, or enable it.
Example
Section titled “Example”{"binding": {"type": "expr", "enabled": false, "config": {"expression": "now(1000)"}}}Use instead: delete the binding, or remove "enabled": false.
Generated from the rule metadata by iglint generate-docs; iglint rule BIND008 prints the same page in the terminal. Source: docs/rules/BIND008.md.