andermarcebr saas-crm .cursorrules file for Vue

{
  "project": {
    "name": "OrbitChat.io",
    "type": "fullstack",
    "stack": {
      "frontend": "vue",
      "backend": "node",
      "database": "postgresql"
    }
  },
  "rules": {
    "language": "pt-BR",
    "codeStyle": {
      "vue": {
        "template": "composition-api",
        "scriptSetup": true,
        "styleScoped": true
      },
      "javascript": {
        "semi": true,
        "quotes": "single",
        "trailingComma": "none"
      }
    },
    "conventions": {
      "components": {
        "naming": "PascalCase",
        "structure": [
          "template",
          "script",
          "style"
        ]
      },
      "files": {
        "views": "PascalCase",
        "components": "PascalCase",
        "utils": "camelCase"
      }
    },
    "preferences": {
      "imports": {
        "vue": ["ref", "computed", "onMounted", "watch"],
        "stores": ["useAuthStore"],
        "components": ["Button", "Modal"],
        "utils": ["formatDate", "showToast"]
      },
      "styling": {
        "framework": "tailwindcss",
        "darkMode": true,
        "customClasses": {
          "button": "btn",
          "input": "input",
          "modal": "modal"
        }
      }
    }
  },
  "contextRules": {
    "components": {
      "path": "src/components",
      "subfolders": ["layout", "ui", "chats", "contacts"]
    },
    "views": {
      "path": "src/views",
      "subfolders": ["user", "admin"]
    },
    "stores": {
      "path": "src/stores"
    },
    "i18n": {
      "path": "src/i18n",
      "defaultLocale": "pt-BR"
    }
  }
} 
css
html
java
javascript
makefile
plpgsql
postgresql
shell
+4 more

First Time Repository

Vue

Languages:

CSS: 2.8KB
HTML: 0.4KB
JavaScript: 14.2KB
Makefile: 0.7KB
PLpgSQL: 28.0KB
Shell: 0.3KB
TypeScript: 7.2KB
Vue: 227.1KB
Created: 1/3/2025
Updated: 1/3/2025

All Repositories (1)