Files
Qt_DesktopPet/internal/qa/config/static-checks.json
T

60 lines
1.5 KiB
JSON

{
"schemaVersion": 1,
"productionSourceRoots": [
"src"
],
"productionExtensions": [
".h",
".cpp"
],
"productionCmakeFile": "CMakeLists.txt",
"qaCmakeFile": "internal/qa/CMakeLists.txt",
"qaTestRoots": [
"internal/qa/tests"
],
"activeScanPaths": [
"CMakeLists.txt",
"main.cpp",
"src"
],
"forbiddenReferences": [
{
"name": "removed module paths",
"pattern": "src[\\\\/](?:fileops|launcher|workspace|search)[\\\\/]"
},
{
"name": "removed module types",
"pattern": "\\b(?:FileOperationManager|FileSandbox|AppLaunchManager|AppDiscovery|WorkspaceController|WorkspaceAgent|WorkspaceAgentWindow|WorkspacePanel|GlobalHotkeyManager|WebSearchManager|SearchAnswerSynthesizer)\\b"
},
{
"name": "removed intent actions",
"pattern": "\\b(?:UserIntentType|CommandDispatchAction)::(?:FileOperation|LaunchApp|Workspace|Search|UnsupportedTool)\\b"
}
],
"forbidQObjectMacro": true,
"requiredPaths": [
"README.md",
"LICENSE",
"installer/QtDesktopPet.iss",
"resources/characters/shiroko/character.json",
"resources/characters/shiroko/preview.png",
"resources/icons/app_icon.ico",
"resources/sounds/reminders/reminder_default.wav",
"tools/package_release.ps1",
"tools/prepare_github_export.ps1"
],
"publicExportExcludedRoots": [
"docs",
"internal",
"reports"
],
"releaseIsolationFiles": [
"CMakeLists.txt",
"tools/package_release.ps1"
],
"releaseForbiddenPatterns": [
"internal/qa",
"internal\\\\qa"
]
}