mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-14 05:37:40 +02:00
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"enabled": {
|
|
"max-file-lines": false,
|
|
"max-folder-items": false,
|
|
"no-nested-imports": false,
|
|
"vulture": false,
|
|
"eslint": false,
|
|
"knip": true,
|
|
"endpoints": false,
|
|
"classes": false
|
|
},
|
|
"rules": {
|
|
"max-file-lines": 250,
|
|
"max-folder-items": 7,
|
|
"vulture-min-confidence": 1,
|
|
"vulture-error-threshold": 1,
|
|
"no-nested-imports": true,
|
|
"endpoint-ignore-routes": ["*/callback", "*/callback/*"]
|
|
},
|
|
"include_extensions": [".py", ".ts", ".tsx", ".js", ".jsx"],
|
|
"exclude": [
|
|
"node_modules",
|
|
".venv",
|
|
"dist",
|
|
"build",
|
|
"__pycache__",
|
|
".git",
|
|
".cursor",
|
|
".vscode",
|
|
"uv-bin",
|
|
"data",
|
|
"public",
|
|
"readme_assets",
|
|
"openswarm_debug.egg-info",
|
|
"frontend/src/assets"
|
|
],
|
|
"exceptions": {
|
|
"max-file-lines": ["openswarm_debug.egg-info/**"],
|
|
"max-folder-items": [
|
|
"frontend",
|
|
"backend"
|
|
],
|
|
"no-nested-imports": ["linter/lint.py"],
|
|
"vulture": [],
|
|
"endpoints": ["backend/apps/health/*"],
|
|
"classes": []
|
|
}
|
|
}
|