-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into Specifications
- Loading branch information
Showing
29 changed files
with
756 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
|
||
properties: | ||
resources: | ||
######################################################################## | ||
# Section: Install Git | ||
######################################################################## | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: install-git | ||
directives: | ||
description: Install Git # Although the user probably already has git installed, it's possible that they don't | ||
allowPrerelease: true | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
Ensure: Present | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
dependsOn: | ||
- install-git | ||
id: install-github-cli | ||
directives: | ||
description: Install GitHub CLI | ||
allowPrerelease: true | ||
securityContext: elevated | ||
settings: | ||
id: GitHub.cli | ||
source: winget | ||
Ensure: Present | ||
######################################################################## | ||
# Section: Configure Git Remotes | ||
######################################################################## | ||
- resource: GitDSC/GitRemote | ||
id: add-microsoft-upstream | ||
directives: | ||
description: Add microsoft/winget-dsc as the upstream remote | ||
allowPrerelease: true | ||
settings: | ||
ProjectDirectory: '${WinGetConfigRoot}\..' | ||
RemoteName: upstream | ||
RemoteUrl: https://github.com/microsoft/winget-pkgs.git | ||
######################################################################## | ||
# Section: Install VS-Code | ||
######################################################################## | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: install-vs-code | ||
directives: | ||
description: Install Microsoft Visual Studio Code | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudioCode | ||
source: winget | ||
Ensure: Present | ||
- resource: Microsoft.VSCode.Dsc/VSCodeExtension | ||
id: install_vscode-yaml | ||
dependsOn: | ||
- install-vs-code | ||
directives: | ||
description: Install YAML extension for VSCode | ||
allowPrerelease: true | ||
settings: | ||
Name: redhat.vscode-yaml | ||
Exist: true | ||
- resource: Microsoft.VSCode.Dsc/VSCodeExtension | ||
id: install_editorconfig.editorconfig | ||
dependsOn: | ||
- install-vs-code | ||
directives: | ||
description: Install EditorConfig extension for VSCode | ||
allowPrerelease: true | ||
settings: | ||
Name: EditorConfig.EditorConfig | ||
Exist: true | ||
- resource: Microsoft.VSCode.Dsc/VSCodeExtension | ||
id: install_ms-vscode.powershell | ||
dependsOn: | ||
- install-vs-code | ||
directives: | ||
description: Install PowerShell extension for VSCode | ||
allowPrerelease: true | ||
settings: | ||
Name: ms-vscode.powershell | ||
Exist: true | ||
######################################################################## | ||
# Section: Install PowerShell Modules | ||
######################################################################## | ||
- resource: PowerShellModule/PSModuleResource | ||
id: install-pester | ||
directives: | ||
description: Install Pester module | ||
allowPrerelease: true | ||
settings: | ||
Module_Name: Pester | ||
Ensure: Present | ||
- resource: PowerShellModule/PSModuleResource | ||
id: install-psscriptanalyzer | ||
directives: | ||
description: Install PSScriptAnalyzer module | ||
allowPrerelease: true | ||
settings: | ||
Module_Name: PSScriptAnalyzer | ||
Ensure: Present | ||
configurationVersion: 0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
wildcards | ||
ssh | ||
AKV | ||
Amd | ||
usr | ||
screenshots | ||
Authenticode | ||
automerge | ||
currentstate | ||
esrp | ||
gtm | ||
msft | ||
NPH | ||
Peet | ||
rfc | ||
screenshots | ||
Scrollbars | ||
Searchbox | ||
VGpu | ||
versioning | ||
worktree | ||
SFP | ||
Signtool | ||
sortby | ||
msft | ||
automerge | ||
ssh | ||
usr | ||
versioning | ||
VGpu | ||
pnp | ||
RTX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ vscode | |
Linux | ||
dotnet | ||
dotnettool | ||
cspell | ||
NUnit | ||
reportgenerator | ||
Toolpackage | ||
markdownlint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Markdown Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
tags-ignore: | ||
- '**' | ||
pull_request_target: | ||
branches: | ||
- '**' | ||
tags-ignore: | ||
- '**' | ||
types: | ||
- 'opened' | ||
- 'reopened' | ||
- 'synchronize' | ||
|
||
jobs: | ||
lint: | ||
name: Check Markdown linting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: tj-actions/changed-files@v45 | ||
id: changed-files | ||
with: | ||
files: '**/*.md' | ||
- uses: DavidAnson/markdownlint-cli2-action@v17 | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
with: | ||
globs: ${{ steps.changed-files.outputs.all_changed_files }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
globs: | ||
- "**/*.md" | ||
|
||
noProgress: true | ||
|
||
# Show found files on stdout (only valid at root) | ||
showFound: true | ||
|
||
ignores: | ||
- "PRIVACY.md" | ||
- ".github/*.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Default state for all rules | ||
default: true | ||
|
||
# Path to configuration file to extend | ||
extends: null | ||
|
||
MD007: | ||
# Spaces for indent | ||
indent: 4 | ||
# Whether to indent the first level of the list | ||
start_indented: false | ||
# Spaces for first level indent (when start_indented is set) | ||
start_indent: 2 | ||
|
||
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md | ||
MD013: | ||
# Number of characters | ||
line_length: 500 | ||
# Number of characters for headings | ||
heading_line_length: 120 | ||
# Number of characters for code blocks | ||
code_block_line_length: 500 | ||
# Include code blocks | ||
code_blocks: true | ||
# Include tables | ||
tables: true | ||
# Include headings | ||
headings: true | ||
# Strict length checking | ||
strict: false | ||
# Stern length checking | ||
stern: false | ||
|
||
# MD025/single-title : Help examples contain metadata | ||
MD025: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"redhat.vscode-yaml", | ||
"EditorConfig.EditorConfig" | ||
"EditorConfig.EditorConfig", | ||
"ms-vscode.powershell", | ||
"davidanson.vscode-markdownlint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.