From: Josef Schlehofer Date: Fri, 9 Jan 2026 14:05:45 +0000 (+0100) Subject: vscode: update editor settings and commit constraints X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d1acb1cc442329861486e5ee774f8c6a00628350;p=openwrt-packages.git vscode: update editor settings and commit constraints Enable trailing whitespace trimming, insert final newline, and force LF. Configure git input validation to warn if subject exceeds 60 characters or if body lines exceed 75 characters. Signed-off-by: Josef Schlehofer --- diff --git a/.vscode/settings.json b/.vscode/settings.json index 7feba4b7e..dbebacf32 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,10 @@ { - "git.alwaysSignOff": true -} \ No newline at end of file + "git.alwaysSignOff": true, + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.eol": "\n", + "git.inputValidation": true, + "git.inputValidationSubjectLength": 60, + "git.inputValidationLineLength": 75 +}