• 日本語
  • ルール一覧

    すべてのルールは GritQL で記述され、Biome プラグインとして読み込まれます。 各ルールファイルは独立しているため、必要なものだけを選んで使用できます。

    利用可能なルール

    ルール重大度検出内容
    enforce-attribute-orderwarnJSX 属性のグループ順序違反を検出
    enforce-pure-srcerrorsrc/ 内への Storybook / デモ用インポートを禁止
    no-null-typewarn型アノテーションでの | null を検出
    prefer-union-over-enumerrorenum および const enum を禁止
    vue-multi-word-filenameerrorVue ファイル名が複数ワード PascalCase でない場合を検出

    ルールファイルの場所

    ルールはパッケージルートの grit/ ディレクトリに配置されています。 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