You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"title": "Automatically analyze generated code with Codacy Guardrails",
316
+
"description": "This feature ensures that your generated code is analyzed by Codacy Guardrails.",
317
+
"enum": [
318
+
"enabled",
319
+
"disabled"
320
+
],
321
+
"default": "enabled"
322
+
},
323
+
"codacy.guardrails.rulesFile": {
324
+
"type": "string",
325
+
"title": "Generate rules file for the AI Agent",
326
+
"description": "Allow the extension to generate Codacy specific rules for the AI Agent. Disabling this option will impact the user experience of Codacy Guardrails.",
327
+
"enum": [
328
+
"enabled",
329
+
"disabled"
330
+
],
331
+
"default": "enabled"
332
+
},
333
+
"codacy.cli.cliVersion": {
334
+
"type": "string",
335
+
"description": "The version of the Codacy CLI to use",
336
+
"default": "1.0.0-main.251.1952e73"
337
+
},
338
+
"codacy.cli.analysisMode": {
339
+
"type": "string",
340
+
"title": "Local code analysis",
341
+
"description": "This feature allows you to analyze your code locally using the Codacy CLI.",
`use ${provider} for provider, ${organization} for organization and ${name} for repository, and avoid calling 'git remote -v' unless really necessary`,
30
31
],
32
+
scope: 'general',
31
33
})
32
34
}
33
35
34
36
constcommonRules: Rule[]=[
35
37
{
36
38
when: 'after ANY successful edit_file or reapply tool call',
39
+
scope: 'guardrails',
37
40
enforce: [
38
41
'IMMEDIATELY run codacy_cli_analyze tool for each edited file with:',
0 commit comments