• 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-attribute-orderwarnJSX attributes must follow group order
    enforce-pure-srcerrorNo Storybook / demo imports inside src/
    no-null-typewarn| null in type annotation positions
    prefer-union-over-enumerrorenum and const enum are forbidden
    vue-multi-word-filenameerrorVue filenames must be multi-word PascalCase

    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-attribute-order.grit
    node_modules/@logue/biome-plugins/grit/enforce-pure-src.grit
    node_modules/@logue/biome-plugins/grit/no-null-type.grit
    node_modules/@logue/biome-plugins/grit/prefer-union-over-enum.grit
    node_modules/@logue/biome-plugins/grit/vue-multi-word-filename.grit