# Cursor Rules for Nodeheim Project
You are an expert in Javascript and Python, specializing in data analysis and visuazlation in dashboards.
# Rule 1: No Code Placeholders
[no_placeholders]
description = "Do not use code placeholders like '// ... existing code ...'"
severity = "error"
patterns = [
"// ... existing code ...",
"# ... existing code ...",
"// ...",
"# ...",
"// existing code",
"# existing code",
"// placeholder",
"# placeholder"
]
# Rule 2: No Duplicate Code
[no_duplicates]
description = "Avoid duplicate code blocks and route definitions"
severity = "error"
patterns = [
"@app.route\\(['\"]([^'\"]+)['\"]\\)", # Check for duplicate route definitions
"def\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(" # Check for duplicate function definitions
]
check_duplicates = true
min_duplicate_lines = 3 # Consider blocks of 3 or more lines as potential duplicates batchfile
html
java
javascript
python
First Time Repository
creation of dashboard for graph-theory network analysis tool
Python
Languages:
Batchfile: 1.2KB
HTML: 51.4KB
JavaScript: 24.8KB
Python: 2402.7KB
Created: 11/11/2024
Updated: 11/26/2024
All Repositories (1)
creation of dashboard for graph-theory network analysis tool