• English
  • Rules

    All rules are written in GritQL and loaded as Biome plugins. Each rule file is independent — load only what you need.

    Available Rules

    RuleSeverityWhat it checks
    enforce-pure-srcerrorNo Storybook / demo imports inside src/
    prefer-union-over-enumerrorenum and const enum are forbidden
    no-null-typewarn| null in type annotation positions

    Rule Locations

    Rules live in the grit/ directory at the root of this package. Import paths for biome.jsonc:

    node_modules/@logue/biome-plugins/grit/enforce-pure-src.grit
    node_modules/@logue/biome-plugins/grit/prefer-union-over-enum.grit
    node_modules/@logue/biome-plugins/grit/no-null-type.grit