Skip to content

introduce lix validation rules #239

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 👍

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions