Prechádzať zdrojové kódy

Documentation: Improve VS Code settings

  - Set commit message length to 72 according to CONTRIBUTING.md
  - Format trailing new lines according to check-newlines-at-eof.py
dotjpg3141 3 rokov pred
rodič
commit
24a98b888a
1 zmenil súbory, kde vykonal 7 pridanie a 1 odobranie
  1. 7 1
      Documentation/VSCodeConfiguration.md

+ 7 - 1
Documentation/VSCodeConfiguration.md

@@ -125,7 +125,13 @@ These belong in the `.vscode/settings.json` of Serenity.
     "C_Cpp.clang_format_style": "file",
     // Tab settings
     "editor.tabSize": 4,
-    "editor.useTabStops": false
+    "editor.useTabStops": false,
+    // format trailing new lines
+    "files.trimFinalNewlines": true,
+    "files.insertFinalNewline": true,
+    // git commit message length
+    "git.inputValidationLength": 72,
+    "git.inputValidationSubjectLength": 72
 }
 ```