Skip to content

introduce lix validation rules #239

@samuelstroschein

Description

@samuelstroschein

Context

We built validation rules (formerly called lint rules) in inlang, which are extremely helpful. With lix gaining an understanding of changes, which are the trigger for validation rules, we can build a generalized validation rule system in lix.

The formerly called lint rule feature has been removed in the inlang SDK v2 as part of the lix rewrite. Upvote this issue to enable the introduction of validation rules in inlang.

Understanding.Linting.in.SDK.Updates.mp4

Proposal

Introduce a validation rule API in lix.

Potential requirements

  • generalizable e.g. works for any change (inlang, csv, markdown)
  • fixable
  • different levels (error, warning, info, etc., best if user can define them)

Upvote the issue to express interest 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions