-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cursorrules
63 lines (47 loc) · 1.22 KB
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Project-specific rules for AI assistance
# We're using Yarn, TypeScript, and a functional, modular style
# Package manager
use_yarn: true
# Language and style
language: typescript
coding_style: functional
architecture: modular
# TypeScript-specific rules
prefer_const: true
use_strict_null_checks: true
use_interfaces_over_types: true
# Naming conventions
use_camelCase_for_variables: true
use_PascalCase_for_types_and_interfaces: true
use_UPPER_CASE_for_constants: true
# Code organization
prefer_named_exports: true
group_imports: true
# Testing
testing_framework: jest
write_unit_tests: true
# Documentation
use_jsdoc_comments: true
document_public_apis: true
# Error handling
use_try_catch: true
prefer_async_await: true
# Formatting
max_line_length: 100
use_semicolons: true
indent_size: 2
quote_style: single
# Libraries and frameworks
preferred_ui_framework: react
preferred_state_management: redux
# Performance
avoid_any: true
use_memoization: true
# Accessibility
ensure_a11y_compliance: true
# Version control
use_conventional_commits: true
# Code quality
run_linter: true
linter: eslint
# Remember, this is a monorepo project with packages for AI agents, backend, frontend, and shared code. Keep it clean and modular!