{
  "name": "AR智能巡检平台",
  "description": "基于 Spring Boot 3.5.7 + Vue 3 + TypeScript 的 AR 智能巡检管理系统",
  "permissions": {
    "allow": [
      "Bash(mvn clean package:*)",
      "Bash(mvn clean install:*)",
      "Bash(mvn spring-boot\\:run:*)",
      "Bash(mvn test:*)",
      "Bash(npm install:*)",
      "Bash(npm run dev:*)",
      "Bash(npm run build\\:*)",
      "Bash(npm run lint\\:*)",
      "Bash(git status:*)",
      "Bash(git diff:*)",
      "Bash(git log:*)"
    ],
    "deny": [
      "Bash(rm -rf:*)",
      "Bash(mvn clean:* -Pprod)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git commit:*)",
      "Bash(mvn deploy:*)"
    ]
  },
  "rules": {
    "codeStyle": {
      "java": {
        "indent": 4,
        "lineLength": 120,
        "naming": {
          "class": "PascalCase",
          "method": "camelCase",
          "constant": "UPPER_SNAKE_CASE"
        }
      },
      "typescript": {
        "indent": 2,
        "lineLength": 100,
        "quotes": "single"
      }
    },
    "patterns": {
      "backend": {
        "controller": "ruoyi-modules/*/src/main/java/**/controller/*.java",
        "service": "ruoyi-modules/*/src/main/java/**/service/**/*.java",
        "mapper": "ruoyi-modules/*/src/main/java/**/mapper/*.java",
        "domain": "ruoyi-modules/*/src/main/java/**/domain/*.java"
      },
      "frontend": {
        "views": "plus-ui/src/views/**/*.vue",
        "components": "plus-ui/src/components/**/*.vue",
        "api": "plus-ui/src/api/**/*.ts",
        "store": "plus-ui/src/store/**/*.ts"
      }
    }
  }
}
