mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 02:37:22 +04:00
editor: vscode: do not trim diff file trailing whitespace
This rule will break the patch structure.
Fixes: af75e1c527 ("vscode: update editor formatting and line endings settings")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24411
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
1 parent
6e1fdb9ea1
commit
91c0e9b2fb
1 file changed
+5
-1
Vendored
+5
-1
@@ -3,5 +3,9 @@
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.eol": "\n"
|
||||
"files.eol": "\n",
|
||||
|
||||
"[diff]": {
|
||||
"files.trimTrailingWhitespace": false
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user