Skip to content

Commit

Permalink
Editor settings and bicep check
Browse files Browse the repository at this point in the history
  • Loading branch information
rohancragg committed Jul 7, 2023
1 parent 79582c2 commit 2c3b48b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,14 @@
"files.associations": {
"**/.pipelines/**/*.yaml": "azure-pipelines"
},
"yaml.format.singleQuote": true,
"files.insertFinalNewline": true,
"editor.insertSpaces": true,
"[json]": {
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"files.insertFinalNewline": true
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"[powershell]": {
"editor.formatOnSave": false,
"editor.tabSize": 4
},
"[jsonc]": {
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"files.insertFinalNewline": true
},
"[markdown]": {
"editor.detectIndentation": false,
"editor.tabSize": 2,
"files.insertFinalNewline": true
}
}
6 changes: 6 additions & 0 deletions ps-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ configuration:
# Enable automatic expansion of Bicep parameter files.
AZURE_BICEP_PARAMS_FILE_EXPANSION: true

# Enable Bicep CLI checks.
AZURE_BICEP_CHECK_TOOL: true

# Configure the minimum version of the Bicep CLI.
AZURE_BICEP_MINIMUM_VERSION: '0.18.4'

input:
pathIgnore:
# Ignore other files in the repository.
Expand Down

0 comments on commit 2c3b48b

Please sign in to comment.