Skip to content

armgit / kiln

Public Imported from GitHub
0

Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.

4.8 KB
Raw Blame
{
  "$schema": "https://biomejs.dev/schemas/2.6.4/schema.json",
  "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
  "files": {
    "includes": [
      "src/**/*.ts",
      "site/src/**/*.{ts,tsx}",
      "site/*.ts",
      "scripts/**/*.mjs",
      "scripts/**/*.ts",
      "render-service/src/**/*.mjs",
      "render-service/test/**/*.mjs"
    ],
    "maxSize": 4194304
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineWidth": 100
  },
  "javascript": {
    "formatter": {
      "quoteStyle": "single",
      "semicolons": "always",
      "trailingCommas": "all"
    }
  },
  "linter": {
    "enabled": true,
    "rules": {
      "preset": "recommended",
      "style": { "noNonNullAssertion": "off", "useTemplate": "error" },
      "complexity": {
        "useLiteralKeys": "off",
        "useOptionalChain": "error",
        "noExcessiveCognitiveComplexity": {
          "level": "error",
          "options": { "maxAllowedComplexity": 100 }
        }
      },
      "correctness": { "noUnusedImports": "error" },
      "suspicious": {
        "noApproximativeNumericConstant": "error",
        "noExplicitAny": "error",
        "noGlobalIsFinite": "error",
        "useIterableCallbackReturn": "error"
      }
    }
  },
  "assist": { "enabled": false },
  "overrides": [
    {
      "includes": ["src/asset-cli.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 255 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/qa/requirements-run.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 255 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/qa/atlas.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 232 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/views/glb.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 182 }
            }
          }
        }
      }
    },
    {
      "includes": ["scripts/workspace-project.mjs"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 168 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/assembly.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 159 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/ops.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 122 }
            }
          }
        }
      }
    },
    {
      "includes": ["scripts/create-workspace.mjs"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 116 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/geometry-export.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 112 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/simplify.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 109 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/delivery-inspect.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 105 }
            }
          }
        }
      }
    },
    {
      "includes": ["src/render.ts"],
      "linter": {
        "rules": {
          "complexity": {
            "noExcessiveCognitiveComplexity": {
              "level": "error",
              "options": { "maxAllowedComplexity": 104 }
            }
          }
        }
      }
    }
  ]
}