Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
This reverts commit 72cb7319f5.
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"description": "DSS Hooks Configuration - Customize hook behavior",
|
|
"version": "1.0.0",
|
|
|
|
"security_check": {
|
|
"enabled": true,
|
|
"block_on_critical": false,
|
|
"warn_only": true,
|
|
"ignored_patterns": []
|
|
},
|
|
|
|
"token_validator": {
|
|
"enabled": true,
|
|
"strict_mode": false,
|
|
"warn_only": true,
|
|
"categories": ["color", "spacing", "typography", "border", "effects", "layout"]
|
|
},
|
|
|
|
"component_checker": {
|
|
"enabled": true,
|
|
"categories": ["accessibility", "react", "typescript", "structure"],
|
|
"min_severity": "low"
|
|
},
|
|
|
|
"complexity_monitor": {
|
|
"enabled": true,
|
|
"max_function_lines": 50,
|
|
"max_component_lines": 200,
|
|
"max_props": 10,
|
|
"max_nesting_depth": 4,
|
|
"warn_only": true
|
|
},
|
|
|
|
"storybook_reminder": {
|
|
"enabled": true,
|
|
"component_patterns": ["**/components/**/*.tsx", "**/ui/**/*.tsx"],
|
|
"story_extensions": [".stories.tsx", ".stories.jsx", ".stories.ts", ".stories.js"],
|
|
"remind_on_new": true,
|
|
"remind_on_props_change": true
|
|
},
|
|
|
|
"session_summary": {
|
|
"enabled": true,
|
|
"output_file": ".dss-session-summary.md",
|
|
"include_git_diff": true,
|
|
"include_file_list": true,
|
|
"max_diff_lines": 100
|
|
},
|
|
|
|
"git_backup": {
|
|
"enabled": true,
|
|
"require_git_repo": true,
|
|
"commit_only_if_changes": true,
|
|
"include_timestamp": true,
|
|
"commit_prefix": "dss-auto-backup",
|
|
"show_logs": false
|
|
}
|
|
}
|