From 914fdfd3b342d5f40a92bdf61104bb7910bfacac Mon Sep 17 00:00:00 2001 From: naaajii Date: Sun, 2 Feb 2025 00:10:34 +0500 Subject: [PATCH] docs: add commit input validation in vscode settings previously vscode used to warn about commit lines when they exceed certain characters but this was changed to be off by default, lets explicitly add this to vscode settings so it aligns with our contributing docment that no line should 100 characters --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index bb6d2cb7f71c..6dd174b51c8e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -24,5 +24,8 @@ "editor.rulers": [100], "bazel.buildifierExecutable": "node_modules/.bin/buildifier", "bazel.buildifierFixOnFormat": true, - "bazel.executable": "node_modules/.bin/bazel" + "bazel.executable": "node_modules/.bin/bazel", + "git.inputValidation": true, + "git.inputValidationSubjectLength": 100, + "git.inputValidationLength": 100 }