How to reproduce?
When defining segments as conditions in feature rules, do not allow same segments to be repeated.
For example, this should not be allowed:
// features/myFeature.yml
# ...
environments:
production:
- key: "1"
segments:
- foo
- bar
- foo # linting should fail here
percentage: 100
Where to update?
Linter code can be found here: https://github.com/featurevisor/featurevisor/tree/main/packages/core/src/linter
The same might be applicable for conditions as well inside Segments.