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:
parent
6e1fdb9ea1
commit
91c0e9b2fb
1 changed files with 5 additions and 1 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
|
@ -3,5 +3,9 @@
|
|||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.eol": "\n"
|
||||
"files.eol": "\n",
|
||||
|
||||
"[diff]": {
|
||||
"files.trimTrailingWhitespace": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue