Skip to content

Commit a295c47

Browse files
committed
s/master/main
1 parent 534ead7 commit a295c47

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

DevSkim-DotNet/Microsoft.DevSkim.CLI/Writers/SarifWriter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private void AddRuleToSarifRule(Rule devskimRule)
9191
sarifRule.Id = devskimRule.Id;
9292
sarifRule.Name = devskimRule.Name;
9393
sarifRule.FullDescription = devskimRule.Description;
94-
sarifRule.HelpUri = new Uri("https://github.com/Microsoft/DevSkim/blob/master/guidance/" + devskimRule.RuleInfo);
94+
sarifRule.HelpUri = new Uri("https://github.com/Microsoft/DevSkim/blob/main/guidance/" + devskimRule.RuleInfo);
9595

9696
switch (devskimRule.Severity)
9797
{

DevSkim-DotNet/Microsoft.DevSkim.Tests/rules/invalid/invalid_todo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"severity": "ERROR",
99
"description": "A \"TODO\" or similar was left in source code, possibly indicating incomplete functionality",
1010
"replacement": "",
11-
"rule_info": "https://github.com/Microsoft/DevSkim/blob/master/guidance/DS176209.md",
11+
"rule_info": "https://github.com/Microsoft/DevSkim/blob/main/guidance/DS176209.md",
1212
"patterns": [
1313
{
1414
"pattern": "(TODO|FIXME|REMOVEME|HACK|BLACK MAGIC)",

DevSkim-DotNet/Microsoft.DevSkim.VSExtension/Tagging/DevSkimToolTip.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public DevSkimToolTip(Rule rule)
4141
this.Url.NavigateUri = new Uri(url_preffix + rule.RuleInfo);
4242
}
4343

44-
private const string url_preffix = "https://github.com/Microsoft/DevSkim/blob/master/guidance/";
44+
private const string url_preffix = "https://github.com/Microsoft/DevSkim/blob/main/guidance/";
4545
private Rule _rule;
4646

4747
private void Url_RequestNavigate(object sender, RequestNavigateEventArgs e)

DevSkim-VSCode-Plugin/client/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Fixed analysis exception that would trigger on certain workspace changes
2626

2727
## Version 0.1.3
28-
* Added setting devskim.ignoreFiles to exclude specific files and directories from analysis. The defaults are to ignore "out/\*","bin/\*", "node_modules/\*", ".vscode/\*","yarn.lock", "logs/\*", "\*.log" however the defaults can be overridden in the usersettings. If there are other files that you think should be in the defaults please either open an issue on our github repo or edit [package.json](https://github.com/Microsoft/DevSkim-VSCode-Plugin/blob/master/client/package.json) and submit a PR
28+
* Added setting devskim.ignoreFiles to exclude specific files and directories from analysis. The defaults are to ignore "out/\*","bin/\*", "node_modules/\*", ".vscode/\*","yarn.lock", "logs/\*", "\*.log" however the defaults can be overridden in the usersettings. If there are other files that you think should be in the defaults please either open an issue on our github repo or edit [package.json](https://github.com/Microsoft/DevSkim-VSCode-Plugin/blob/main/client/package.json) and submit a PR
2929
* Added setting devskim.ignoreRulesList to allow the user to disable the processing of certain rules. If a rule is being disabled because it is incorrectly flagging problems, please also open an issue on our Github repo so we can try and tune the rule better. If you ran into problems other people are likely also hitting issues
3030
* new rule to detect plaintext HTTP usage and prompt for HTTPS
3131

DevSkim-VSCode-Plugin/client/src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function getDevSkimConfiguration(section='devskim' ): DevSkimSettings {
119119
settings.enableInformationalSeverityRules = vscode.workspace.getConfiguration(section).get('enableInformationalSeverityRules', false);
120120
settings.enableLowSeverityRules = vscode.workspace.getConfiguration(section).get('enableLowSeverityRules', false);
121121
settings.enableManualReviewRules = vscode.workspace.getConfiguration(section).get('enableManualReviewRules', false);
122-
settings.guidanceBaseURL = vscode.workspace.getConfiguration(section).get('guidanceBaseURL', "https://github.com/Microsoft/DevSkim/blob/master/guidance/");
122+
settings.guidanceBaseURL = vscode.workspace.getConfiguration(section).get('guidanceBaseURL', "https://github.com/Microsoft/DevSkim/blob/main/guidance/");
123123
settings.ignoreFiles = vscode.workspace.getConfiguration(section).get('ignoreFiles',
124124
[ "out/*", "bin/*", "node_modules/*", ".vscode/*", "yarn.lock", "logs/*", "*.log", "*.git" ]);
125125
settings.ignoreRulesList = vscode.workspace.getConfiguration(section).get('ignoreRulesList', []);

DevSkim-VSCode-Plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
},
126126
"devskim.guidanceBaseURL": {
127127
"type": "string",
128-
"default": "https://github.com/Microsoft/DevSkim/blob/master/guidance/",
128+
"default": "https://github.com/Microsoft/DevSkim/blob/main/guidance/",
129129
"description": "Each finding has a guidance file that describes the issue and solutions in more detail. By default, those files live on the DevSkim github repo however, with this setting, organizations can clone and customize that repo, and specify their own base URL for the guidance."
130130
},
131131
"devskim.ignoreFiles": {

DevSkim-VSCode-Plugin/server/src/__mocks__/devskimWorkerSettings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class DevSkimWorkerSettings {
2222
"enableInformationalSeverityRules": false,
2323
"enableLowSeverityRules": false,
2424
"enableManualReviewRules": true,
25-
"guidanceBaseURL": "https://github.com/Microsoft/DevSkim/blob/master/guidance/",
25+
"guidanceBaseURL": "https://github.com/Microsoft/DevSkim/blob/main/guidance/",
2626
"ignoreFiles":
2727
[
2828
"out/*", "bin/*", "node_modules/*", ".vscode/*", "yarn.lock",

DevSkim-VSCode-Plugin/server/src/devskimWorkerSettings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class DevSkimWorkerSettings
113113
return {
114114
enableBestPracticeRules: false,
115115
enableManualReviewRules: false,
116-
guidanceBaseURL: "https://github.com/Microsoft/DevSkim/blob/master/guidance/",
116+
guidanceBaseURL: "https://github.com/Microsoft/DevSkim/blob/main/guidance/",
117117
ignoreFiles: [
118118
"\\.(exe|dll|so|dylib|bin|so\\..*)$",
119119
"\\.(png|jpg|jpeg|gif|psd|ico|mp3|mpeg|bmp)$",

SUPPORT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before opening an issue.
1010

1111
## Security Issues
1212

13-
If you discover a security vulnerability in this project, please see [SECURITY.md](https://github.com/microsoft/DevSkim/blob/master/SECURITY.md) for information on how to report it privately.
13+
If you discover a security vulnerability in this project, please see [SECURITY.md](https://github.com/microsoft/DevSkim/blob/main/SECURITY.md) for information on how to report it privately.
1414

1515
## Microsoft Support Policy
1616

0 commit comments

Comments
 (0)