We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 434df8e commit 85a4853Copy full SHA for 85a4853
1 file changed
src/config-utils.ts
@@ -1509,6 +1509,13 @@ export function appendExtraQueryExclusions(
1509
return augmentedConfig;
1510
}
1511
1512
+/**
1513
+ * Returns `true` if Code Scanning analysis is enabled, or `false` if not.
1514
+ */
1515
+export function isCodeScanningEnabled(config: Config): boolean {
1516
+ return config.analysisKinds.includes(AnalysisKind.CodeScanning);
1517
+}
1518
+
1519
/**
1520
* Returns `true` if Code Quality analysis is enabled, or `false` if not.
1521
*/
0 commit comments