Linting: show a soft warning if variables are overridden with default value · Issue #219 · featurevisor/featurevisor · GitHub
Skip to content

Linting: show a soft warning if variables are overridden with default value #219

Open

Description

@fahad19

Currently

Variables always fall back to their default value, and do not need overriding if that's the value you desire for e.g. at rule level.

Proposal

Throw a soft warning (without exiting with an error code) when running $ featurevisor lint if variables are overridden with their same default value, because it is redundant.

Where?

https://github.com/featurevisor/featurevisor/tree/main/packages/core/src/linter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions