From 62ddc42f55b24bb02701e88482e74fa7db37316c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20H=C3=A9zser?= Date: Mon, 3 Jun 2024 13:52:18 +0200 Subject: [PATCH] fix: Sets line ending to LF (#2182) ## Description Static validation will fail with multi-line comments in bicep files, if the bicep file is saved with CRLF. Closes #2181 ## Type of Change - [x] Update to CI Environment or utlities (Non-module effecting changes) - [ ] Azure Verified Module updates: - [ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [x] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation ## Checklist - [x] I'm sure there are no other open Pull Requests for the same update/change - [ ] I have run `Set-AVMModule` locally to generate the supporting module files. - [ ] My corresponding pipelines / checks run clean and green without any errors or warnings --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index cac3967c25..5335a6957e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,7 @@ "editor.formatOnSave": true, "files.trimTrailingWhitespace": true, "files.autoSave": "onFocusChange", + "files.eol": "\n", "git.autofetch": true, "githubPullRequests.pullBranch": "always", "powershell.codeFormatting.autoCorrectAliases": true, @@ -27,4 +28,4 @@ "files.encoding": "utf8bom", "files.insertFinalNewline": true } -} \ No newline at end of file +}