We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ee250 commit 816eb47Copy full SHA for 816eb47
1 file changed
src/config-utils.ts
@@ -1489,6 +1489,13 @@ export function generateCodeScanningConfig(
1489
return augmentedConfig;
1490
}
1491
1492
+/**
1493
+ * Returns `true` if Code Scanning analysis is enabled, or `false` if not.
1494
+ */
1495
+export function isCodeScanningEnabled(config: Config): boolean {
1496
+ return config.analysisKinds.includes(AnalysisKind.CodeScanning);
1497
+}
1498
+
1499
/**
1500
* Returns `true` if Code Quality analysis is enabled, or `false` if not.
1501
*/
0 commit comments