25 lines
681 B
Markdown
25 lines
681 B
Markdown
# CRUSH.md
|
|
|
|
## Commands
|
|
- **Build**:
|
|
> angrybeanie-cms@0.2.0 build
|
|
> strapi build
|
|
|
|
|
|
[INFO] Including the following ENV variables as part of the JS bundle:
|
|
- ADMIN_PATH
|
|
- STRAPI_ADMIN_BACKEND_URL
|
|
- STRAPI_TELEMETRY_DISABLED
|
|
- **Lint**: (ESLint + Prettier)
|
|
- **Test**: (Jest)
|
|
- **Single Test**:
|
|
|
|
## Style Guidelines
|
|
- **Imports**: Use relative paths, group by type
|
|
- **Formatting**: Prettier (via .editorconfig)
|
|
- **Types**: Strict mode, prefer function over var
|
|
- **Naming**: snake_case for vars, PascalCase for classes
|
|
- **Errors**: Use try/catch, include error messages
|
|
|
|
## Rules
|
|
- Check .cursor/rules/ and .github/copilot-instructions.md for Cursor/Copilot rules
|