Some checks are pending
Telegram Mini App Shop Builder / Compute version metadata (push) Waiting to run
Telegram Mini App Shop Builder / Run Frontend tests (push) Waiting to run
Telegram Mini App Shop Builder / Run Backend tests (push) Waiting to run
Telegram Mini App Shop Builder / Run PHP_CodeSniffer (push) Waiting to run
Telegram Mini App Shop Builder / Build module. (push) Blocked by required conditions
Telegram Mini App Shop Builder / release (push) Blocked by required conditions
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"rules": {
|
|
"preferCompositionAPI": true,
|
|
"strictTypes": true,
|
|
"noHardcodedValues": true,
|
|
"useDependencyInjection": true
|
|
},
|
|
"paths": {
|
|
"acmeshop_module": "module/acmeshop/upload/acmeshop",
|
|
"frontendAdmin": "frontend/admin",
|
|
"telegramShopSpa": "frontend/spa",
|
|
"migrations": "module/acmeshop/upload/acmeshop/database/migrations",
|
|
"acmeshopHandlers": "module/acmeshop/upload/acmeshop/src/Handlers",
|
|
"adminHandlers": "module/acmeshop/upload/acmeshop/bastion/Handlers",
|
|
"models": "module/acmeshop/upload/acmeshop/src/Models",
|
|
"framework": "module/acmeshop/upload/acmeshop/framework"
|
|
},
|
|
"naming": {
|
|
"classes": "PascalCase",
|
|
"methods": "camelCase",
|
|
"variables": "camelCase",
|
|
"constants": "UPPER_SNAKE_CASE",
|
|
"files": "PascalCase for classes, kebab-case for others",
|
|
"tables": "snake_case with acmeshop_ prefix"
|
|
},
|
|
"php": {
|
|
"version": "7.4+",
|
|
"preferVersion": "7.4+",
|
|
"psr12": true
|
|
},
|
|
"javascript": {
|
|
"version": "ES2020+",
|
|
"framework": "Vue 3 Composition API",
|
|
"stateManagement": "Pinia",
|
|
"uiLibrary": "PrimeVue (admin), Tailwind (spa)"
|
|
},
|
|
"database": {
|
|
"queryBuilder": true,
|
|
"migrations": true,
|
|
"tablePrefix": "acmeshop_",
|
|
"noForeignKeys": true
|
|
}
|
|
}
|
|
|