From 220b3920bbe37d720fd2966c52c466c0e27fd3e3 Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Tue, 19 Jan 2021 17:21:34 +0100 Subject: [PATCH 1/2] Add configuration for VS Code's Markdownlint extension (#1352) --- .markdownlint.jsonc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .markdownlint.jsonc diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc new file mode 100644 index 0000000000..ecc89ceb36 --- /dev/null +++ b/.markdownlint.jsonc @@ -0,0 +1,9 @@ +/** + * Note: This configuration is used by VS Code's Markdownlint extension and is only included for convenience. + * The original and primary Markdownlint configuration as used in CI is .markdownlint/style.rb. + */ +{ + "default": true, + "MD004": { "style": "dash" }, + "MD013": { "line_length": 120, "code_blocks": false, "tables": false } +} From 5847580a6b1716e2bcf3b914211cead817d51060 Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Wed, 20 Jan 2021 14:11:08 +0100 Subject: [PATCH 2/2] Add Markdownlint to recommended VS Code extensions (#1352) --- .gitignore | 1 + .vscode/extensions.json | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .vscode/extensions.json diff --git a/.gitignore b/.gitignore index c1c9d7eda1..9851a14fe0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # VS Code ignores .vscode/* +!.vscode/extensions.json # Helm chart dependencies deploy/helm/sumologic/charts diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..2d506bbf65 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "davidanson.vscode-markdownlint", + ] +}